Open kotak31 opened 1 year ago
@kotak31
Is sudo ./setup.sh
completed without any errors?
Can you share tail of log as well for setup.sh
run?
@kotak31, did you had a chance to try the suggestion above? Are you still having the issue?
Just an FYI - the error means that the libffi
package is either not installed on your system or is not found during compilation. The setup script mentioned above should fix that, or you can install the package on your own.
Subject
[Build] for compilation-related issues.
Describe the bug
frontends/ast/dpicall.cc:25:10: fatal error: ffi.h: No such file or directory 25 | #include
| ^
~~ compilation terminated. make: [Makefile:704: frontends/ast/dpicall.o] Error 1 make: Waiting for unfinished jobs.... make: Leaving directory '/home/kotakosa/Desktop/ResearchVLSI/OpenROAD-flow-scripts/tools/yosys'Expected Behavior
Im trying to install OpenRoad Project local installation scripts as per this https://github.com/The-OpenROAD-Project/OpenROAD-flow-scripts/blob/master/docs/user/BuildLocally.md
I've entered the following command in my terminal - ./build_openroad.sh --local build_openroad.log
It resulted in error as follows. frontends/ast/dpicall.cc:25:10: fatal error: ffi.h: No such file or directory 25 | #include
| ^
~~ compilation terminated. make: [Makefile:704: frontends/ast/dpicall.o] Error 1 make: Waiting for unfinished jobs.... make: Leaving directory '/home/kotakosa/Desktop/ResearchVLSI/OpenROAD-flow-scripts/tools/yosys'Environment
To Reproduce
git clone --recursive https://github.com/The-OpenROAD-Project/OpenROAD-flow-scripts cd OpenROAD-flow-scripts sudo ./setup.sh
./build_openroad.sh --local build_openroad.log
Relevant log output
No response
Screenshots
No response
Additional Context
No response