Hey guys, I'm having some issues getting latest (git-sha ba73a7b) to compile on MacOS 10.8.5.
I ran the normal install steps through homebrew:
brew install sdl sdl_gfx sdl_mixer sdl_image yaml-cpp
cd ~/OpenXcom/src && make -f Makefile.gcc-pch -j 4
Compile initially failed because of the yaml-cpp version. It appears you can use the latest yaml-cpp version now so I didn't install 0.3 like
this post suggested. After I fixed that and recompiled, I got the following at the very end:
ld: library not found for -lGL
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [../bin/openxcom] Error 1
I also tried to apply the OSX_kludge.patch but that failed. I think it's out of date:
$ git apply OSX_kludge.patch
error: patch failed: src/pch.h:1
error: src/pch.h: patch does not apply
Looking at the OSX_kludge.patch there were some changes in the makefile so I'll play around with that. Otherwise anyone had this problem? Any suggestions?
Thanks