VS 2017 Solution Compiles .lib? How can I create the exe?[message #353311]
|
Mon, 23 April 2018 21:29
|
|
ElecMS |
|
Messages:13
Registered:November 2009 |
|
|
Hey folks, on the latest SVN version of GameData, and the latest compiled .exe I could find (8555), I am experiencing a game-breaking bug where I can no longer select mercs or groups, or click cancel, on the Strategic Map screen. The list on the far left is clickable, rest of the UI is responsive, but the small dialog when selecting a merc or a group in a sector cannot be interacted with. Thread for that is here http://thepit.ja-galaxy-forum.com/index.php?t=msg&goto=353310&#msg_353310.
In trying to debug this issue (programmer by trade) I grabbed the latest Visual Studio 2017 CE, downloaded the SVN.
Everything seems to build fine, but the VS2017 solution file (also tested 2010) is set to compile to a .lib instead of an .exe - can anyone shed any light on how to compile as an exe?
[Updated on: Mon, 23 April 2018 21:31] Report message to a moderator
|
Private
|
|
|
|
|
Re: VS 2017 Solution Compiles .lib? How can I create the exe?[message #353320 is a reply to message #353314]
|
Tue, 24 April 2018 04:29
|
|
ElecMS |
|
Messages:13
Registered:November 2009 |
|
|
Got it! Noob mistake, I think, not yet used to VS2017 - needed to select JA2 specifically, looks like I had somehow selected the VFS portion of the project, which is set to build a .lib.
Same thing happened when I tried to start "Local Windows Debugger" via the Play button - it tried to run VFS.lib and failed. I was able to fix this by selecting the JA2 folder, right click, "Set as default", then attempting to build the whole solution.
I can debug line by line now, I believe, but most of the beginning of the startup of the game shows as external code, takes a lot of F10ing to get even to the title screen.
There are a ton of .cpp files - trying to figure out where I can set a breakpoint in order to be able to run normally up to the point where a game is completely loaded.
Report message to a moderator
|
Private
|
|
|
|
|
|
|