dhewm3 icon indicating copy to clipboard operation
dhewm3 copied to clipboard

Building and debugging with Visual Studio

Open knerlington opened this issue 5 years ago • 2 comments

Not an issue with the project itself I assume, but rather me not understanding how to set it up correctly. Trying to generate build files for use with Visual Studio following the readme, but I can't get it to actually run from Visual Studio. I have the solution with it's 6 projects, but I can't debug any of them. Could someone show me how to properly invoke the required cmake commands in order to get the required libs in place so you can build and debug with VS?

knerlington avatar Dec 04 '19 13:12 knerlington

Ok I just managed to run a debug build of dhewm3 by copying all the dll files from dhewm3-libs into the build folder I made inside my local dhewm3 source folder. Is this the way to do it?

knerlington avatar Dec 04 '19 23:12 knerlington

I usually copy all the .dlls from a dhewm3 release win32 zip (except for base.dll and d3xp.dll of course) into the binary dir (those are more up to date than the ones in dhewm3-libs that are used for linking against).

I also configure the debug settings to add +set fs_basepath c:\dev\doom3\ to the commandline so I don't have to copy the game data around (of course you'll have to adapt the path to wherever your game data is)

DanielGibson avatar Jan 06 '20 18:01 DanielGibson