Problem when compiling BULL

Why would the extra sentry icons not work? The CxImage library is used only for taking a screenshot from Python. I'll see what happens when I try to compile it here.
It appears it's not needed. At least jdog just posted this in the RevDCM thread:
I believe the reason the sentry buttons aren't in when building with Refar's DLL is simply a compiler flag. BULL has several features which are only built if flags are passed to the compiler:

_MOD_SENTRY
_MOD_FRACTRADE
_MOD_GOVWORKERS

So, for Final_Release_GLOBAL_CFLAGS and Debug_GLOBAL_CFLAGS (where CFLAG means compiler flag), we should add /D_MOD_SENTRY.
Still though it would be nice to get the BULL template makefile working for building a debug dll.

Maybe there's still another library that I added that you don't have.
Wouldn't it fail to compile if we were missing a library?
 
Header (.h) files are used for compilation. Libraries (.lib) are used for linking. But I know that for the MSVCRT library you need to link to a normal versus a debug version. I'm truly stumped why you could build but CTD.

Are you using BULL's makefile or a modified one from Refar?
 
In the attachement a couple posts back there are two makefiles, along with the RevDCM source. The first makefile is based on Refar's and works fine for creating a debug and final release gamecore, however in it all cximage code has been removed. The second makefile, marked BROKEN_BULL_JDOG was made by jdog5000 and uses the BULL makefile as a template. It compiles a final release and debug gamecore fine, and the final release dll has no issues; however the debug CTDs almost imediatly when trying to start a game (it never even gets to the point of loading the map), and the python fails to initialize correctly so everything is seriously broken (also the CvGameCore.pdb is 20 some megabytes, whereas for every other succefull debug gamecore I've compiled this file is usually around 65MBs).
 
Back
Top Bottom