A few days after posting the Windows build of BZWorkBench, I was able to fix the build on Linux. There are still some issues with building on Mac OSX, but I can’t debug that as I don’t have OSX. Anyway, here are the steps for compiling on Ubuntu 9.04. It should be similar for other distributions. Instructions are in the full article.
Here’s an example with HiX loaded:
The first step is to install the various build dependencies that are required (Adjust this as required for your distribution):
sudo aptitude install subversion g++ libopenscenegraph-dev libfltk1.1-dev
Then we will check out a copy of the latest source code from SVN:
svn co https://bzflag.svn.sourceforge.net/svnroot/bzflag/trunk/bzworkbench/ bzworkbench
Then we will change directory into the Debug folder:
Then we will start the build process:
Once this is done, there should not be any error messages showing. Of course, if there is, you’ll have to determine why. Or you could ask on the BZFlag forum or the BZFlag IRC channel for assistance.
We should then be able to change directory into the root of the source:
Then we can run the binary using this command:
You should then be presented with a screen that looks like this:
You can then load up an existing map file, or create a new one. Not every 2.0.x feature is supported. For instance, ‘group’ and ‘define’ are not yet supported. But this editor does have support for a lot of the features.