Compile Test with VS2019 community

Need help running MacroQuest2? Ask your questions about how to get things to work on your computer.

Moderator: MacroQuest Developers

LamahHerder
a hill giant
a hill giant
Posts: 299
Joined: Sat Jun 29, 2002 2:37 am

Compile Test with VS2019 community

Post by LamahHerder » Thu Aug 08, 2019 2:27 pm

Messed with this for a while before I got it working


  • 01 - Install vs2019 community (SS of minimum I needed to get it working)
    Image

    02 - https://www.macroquest2.com/main.php?p=download download zip, unzip

    03 - Run MQ2Auth.exe save

    04 - open SLN file in vs2019community

    05 - vs2019 First run Popup > Retarget Solution Projects (SS of options I used)
    Image

    06 - vs2019>build>configuration manager> Active Solution Configuration = Release (or set it via the bar at the top)

    07 - vs2019> Right click MQ2Main in "Solution Explorer" and select "Set as Startup Project" (already done in VV)

    08 - Edit MQ2Main.h change "#define LIVE" to "#define TEST"

    09 - vs2019>build>batch build> checkmark MQ2Main Release, click Build (this is a quick build test)

    10 - If all goes well then go back to batch build and checkmark the Release build for plugins you want to build.
Last edited by LamahHerder on Thu Aug 08, 2019 11:10 pm, edited 2 times in total.

dewey2461
Contributing Member
Contributing Member
Posts: 1759
Joined: Sun Apr 17, 2005 1:53 am

Re: Compile Test with VS2019 community

Post by dewey2461 » Thu Aug 08, 2019 3:59 pm

Thank you for sharing your setup.