because there are some changes, for example this: http://code.google.com/p/bwapi/source/detail?r=2104, but my BWAPI is older: BWAPI_Beta_2.6.1
So, I download the source, using svn, open the project bwapi (not bwapi3) with MS Visual C++ Express Edition, build it in "Release" mode, but i get some errors:
Code: Select all
4>Performing Pre-Build Event...
4>The system cannot execute the specified program.
4>Project : error PRJ0019: A tool returned an error code from "Performing Pre-Build Event..."
4>Project : warning PRJ0018 : The following environment variables were not found:
4>Build log was saved at "file://e:Gamesbwapi-read-onlybwapiBWAPIReleaseBuildLog.htm"
4>BWAPI - 1 error(s), 0 warning(s)
I tried in "Debug" mode, but again I get errors:
Code: Select all
4>util.lib(Exceptions.obj) : MSIL .netmodule or module compiled with /GL found; restarting link with /LTCG; add /LTCG to the link command line to improve linker performance
4>LINK : warning LNK4098: defaultlib 'MSVCRT' conflicts with use of other libs; use /NODEFAULTLIB:library
After that, 2 files appear in bwapiRelease: BWAPI.lib and Util.lib. I copy them in BWAPI_Beta_2.6.1/lib/, replacing the original files. (BWAPI_Beta_2.6.1 is the exampleAiModule, downloaded from here: (http://code.google.com/p/bwapi/downloads/list). Then I rebuld my ExampleAiModule (maybe to accept the new BWAPI.lib and Util.lib), but when I run it, there are no changes... like I haven't rebuild the BWAPI source. I'm sure, because I modified one of the text messages, but in the game I receive the old text message.
I actually don't know, if I'm doing it right, because I couldn't find documentation, how to build it, but i want to test, if the changes work.