-
Notifications
You must be signed in to change notification settings - Fork 643
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
Getting Linker errors in Xcode project. #17
Comments
I received the same linking errors in the premade xcode project. In short, resolved the issue by changing the bad If you lrwxr-xr-x 1 root wheel 8 Nov 4 16:55 /usr/X11 -> /opt/X11 As a result, I had to change the linking flags for freeglut, et. al, from (/opt/local/lib actually makes no sense, lib should be prefixed with a library directory, i.e., X11, or whatever the library is, and not local, in the first place). I've attached a photo of the linking flags that need to change. I'm not sure how you're generating your xcode project, otherwise I would have made a pull request with the changes. |
I got it to build very easily by generating the Xcode project
But, I had to add
to CMakeLists.txt, after the line
|
When I try to compile the Xcode project I get three linker errors:
clang: error: no such file or directory: '/opt/local/lib/libX11.dylib'
clang: error: no such file or directory: '/opt/local/lib/libXext.dylib'
clang: error: no such file or directory: '/opt/local/lib/libXrandr.dylib'
I couldn't find any documentation indicating any additional installs required to run the project.
I'm trying to compile the included Xcode project under the 1.0.0 release over here: https://github.com/google/liquidfun/releases
I'm running Mac OS X Version 10.9.2, Xcode Version 5.0.2. Additionally, I do have the latest XQuartz (X11) installed.
As a note, running the Xcode generated through Cmake does work.
The text was updated successfully, but these errors were encountered: