Hi!
SFML compiled from sources (github master) using clang and libc++ (may be i do it wrong, but simple app with window compiles succefull).
When i try to compile anything with code:
sf::VertexArray triangle(sf::Triangles, 3);
ive get error:
Undefined symbols for architecture x86_64:
"sf::VertexArray::VertexArray(sf::PrimitiveType, unsigned int)", referenced from:
renderingThread(sf::RenderWindow*) in main.cpp.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [Engine] Error 1
make[1]: *** [CMakeFiles/Engine.dir/all] Error 2
make: *** [all] Error 2
Compiled with CMake:
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -Wall -stdlib=libc++")
It seems like some SFML parts compiled with 32bit arch instead of 64..