1. We have added a Gift Upgrades feature that allows you to gift an account upgrade to another member, just in time for the holiday season. You can see the gift option when going to the Account Upgrades screen, or on any user profile screen.
    Dismiss Notice

Makefile/Instructions BTS 3.17 SDK / Debugging 2016-10-05

Makefile/Instructions BTS 3.17 SDK / Debugging

  1. Refar
    This includes the Makefile and a PDF with Instructions needed to make Debugging (and of course compiling in the first place) work on the free Compiling environment of Visual Studio 2005 Express.

    The information was collected from these two threads:
    By Kael: http://forums.civfanatics.com/showthread.php?t=166933
    By Chazcon: http://forums.civfanatics.com/showthread.php?t=196283

    I put some pieces together and set up the makefile (Based upon the file provided by Jean Elcard) to allow Debug-able builds.
    Thanks to DaveMcW who provided the key piece of information as to why debugging was not working on the free compiler in the first place.
    The original instructions for installing VS2005 and compiling are almost unchanged from Chazcons tutorial.

    It has 2 Build targets defined - Final Release will make a standard DLL, while Debug will build one that the Debugger can attach to.
    Also made clean work with del, as i dont have a rm on windows.
    While i couldn't find a way to compile a single file from withgin the VS2005 IDE, you can invoke nmake from console (Tools->VS Command Prompt) to call for intermediate targets. nmake Debug\CvUnit.obj for example will compile CvUnit in the Debug context.