[tsc-devel] First try at porting to Mac, and a linker error

Tobbi | Wed, 16 Sep 2015 15:48:09 UTC

Post via forum by Tobbi <…i@x…>:
Hello everyone,

I am trying to get TSC running on Mac (without Wine), and have started porting it. Whether it works or not, I cannot tell yet. However, you can find my changes here:
https://github.com/Secretchronicles/TSC/compare/devel...tobbi:fix_mac_compilation

In any case: I keep getting a linker error, that looks like this:
[  1%] Linking CXX executable tsc
ld: library not found for -lSDLmain
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [tsc] Error 1
make[1]: *** [CMakeFiles/tsc.dir/all] Error 2
make: *** [all] Error 2


-- 
Sent by Chessboard.