I've been interested in making some changes to the game and thought it would be good idea to start out with learning how build a version from source. I've been having quite an adventure trying to build version 0.2.8.3.1 from source. I'm pretty sure I've satisfied all dependencies.
Here is a build log if anyone can help with this.
-------------- Build: Win32 Release in Dedicated ---------------
Compiling: ..\..\src\engine\eAdvWall.cpp
In file included from c:\program files (x86)\codeblocks\mingw\bin\../lib/gcc/mingw32/4.4.1/include/c++/cctype:44,
from c:\program files (x86)\codeblocks\mingw\bin\../lib/gcc/mingw32/4.4.1/include/c++/bits/localefwd.h:44,
from c:\program files (x86)\codeblocks\mingw\bin\../lib/gcc/mingw32/4.4.1/include/c++/ios:42,
from c:\program files (x86)\codeblocks\mingw\bin\../lib/gcc/mingw32/4.4.1/include/c++/ostream:40,
from c:\program files (x86)\codeblocks\mingw\bin\../lib/gcc/mingw32/4.4.1/include/c++/iostream:40,
from ..\..\src/defs.h:138,
from ..\..\src\tools/tArray.h:31,
from ..\..\src\tools/tList.h:31,
from ..\..\src\tools/tHeap.h:31,
from C:\tronad\build\armagetronad\armagetronad\trunk\armagetronad\src\engine\eWall.h:32,
from C:\tronad\build\armagetronad\armagetronad\trunk\armagetronad\src\engine\eAdvWall.cpp:28:
c:\program files (x86)\codeblocks\mingw\bin\../lib/gcc/mingw32/4.4.1/../../../../include/ctype.h:62: error: new declaration 'int isblank(int)'
..\..\src/defs.h:124: error: ambiguates old declaration 'bool isblank(int)'
c:\program files (x86)\codeblocks\mingw\bin\../lib/gcc/mingw32/4.4.1/../../../../include/ctype.h: In function 'int isblank(int)':
c:\program files (x86)\codeblocks\mingw\bin\../lib/gcc/mingw32/4.4.1/../../../../include/ctype.h:168: error: new declaration 'int isblank(int)'
..\..\src/defs.h:124: error: ambiguates old declaration 'bool isblank(int)'
Process terminated with status 1 (0 minutes, 1 seconds)
4 errors, 0 warnings
I noticed on one post that Windows developers are scarce. Is that still the case?
0.2.8.3.1 Source Build on Windows7
Re: 0.2.8.3.1 Source Build on Windows7
Looks like someone else had this issue. Windows developers are still scarce.
Re: 0.2.8.3.1 Source Build on Windows7
Yeah, and Windows development is tricky, since there's no good way to cope with different compiler installations. You probably have a too recent version of code::blocks. 0.2.8.3.1 only works with 1.0_rc2. It's not too difficult to patch the source; in this case you just have to remove our definition of the functions that are duplicate.