Skip to content
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

Cannot build on Ubuntu 18 #4

Open
Youda008 opened this issue Nov 17, 2018 · 1 comment
Open

Cannot build on Ubuntu 18 #4

Youda008 opened this issue Nov 17, 2018 · 1 comment

Comments

@Youda008
Copy link

Youda008 commented Nov 17, 2018

Tried to build this project on Ubuntu 18.04 with gcc 7.3.0. I executed the scripts setup.sh and build.sh as written in README and got this error:

In file included from /media/UserData/Youda/CVUT/DIP/Implementace/frameworks/bin2llvm-build/llvm-native/include/llvm/Support/DataTypes.h:37:
/usr/lib/gcc/x86_64-linux-gnu/7.3.0/../../../../include/c++/7.3.0/cmath:45:15: fatal error: 'math.h' file not found
#include_next <math.h>
              ^

Looks like the build script somehow messes up with the environment and include directories, so that it cannot find them at their standard locations.

@monkbai
Copy link

monkbai commented Jul 10, 2020

Same error, try to change to g++-4.8 (maybe also gcc-4.8), it may help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants