1
General / Re: Thor make error - Undefined symbols. (Mac)
« on: October 23, 2014, 10:13:13 pm »
hey, just as you replied i fixed it.
Quick summary of what I did for anybody else who gets these issues;
build and install sfml with the c++11 features enabled (included in tutorial)
when configuring thor in cmake add THOR_CLANG_STDLIB = libc++ uncheck THOR_SHARED_LIBS.
for me, when i unchecked the shared libs option i had to set GLEW_LIBRARY and JPEG_LIBRARY manually. These were both found in the SFML-master/extlibs/libs-osx/lib/ folder.
Thank for the input Hiura and Nexus and hope the above helps people in future.
Quick summary of what I did for anybody else who gets these issues;
build and install sfml with the c++11 features enabled (included in tutorial)
when configuring thor in cmake add THOR_CLANG_STDLIB = libc++ uncheck THOR_SHARED_LIBS.
for me, when i unchecked the shared libs option i had to set GLEW_LIBRARY and JPEG_LIBRARY manually. These were both found in the SFML-master/extlibs/libs-osx/lib/ folder.
Thank for the input Hiura and Nexus and hope the above helps people in future.