-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
SMFL does not build using cmake + clang on OSX mountain lion. #382
Comments
NB. and no, it doesn't work with i386 either: ld: file too small for architecture i386 |
Please use the forum for help requests. This seems more like an environment issue than a bug in SFML. |
Yes, please open a thread on the forum to discuss this issue. Provide all information you can about your env : OS version, Xcode version, clang version, ....... |
--> http://en.sfml-dev.org/forums/index.php?topic=11312.msg78458 (for anyone else who comes to the bug tracker, like me, expecting this to be the place to look for answers) |
The task tracker is the place for SFML bugs, not user bugs. I'd like it to contain only proven/validated/obvious bugs or tasks. All other issues should be discussed first, and the perfect place for that is the forum. |
configure output:
-- The C compiler identification is Clang 4.2.0
-- The CXX compiler identification is Clang 4.2.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Found OpenGL: /System/Library/Frameworks/OpenGL.framework
-- Found Freetype: /Users/douglasl/projects/go/libs/sfml/SFML-2.0/extlibs/libs-osx/Frameworks/freetype.framework (found version "2.4.11")
-- Found GLEW: /Users/douglasl/projects/go/libs/sfml/SFML-2.0/extlibs/libs-osx/lib/libGLEW.a
-- Found JPEG: /Users/douglasl/projects/go/libs/sfml/SFML-2.0/extlibs/libs-osx/lib/libjpeg.a
-- Found OpenAL: /System/Library/Frameworks/OpenAL.framework
-- Found SNDFILE: /Users/douglasl/projects/go/libs/sfml/SFML-2.0/extlibs/libs-osx/Frameworks/sndfile.framework
-- Configuring done
-- Generating done
-- Build files have been written to: /Users/douglasl/projects/go/libs/sfml/SFML-2.0/build
Build output:
...
Linking CXX shared library ../../../lib/libsfml-graphics.dylib
ld: file too small for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [lib/libsfml-graphics.2.0.dylib] Error 1
make[1]: *** [src/SFML/Graphics/CMakeFiles/sfml-graphics.dir/all] Error 2
make: *** [all] Error 2
The text was updated successfully, but these errors were encountered: