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

Build fails on Ubuntu 12.04 #5

Closed
mindcrime opened this issue Aug 11, 2014 · 4 comments
Closed

Build fails on Ubuntu 12.04 #5

mindcrime opened this issue Aug 11, 2014 · 4 comments

Comments

@mindcrime
Copy link

Trying to build on Ubuntu 12.04, and I've encountered some issues, mostly due to libraries not being installed. But after adding Mesa, OpenCL, etc., I get past all the compiler errors but now the build fails with a linker error:

/usr/bin/ld: -f may not be used without -shared
@ThibaultReuille
Copy link
Owner

I made some recent modifications to the Linux build. Can you please retry with an up-to-date repo and let me know if you run into some issues.

FYI : I am able to compile everything just fine on Ubuntu 14.04

@mindcrime
Copy link
Author

Sure, will do. FWIW, I did a build last night on a Fedora 20 box, and other than having to manually create a symlink for one of the OpenCL libraries, I was able to build OK once I got all the correct libraries installed. That leads me to believe that my issue on Ubuntu 12.04 is probably mainly due to it having older versions of clang, llvm, etc.

@ThibaultReuille
Copy link
Owner

Okay. That is great to hear ! Thanks for the feedback.
FYI, my current version of clang, llvm :

$ clang++ --version
Apple LLVM version 5.1 (clang-503.0.40) (based on LLVM 3.4svn)
Target: x86_64-apple-darwin13.1.0
Thread model: posix

@mindcrime
Copy link
Author

OK, I built again just now, and got it to build on Ubuntu 12.04. I did have to make one manual change to the Makefile for Graphiti though. This version of Ubuntu has gcc version 4.6.3 which is too old for the -std=c++11 flag, so I had to change it to -std=c++0x. After doing that, and adding a few more missing libraries, it builds successfully.

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