Compiling using xcodebuild on Mac OS 10.4 Intel
Posted: Thu Dec 20, 2007 11:47 pm
Hey there!
I own a 20" first generation Intel iMac. I tried to compile BZFlag 2.0.10 from source using XCode, but I got an error while it was compiling. If anyone with any knowledge on this matter would be kind enough to give me any help, it would be greatly appreciated!
Here's the error:
I own a 20" first generation Intel iMac. I tried to compile BZFlag 2.0.10 from source using XCode, but I got an error while it was compiling. If anyone with any knowledge on this matter would be kind enough to give me any help, it would be greatly appreciated!
Here's the error:
Code: Select all
OpenGLGState.cxx:1582:24: error: GL/glx.h: No such file or directory
OpenGLGState.cxx:1582:24: error: GL/glx.h: No such file or directory
g++ -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -DINSTALL_DATA_DIR=\"/usr/local/share/bzflag\" -fsigned-char -Wno-deprecated -g -O2 -pipe -pedantic -fno-exceptions -W -Wall -Wundef -Wno-import -isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch ppc -arch i386 -O0 -c RenderNode.cxx -fno-common -DPIC -o .libs/RenderNode.o
g++ -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -DINSTALL_DATA_DIR=\"/usr/local/share/bzflag\" -fsigned-char -Wno-deprecated -g -O2 -pipe -pedantic -fno-exceptions -W -Wall -Wundef -Wno-import -isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch ppc -arch i386 -O0 -c RenderNode.cxx -o RenderNode.o >/dev/null 2>&1
OpenGLGState.cxx: In static member function 'static bool OpenGLGState::haveGLContext()':
OpenGLGState.cxx:1597: error: 'glXGetCurrentContext' was not declared in this scope
OpenGLGState.cxx: In static member function 'static bool OpenGLGState::haveGLContext()':
OpenGLGState.cxx:1597: error: 'glXGetCurrentContext' was not declared in this scope
OpenGLGState.cxx:1602: warning: control reaches end of non-void function
OpenGLGState.cxx:1602: warning: control reaches end of non-void function
lipo: can't open input file: /var/tmp//ccnSuCPu.out (No such file or directory)
make[2]: *** [OpenGLGState.lo] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive] Error 1
** BUILD FAILED **