Page 1 of 1
Visual C++ 2008 Express Workarounds
Posted: Fri Mar 07, 2008 10:34 am
by ZootSoot
[[MacroQuest2:Compiling]]
Has been updated with the steps I have taken to allow VC2008 to compile MQ2.
* For Visual C++ 2008 Express, Navigate to C:\Program Files\Microsoft Visual Studio 9.0\VC\VCWizards\AppWiz\Generic\Application\html\1033\ and edit AppSettings.htm, commenting out lines 357-359 like this:
// WIN_APP.disabled = true;
// DLL_APP.disabled = true;
// LIB_APP.disabled = true;
Posted: Fri Mar 07, 2008 10:55 am
by jacensolo
VS 2008 worked for me without any mods.
Posted: Fri Mar 07, 2008 11:47 am
by ZootSoot
I didn't try... figured it would be crippled like the VS2005
Posted: Wed Oct 29, 2008 2:27 am
by nagual2007
So is it still possible to use VC 2008?
I have compiled macroquest succesfully about 3 times using this, however when i tried to compile MQ a few days ago after not having used MQ for a few weeks now i got some dodgy error that i have no idea how to work around
Any suggestions, flames, rants ?
------ Build started: Project: MQ2Main, Configuration: Release Win32 ------
Compiling...
MQ2Windows.cpp
e:\program files\mq2\mq2main\MQ2Main.h(33) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
MQ2Utilities.cpp
e:\program files\mq2\mq2main\MQ2Main.h(33) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
MQ2Spawns.cpp
e:\program files\mq2\mq2main\MQ2Main.h(33) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
MQ2Pulse.cpp
e:\program files\mq2\mq2main\MQ2Main.h(33) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
MQ2PluginHandler.cpp
e:\program files\mq2\mq2main\MQ2Main.h(33) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
MQ2ParseAPI.cpp
e:\program files\mq2\mq2main\MQ2Main.h(33) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
MQ2Mouse.cpp
e:\program files\mq2\mq2main\MQ2Main.h(33) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
MQ2Main.cpp
e:\program files\mq2\mq2main\MQ2Main.h(33) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
MQ2MacroCommands.cpp
e:\program files\mq2\mq2main\MQ2Main.h(33) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
MQ2KeyBinds.cpp
e:\program files\mq2\mq2main\MQ2Main.h(33) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
MQ2Globals.cpp
e:\program files\mq2\mq2main\MQ2Main.h(33) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
MQ2DInput.cpp
e:\program files\mq2\mq2main\MQ2Main.h(33) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
MQ2DetourAPI.cpp
e:\program files\mq2\mq2main\MQ2Main.h(33) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
MQ2DataVars.cpp
e:\program files\mq2\mq2main\MQ2Main.h(33) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
MQ2DataTypes.cpp
e:\program files\mq2\mq2main\MQ2Main.h(33) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
MQ2DataAPI.cpp
e:\program files\mq2\mq2main\MQ2Main.h(33) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
MQ2Data.cpp
e:\program files\mq2\mq2main\MQ2Main.h(33) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
MQ2Commands.cpp
e:\program files\mq2\mq2main\MQ2Main.h(33) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
MQ2CommandAPI.cpp
e:\program files\mq2\mq2main\MQ2Main.h(33) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
MQ2CleanUI.cpp
e:\program files\mq2\mq2main\MQ2Main.h(33) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
Generating Code...
Compiling...
MQ2ChatHook.cpp
e:\program files\mq2\mq2main\MQ2Main.h(33) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
MQ2Benchmarks.cpp
e:\program files\mq2\mq2main\MQ2Main.h(33) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
MQ2Auth.cpp
e:\program files\mq2\mq2main\MQ2Main.h(33) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
EQClasses.cpp
e:\program files\mq2\mq2main\MQ2Main.h(33) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
Generating Code...
Build log was saved at "file://e:\Program Files\MQ2\MQ2Main\Intermediate\BuildLog.htm"
MQ2Main - 24 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
Posted: Wed Oct 29, 2008 2:33 am
by pms
Carlos would say the nagual just needs to see the answer.
Posted: Wed Oct 29, 2008 6:43 pm
by nagual2007
ok
I used my "seeing" and discovered what the problem was :)
Basically all my sdk files were screwed up somehow
Posted: Sat Mar 14, 2009 11:27 pm
by uszor3600
I am having allot of trouble trying to figure out how to update my SDK files...
I have been all over trying to figure out what to install but just cant...
I get this same error, about windows.h and if anyone could help make me see (yes i found the link on the wiki becuse of that hint) what the problem is that would be so great.
I just cant seem to figure out whats going on, nearly everything I've tried has been a guess.
Posted: Sun Mar 15, 2009 12:12 am
by uszor3600
Well, I updated them via this from the build Wiki:
Download SDK files and install them:
If you are using XP or Vista 32-bit, download the Microsoft Platform SDK from here.
If you are using Vista 64-bit download the Windows SDK here.
But i still get that error.. I'm Running windows XP service pack 2... not sure if that helps you get an idea where my problem may lay as I said am guessing any time I attempt to fix the problem.[/i]
Re: Visual C++ 2008 Express Workarounds
Posted: Mon Jan 12, 2026 12:32 pm
by xyilla