Talk:Build OSX Snow Leopard

From Unknown Horizons - Wiki
Jump to: navigation, search

Getting Error message while compiling FIFE on Mac OS X 10.7.2:

"Compiling We will start by compiling FIFE. Navigate to the FIFE folder, where the source lives, and run the command:

scons -c && scons"

Error message:

"o build/engine/release/swigwrappers/python/fife_wrap.cc -python -c++ -w511 engine/swigwrappers/python/fife.i sh: o: command not found g++ -o build/engine/release/swigwrappers/python/py_fife_wrap.os -c -DUSE_COCOA -O2 -Wall -Wno-unused -fPIC -DTIXML_USE_STL -D_GNU_SOURCE=1 -D_THREAD_SAFE -DHAVE_OPENGL -DHAVE_ZIP -DLOG_ENABLED -I/opt/local/include -I/usr/local/include -I/usr/X11/include -I/opt/local/include/SDL -I/opt/local/include/guichan -I/opt/local/include/boost -I/System/Library/Frameworks/OpenAL.framework/Headers -I/opt/local/include/vorbis -I/opt/local/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -Iengine/core build/engine/release/swigwrappers/python/fife_wrap.cc i686-apple-darwin11-llvm-g++-4.2: build/engine/release/swigwrappers/python/fife_wrap.cc: No such file or directory i686-apple-darwin11-llvm-g++-4.2: no input files scons: *** [build/engine/release/swigwrappers/python/py_fife_wrap.os] Error 1 scons: building terminated because of errors. iMac:FIFE User$ "

-- Raymond 18:20, 18 December 2011 (CET)

Problem was not installed swig:
sudo port port install swig
("sudo port install libsdl libsdl_ttf libsdl_image libsdl_mixer libpng libogg libvorbis boost boost-jam libguichan openal py26-distribute py26-distutils-extra py26-yaml py26-pyrex swig swig-python wget libenet" does not execute without error)
-- Raymond 18:32, 18 December 2011 (CET)
Personal tools