-
Notifications
You must be signed in to change notification settings - Fork 130
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Failed to build on Ubuntu-18.04 missing -lffi #1738
Comments
Also there is a simplified/faster way to build on linux (and probably other OSs) using the binary distribution of clan-llvm-13 by adding some conditional macros (only the debugger will not work):
I've added this conditional macros but a better name and test should be found:
|
I noticed that you have done the same mistake I did (unless things have changed). It took me a day or two figure it out. mkdir llvm_project_13_0_1 look at what's in the llvm_build.sh to verify. So try changing _ to - |
under extern things should look like this (following are for v11, I haven't tried v13.0.1 to see if its different):
|
When trying to build on Ubuntu 18.04 64bits I was getting errors trying to link with
libffi
:After looking around I found this changes that allowed me to build:
Obs: I also noticed that several files have trailing spaces in several lines, maybe the IDE editor isn't trimming lines ?
The text was updated successfully, but these errors were encountered: