Building Bitfighter

From Bitfighter
Revision as of 22:03, 23 November 2008 by 97.115.116.229 (Talk)

Windows

Bitfighter can be built with MS Visual C++ 2005 Express Edition, a free download from Microsoft. Game builds with VC++ 2008, but causes odd runtime error when exiting. Public compiled versions of the game will continue to be compiled on VC++ 2005 until that issue is worked out.

Currently investigating porting of Win compilation with MinGW, to make cross-platform maintenance easier.

MinGW progress:

Install mingw

Edit various makefiles and ensure that compiler options are correct (i.e. comment/uncomment makefile lines according to the comments)

use c:\MinGW\bin\mingw32-make

  • libtomcrypt builds
  • tnl builds
  • master builds

The game itself is not compiling with MinGW, though the problem seems to be the new Lua support. I'm going to migrate from using Luna to LuaPlus, and see if that helps things. I'll update this page as appropriate.

Linux

Version 009 builds on Ubuntu. Subsequent work (Lua integration) may have broken this, needs further testing. Sound not working, but sound not confirmed working at all on test machine.

OS X

Version 009 builds on OS X. Subsequent work (Lua integration) may have broken this, needs further testing.