I was recently trying to compile the .vhd file with ghdl ghdl -a --ieee=synopsys --work=work Matrix_Data_Structure.vhd
, the following error occurred :
ghdl:error: installation problem: ghdl1-llvm not found
I am running ghdl on the MacOS system, installed with brew
I tried to also install llvm
and add path to zshrc
:
echo 'export PATH="/opt/homebrew/opt/llvm@12/bin:$PATH"' >> ~/.zshrc
echo 'export LDFLAGS="-L/opt/homebrew/opt/llvm@12/lib"' >> ~/.zshrc
echo 'export CPPFLAGS="-I/opt/homebrew/opt/llvm@12/include"' >> ~/.zshrc
as well as uninstall ghdl and reinstall ghdl, the same error message persisted
New contributor
TeinK is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.