- Joined
- Jan 31, 2005
- Messages
- 11,859
- Reaction score
- 586
- Points
- 113
- Location
- Australia
- Website
- www.mmobugs.com
Source: http://www.macroquest2.com/phpBB2/viewtopic.php?t=8897&start=0&postdays=0&postorder=asc&highlight=
Guide to building Macroquest with stuff you can download from Microsoft's website, version 1.1.
It is possible to build Macroquest with tools that are downloaded completely from Microsoft's website. These tools are fully functional and do not expire. The only thing missing is any kind of GUI interface.
1) Download the Microsoft Visual C++ Toolkit 2003 from http://msdn.microsoft.com/visualc/vctoolkit2003 The download is just over 32MB in size. Install with default options.
2) Download the Microsoft Platform SDK from http://www.microsoft.com/msdownload/platformsdk/sdkupdate/ This page requires an ActiveX component be installed and must be run from Internet Explorer. Make it easy, install the entire thing (Click on Windows SDK on the left bar) although I think all you need is Core SDK and MDAC SDK. Be prepared for another long download.
3) The only currently posted package that I am aware of that contains a 32-bit version of NMAKE is eMbedded Visual C++ 4.0*. You can download this package from
. This package is 224MB in size and comes as a self-extracting ZIP file. Unzip eVC4.exe and copy COMMON\TOOLS\NMAKE.EXE to c:\Program Files\Microsoft Visual C++ Toolkit 2003\bin\. You can now delete the Embedded VC++ distribution file and the directory you extracted it in to (yes, 224MB downloaded for a 76KB file).
Everything is now installed. You are ready to build.
Obtain the latest version of the Macroquest2 source code from the usual place. Extract it somewhere.
Open Visual C++ Toolkit 2003 Command Prompt from the Microsoft Visual C++ Toolkit 2003 folder on the Start Menu.
Type "C:\Program Files\Microsoft SDK\SetEnv.Bat" (with the quotes) to load the SDK settings required for the compiler to find the header files and libraries. It targets a DEBUG build on my system, but it works.
Change (CD) to the directory in to which you extracted MQ2 source.
Type set COMPILER=7 to tell the MQ2 build process that you are using a .NET compiler.
Type nmake clean to clean up the build environment (it won't really do much if you haven't built anything yet, but it's a good practice for when you are rebuilding).
Type nmake to build Macroquest. Ignore the crapload of linker warnings regarding libcmt.pdb not being found. If you care, you can probably figure out how to supress this - I don't, so I didn't.
Run Macroquest2.exe from the Release folder.
The command line build process will build all the standard MQ2 plugins. If you have additional plugins to build, you prepare the plugin folder as normal (mkplugin, enter the C++ code, etc.). Next, simply CD in to the plugin directory and run nmake. This will build the plugin and leave it in the Release folder.
Footnote:
* There was an older version of NMAKE that will work to build MQ2 released with the Microsoft SDK for Java 4.0. This distribution file is a lot smaller, but is no longer available from Microsoft's web site. If you can obtain the this package you only need to install the Core SDK Files. Deselect Documentation and Sample Files. Copy NMAKE.EXE from c:\Program Files\Microsoft SDK for Java 4.0\Bin to c:\Program Files\Microsoft Visual C++ Toolkit 2003\bin\. You can now uninstall the Java SDK if you want.
Guide to building Macroquest with stuff you can download from Microsoft's website, version 1.1.
It is possible to build Macroquest with tools that are downloaded completely from Microsoft's website. These tools are fully functional and do not expire. The only thing missing is any kind of GUI interface.
1) Download the Microsoft Visual C++ Toolkit 2003 from http://msdn.microsoft.com/visualc/vctoolkit2003 The download is just over 32MB in size. Install with default options.
2) Download the Microsoft Platform SDK from http://www.microsoft.com/msdownload/platformsdk/sdkupdate/ This page requires an ActiveX component be installed and must be run from Internet Explorer. Make it easy, install the entire thing (Click on Windows SDK on the left bar) although I think all you need is Core SDK and MDAC SDK. Be prepared for another long download.
3) The only currently posted package that I am aware of that contains a 32-bit version of NMAKE is eMbedded Visual C++ 4.0*. You can download this package from
. This package is 224MB in size and comes as a self-extracting ZIP file. Unzip eVC4.exe and copy COMMON\TOOLS\NMAKE.EXE to c:\Program Files\Microsoft Visual C++ Toolkit 2003\bin\. You can now delete the Embedded VC++ distribution file and the directory you extracted it in to (yes, 224MB downloaded for a 76KB file).
Everything is now installed. You are ready to build.
Obtain the latest version of the Macroquest2 source code from the usual place. Extract it somewhere.
Open Visual C++ Toolkit 2003 Command Prompt from the Microsoft Visual C++ Toolkit 2003 folder on the Start Menu.
Type "C:\Program Files\Microsoft SDK\SetEnv.Bat" (with the quotes) to load the SDK settings required for the compiler to find the header files and libraries. It targets a DEBUG build on my system, but it works.
Change (CD) to the directory in to which you extracted MQ2 source.
Type set COMPILER=7 to tell the MQ2 build process that you are using a .NET compiler.
Type nmake clean to clean up the build environment (it won't really do much if you haven't built anything yet, but it's a good practice for when you are rebuilding).
Type nmake to build Macroquest. Ignore the crapload of linker warnings regarding libcmt.pdb not being found. If you care, you can probably figure out how to supress this - I don't, so I didn't.
Run Macroquest2.exe from the Release folder.
The command line build process will build all the standard MQ2 plugins. If you have additional plugins to build, you prepare the plugin folder as normal (mkplugin, enter the C++ code, etc.). Next, simply CD in to the plugin directory and run nmake. This will build the plugin and leave it in the Release folder.
Footnote:
* There was an older version of NMAKE that will work to build MQ2 released with the Microsoft SDK for Java 4.0. This distribution file is a lot smaller, but is no longer available from Microsoft's web site. If you can obtain the this package you only need to install the Core SDK Files. Deselect Documentation and Sample Files. Copy NMAKE.EXE from c:\Program Files\Microsoft SDK for Java 4.0\Bin to c:\Program Files\Microsoft Visual C++ Toolkit 2003\bin\. You can now uninstall the Java SDK if you want.