Im trying to compile BZFlag 2.0.10 from source so I can use plugins.
My operating system is Mac OS X 10.6.2.
I get these warnings from terminal when I run:
./configure --enable-optimized --enable-shared
Code: Select all
configure: WARNING: using an internal c-ares lib.
configure: WARNING: Consider installing an updated library at system level
configure: WARNING: link is http://daniel.haxx.se/projects/c-ares/
configure: WARNING: could not find an appropriate SDL version. BZflag will build without SDL
Code: Select all
Making all in data
Making all in l10n
make[2]: Nothing to be done for `all'.
Making all in fonts
make[2]: Nothing to be done for `all'.
make[2]: Nothing to be done for `all-am'.
Making all in doc
Making all in man
make[2]: Nothing to be done for `all'.
Making all in faq
make[2]: Nothing to be done for `all'.
Making all in guide
Making all in Commands
make[3]: Nothing to be done for `all'.
Making all in Flags
make[3]: Nothing to be done for `all'.
Making all in Geometry
make[3]: Nothing to be done for `all'.
Making all in Installation
make[3]: Nothing to be done for `all'.
Making all in Tactics
make[3]: Nothing to be done for `all'.
make[3]: Nothing to be done for `all-am'.
Making all in howto
make[2]: Nothing to be done for `all'.
make[2]: Nothing to be done for `all-am'.
Making all in include
make all-am
make[2]: Nothing to be done for `all-am'.
Making all in man
sed -e 's|@BZFLAG_DATE[@]|2009-12-05|g' -e 's|@BZFLAG_VERSION[@]|2.0.10|g' -e 's|@INSTALL_DATA_DIR[@]|/usr/local/share/bzflag|g' './bzadmin.6.in' >bzadmin.6
sed -e 's|@BZFLAG_DATE[@]|2009-12-05|g' -e 's|@BZFLAG_VERSION[@]|2.0.10|g' -e 's|@INSTALL_DATA_DIR[@]|/usr/local/share/bzflag|g' './bzflag.6.in' >bzflag.6
sed -e 's|@BZFLAG_DATE[@]|2009-12-05|g' -e 's|@BZFLAG_VERSION[@]|2.0.10|g' -e 's|@INSTALL_DATA_DIR[@]|/usr/local/share/bzflag|g' './bzfs.6.in' >bzfs.6
sed -e 's|@BZFLAG_DATE[@]|2009-12-05|g' -e 's|@BZFLAG_VERSION[@]|2.0.10|g' -e 's|@INSTALL_DATA_DIR[@]|/usr/local/share/bzflag|g' './bzw.5.in' >bzw.5
Making all in package
make[2]: Nothing to be done for `all-am'.
Making all in src
Making all in c-ares
make[2]: Nothing to be done for `all'.
Making all in 3D
make[2]: Nothing to be done for `all'.
Making all in regex
make[2]: Nothing to be done for `all'.
Making all in common
make[2]: Nothing to be done for `all'.
Making all in net
make[2]: Nothing to be done for `all'.
Making all in game
make[2]: Nothing to be done for `all'.
Making all in geometry
Making all in models
Making all in tank
make[4]: Nothing to be done for `all'.
make[4]: Nothing to be done for `all-am'.
make[3]: Nothing to be done for `all-am'.
Making all in obstacle
make[2]: Nothing to be done for `all'.
Making all in ogl
make[2]: Nothing to be done for `all'.
Making all in scene
make[2]: Nothing to be done for `all'.
Making all in platform
Making all in MacOSX
/bin/sh ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../../include -I../../../include -I../../../src/platform -g -O2 -pipe -pedantic -fno-exceptions -W -Wall -Wundef -Wno-import -O3 -ffast-math -fomit-frame-pointer -fexpensive-optimizations -fno-exceptions -g -O2 -pipe -pedantic -fno-exceptions -W -Wall -Wundef -Wno-import -O3 -ffast-math -fomit-frame-pointer -fexpensive-optimizations -fno-exceptions -c -o MacDisplay.lo MacDisplay.cxx
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../../include -I../../../include -I../../../src/platform -g -O2 -pipe -pedantic -fno-exceptions -W -Wall -Wundef -Wno-import -O3 -ffast-math -fomit-frame-pointer -fexpensive-optimizations -fno-exceptions -g -O2 -pipe -pedantic -fno-exceptions -W -Wall -Wundef -Wno-import -O3 -ffast-math -fomit-frame-pointer -fexpensive-optimizations -fno-exceptions -c MacDisplay.cxx -o MacDisplay.o
MacDisplay.cxx: In constructor ‘MacDisplay::MacDisplay(const char*, const char*)’:
MacDisplay.cxx:22: error: ‘NewRgn’ was not declared in this scope
MacDisplay.cxx: In member function ‘virtual bool MacDisplay::getEvent(BzfEvent&) const’:
MacDisplay.cxx:213: error: ‘::kEventWindowUpdate’ has not been declared
MacDisplay.cxx:214: error: ‘::kEventWindowDrawContent’ has not been declared
MacDisplay.cxx:216: error: ‘BeginUpdate’ was not declared in this scope
MacDisplay.cxx:217: error: ‘EndUpdate’ was not declared in this scope
MacDisplay.cxx: In member function ‘void MacDisplay::getKey(BzfKeyEvent&, char, UInt32) const’:
MacDisplay.cxx:278: warning: format ‘%lX’ expects type ‘long unsigned int’, but argument 3 has type ‘UInt32’
make[3]: *** [MacDisplay.lo] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive] Error 1
Never mind I got it to work by installing SDL from here: http://www.libsdl.org/download-1.2.php
although I now get this error when starting bzfs:
WARNING: unable to load the plugin; airspawn
using this command:
…/bzflag-2.0.10/src/bzfs/bzfs -loadplugin airspawn