Visual C++ 2008 Express Workarounds

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

Moderator: MacroQuest Developers

ZootSoot
decaying skeleton
decaying skeleton
Posts: 6
Joined: Mon Apr 02, 2007 8:47 pm

Visual C++ 2008 Express Workarounds

Post by ZootSoot » Fri Mar 07, 2008 10:34 am

[[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;

jacensolo
a snow griffon
a snow griffon
Posts: 427
Joined: Wed Feb 14, 2007 8:51 am
Location: Right behind you

Post by jacensolo » Fri Mar 07, 2008 10:55 am

VS 2008 worked for me without any mods.

ZootSoot
decaying skeleton
decaying skeleton
Posts: 6
Joined: Mon Apr 02, 2007 8:47 pm

Post by ZootSoot » Fri Mar 07, 2008 11:47 am

I didn't try... figured it would be crippled like the VS2005

nagual2007
orc pawn
orc pawn
Posts: 12
Joined: Thu Jan 03, 2008 5:18 am

Post by nagual2007 » Wed Oct 29, 2008 2:27 am

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 ==========

User avatar
pms
a grimling bloodguard
a grimling bloodguard
Posts: 663
Joined: Mon Jan 31, 2005 5:20 pm
Location: Internet, Earth
Contact:

Post by pms » Wed Oct 29, 2008 2:33 am

Carlos would say the nagual just needs to see the answer.

nagual2007
orc pawn
orc pawn
Posts: 12
Joined: Thu Jan 03, 2008 5:18 am

Post by nagual2007 » Wed Oct 29, 2008 6:43 pm

ok

I used my "seeing" and discovered what the problem was :)

Basically all my sdk files were screwed up somehow

uszor3600
decaying skeleton
decaying skeleton
Posts: 3
Joined: Thu Feb 26, 2009 8:30 pm

Post by uszor3600 » Sat Mar 14, 2009 11:27 pm

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.
999 characters is not nearly enough to complete my Sig. so I'll abbreviate signature to make room.

uszor3600
decaying skeleton
decaying skeleton
Posts: 3
Joined: Thu Feb 26, 2009 8:30 pm

Post by uszor3600 » Sun Mar 15, 2009 12:12 am

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]
999 characters is not nearly enough to complete my Sig. so I'll abbreviate signature to make room.