-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Build fails on Ubuntu 18.04 #16
Comments
You need to add -DFILAMENT_REQUIRES_CXXABI=true on Ubuntu apparently. |
This fixes the issue with manual building. The build.sh script is still broken. Perhaps the readme should be updated to reflect that. |
Would you mind adding set -x at the top of script and copy the logs please? I have no issues with script on multiple machines and OSs and I can't repro :/ |
Sure. Here:
|
Weird, all the commands are correct. I'll investigate, thanks! |
With cmake, using the -B<build_dir> and -H<cmakelist_dir> could be a better pattern than changing directories manually. Just an idea. |
I just committed a change that should address this issue. Would you mind syncing and trying again? Thanks! |
Unfortunately no. Things haven't improved.
Note that I also got another error after pulling
A stackoverflow post talks about this being a Cmake bug and after peeking into /usr/share/cmake-3.10/Modules/CheckIncludeFile.cxx.in, I changed the |
Can you try with |
Here is the CMakeError.log
|
Update:
And the build is going through. Thanks for the help! |
The command used to invoke the build was following:
sudo apt install libglu1-mesa-dev libc++-dev libc++abi-dev ninja-build libxi-dev
env CC=/usr/bin/clang CXX=/usr/bin/clang++ cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=./dist-linux -Bbuild -H.
make -C build -j4
Here is the error:
Same is true whether the build is invoked using ninja or make. For instance, this sequence gives the exact same results:
env CC=/usr/bin/clang CXX=/usr/bin/clang++ cmake -G Ninja -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=./dist-linux -Bbuild -H.
cd build; ninja
Using the easy build altogether fails. (I haven't looked at the script yet)
The text was updated successfully, but these errors were encountered: