Help please

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

Moderator: MacroQuest Developers

Wardeth
decaying skeleton
decaying skeleton
Posts: 6
Joined: Sun Sep 12, 2004 5:02 pm

Help please

Post by Wardeth » Sun Sep 12, 2004 5:28 pm

Hey

Ok recently downloaded MacroQuest 2, and I'm trying to get it to run. I get to the point when I'm about to compile and build the dll's. I'm using Visual C++ 2005. After I select what I want and click build. It fails at compiling all dll's. I get this error:

"fatal error C1083: Cannot open include file: 'windows.h': No such file or directory"-I get that on every attempt for building the dll's. Now, the strange part is, is that I have the file "windows.h", I did the MS Platform SDK updates, Core SDK and MDAC SDK V2.7. The "windows.h" file is in directory "C:\program files\microsoft SDK\include"...should it be somewhere else? I followed the instructions in the manual that is on www.macroquest2.com.


I also tried it another way, I had a friend of mine send me his folder that had all of the dll's, macroquest 2.exe...etc (everything you would have after building the dll's). Everything went fine, except when I went to run MQ2. I got this error:

"This copy of MacroQuest is not authorized to run on your machine. Please use the MQ2Auth system to correct the problem."-Is this expected? However, they are the exact same files my friend uses to run MQ, and it works fine with no problem...Is there a way around this?

If not I need help with what I said earlier. That "windows.h" file is causing a problem, but I do have the file, but it says it's not there. Please help me out, been trying to get it to work for 13-15 hours now. Please help me anyway you can and/or tell me what the problem is.



Here is the log of what happens when I try to compile:


------ Build started: Project: MQ2Main, Configuration: Release Win32 ------
Compiling...
MQ2Windows.cpp
c:\Documents and Settings\JasonD\Desktop\New Folder\MQ2Main\MQ2Main.h(31) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
MQ2Utilities.cpp
c:\Documents and Settings\JasonD\Desktop\New Folder\MQ2Main\MQ2Main.h(31) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
MQ2Spawns.cpp
c:\Documents and Settings\JasonD\Desktop\New Folder\MQ2Main\MQ2Main.h(31) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
MQ2Pulse.cpp
c:\Documents and Settings\JasonD\Desktop\New Folder\MQ2Main\MQ2Main.h(31) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
MQ2PluginHandler.cpp
c:\Documents and Settings\JasonD\Desktop\New Folder\MQ2Main\MQ2Main.h(31) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
MQ2ParseAPI.cpp
c:\Documents and Settings\JasonD\Desktop\New Folder\MQ2Main\MQ2Main.h(31) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
MQ2Mouse.cpp
c:\Documents and Settings\JasonD\Desktop\New Folder\MQ2Main\MQ2Main.h(31) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
MQ2Main.cpp
c:\Documents and Settings\JasonD\Desktop\New Folder\MQ2Main\MQ2Main.h(31) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
MQ2MacroCommands.cpp
c:\Documents and Settings\JasonD\Desktop\New Folder\MQ2Main\MQ2Main.h(31) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
MQ2KeyBinds.cpp
c:\Documents and Settings\JasonD\Desktop\New Folder\MQ2Main\MQ2Main.h(31) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
MQ2Globals.cpp
c:\Documents and Settings\JasonD\Desktop\New Folder\MQ2Main\MQ2Main.h(31) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
MQ2DInput.cpp
c:\Documents and Settings\JasonD\Desktop\New Folder\MQ2Main\MQ2Main.h(31) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
MQ2DetourAPI.cpp
c:\Documents and Settings\JasonD\Desktop\New Folder\MQ2Main\MQ2Main.h(31) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
MQ2DataVars.cpp
c:\Documents and Settings\JasonD\Desktop\New Folder\MQ2Main\MQ2Main.h(31) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
MQ2DataTypes.cpp
c:\Documents and Settings\JasonD\Desktop\New Folder\MQ2Main\MQ2Main.h(31) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
MQ2DataAPI.cpp
c:\Documents and Settings\JasonD\Desktop\New Folder\MQ2Main\MQ2Main.h(31) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
MQ2Data.cpp
c:\Documents and Settings\JasonD\Desktop\New Folder\MQ2Main\MQ2Main.h(31) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
MQ2Commands.cpp
c:\Documents and Settings\JasonD\Desktop\New Folder\MQ2Main\MQ2Main.h(31) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
MQ2CommandAPI.cpp
c:\Documents and Settings\JasonD\Desktop\New Folder\MQ2Main\MQ2Main.h(31) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
MQ2CleanUI.cpp
c:\Documents and Settings\JasonD\Desktop\New Folder\MQ2Main\MQ2Main.h(31) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
Generating Code...
Compiling...
MQ2ChatHook.cpp
c:\Documents and Settings\JasonD\Desktop\New Folder\MQ2Main\MQ2Main.h(31) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
MQ2Benchmarks.cpp
c:\Documents and Settings\JasonD\Desktop\New Folder\MQ2Main\MQ2Main.h(31) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
MQ2Auth.cpp
c:\Documents and Settings\JasonD\Desktop\New Folder\MQ2Main\MQ2Main.h(31) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
EQClasses.cpp
c:\Documents and Settings\JasonD\Desktop\New Folder\MQ2Main\MQ2Main.h(31) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
Generating Code...
Build log was saved at "file://c:\Documents and Settings\JasonD\Desktop\New Folder\MQ2Main\Intermediate\BuildLog.htm"
MQ2Main - 24 error(s), 0 warning(s)
------ Build started: Project: MQ2Bzsrch, Configuration: Release Win32 ------
Compiling...
MQ2Bzsrch.cpp
c:\Documents and Settings\JasonD\Desktop\New Folder\MQ2Main\MQ2Main.h(31) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
Build log was saved at "file://c:\Documents and Settings\JasonD\Desktop\New Folder\MQ2Bzsrch\Intermediate\BuildLog.htm"
MQ2Bzsrch - 1 error(s), 0 warning(s)
------ Build started: Project: MQ2EQIM, Configuration: Release Win32 ------
Compiling...
MQ2EQIM.cpp
c:\Documents and Settings\JasonD\Desktop\New Folder\MQ2Main\MQ2Main.h(31) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
Build log was saved at "file://c:\Documents and Settings\JasonD\Desktop\New Folder\MQ2EQIM\Intermediate\BuildLog.htm"
MQ2EQIM - 1 error(s), 0 warning(s)
------ Build started: Project: MQ2Irc, Configuration: Release Win32 ------
Compiling...
MQ2Irc.cpp
c:\Documents and Settings\JasonD\Desktop\New Folder\MQ2Main\MQ2Main.h(31) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
Build log was saved at "file://c:\Documents and Settings\JasonD\Desktop\New Folder\MQ2Irc\Intermediate\BuildLog.htm"
MQ2Irc - 1 error(s), 0 warning(s)
------ Build started: Project: MQ2CustomBinds, Configuration: Release Win32 ------
Compiling...
MQ2CustomBinds.cpp
c:\Documents and Settings\JasonD\Desktop\New Folder\MQ2Main\MQ2Main.h(31) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
Build log was saved at "file://c:\Documents and Settings\JasonD\Desktop\New Folder\MQ2CustomBinds\Intermediate\BuildLog.htm"
MQ2CustomBinds - 1 error(s), 0 warning(s)
------ Build started: Project: MQ2HUD, Configuration: Release Win32 ------
Compiling...
MQ2HUD.cpp
c:\Documents and Settings\JasonD\Desktop\New Folder\MQ2Main\MQ2Main.h(31) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
Build log was saved at "file://c:\Documents and Settings\JasonD\Desktop\New Folder\MQ2HUD\Intermediate\BuildLog.htm"
MQ2HUD - 1 error(s), 0 warning(s)
------ Build started: Project: MQ2EQBugFix, Configuration: Release Win32 ------
Compiling...
MQ2EQBugFix.cpp
c:\Documents and Settings\JasonD\Desktop\New Folder\MQ2Main\MQ2Main.h(31) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
Build log was saved at "file://c:\Documents and Settings\JasonD\Desktop\New Folder\MQ2EQBugFix\Intermediate\BuildLog.htm"
MQ2EQBugFix - 1 error(s), 0 warning(s)
------ Build started: Project: MQ2Telnet, Configuration: Release Win32 ------
Compiling...
WinTelnet.cpp
WinTelnet.cpp(1) : fatal error C1083: Cannot open include file: 'winsock2.h': No such file or directory
TelnetServer.cpp
TelnetServer.cpp(3) : fatal error C1083: Cannot open include file: 'winsock2.h': No such file or directory
mq2telnet.cpp
c:\Documents and Settings\JasonD\Desktop\New Folder\MQ2Main\MQ2Main.h(31) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
Generating Code...
Build log was saved at "file://c:\Documents and Settings\JasonD\Desktop\New Folder\mq2telnet\Intermediate\BuildLog.htm"
MQ2Telnet - 3 error(s), 0 warning(s)
------ Build started: Project: MQ2ChatWnd, Configuration: Release Win32 ------
Compiling...
MQ2ChatWnd.cpp
c:\Documents and Settings\JasonD\Desktop\New Folder\MQ2Main\MQ2Main.h(31) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
Build log was saved at "file://c:\Documents and Settings\JasonD\Desktop\New Folder\MQ2ChatWnd\Intermediate\BuildLog.htm"
MQ2ChatWnd - 1 error(s), 0 warning(s)
------ Build started: Project: MQ2ItemDisplay, Configuration: Release Win32 ------
Compiling...
MQ2ItemDisplay.cpp
c:\Documents and Settings\JasonD\Desktop\New Folder\MQ2Main\MQ2Main.h(31) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
Build log was saved at "file://c:\Documents and Settings\JasonD\Desktop\New Folder\MQ2ItemDisplay\Intermediate\BuildLog.htm"
MQ2ItemDisplay - 1 error(s), 0 warning(s)
------ Build started: Project: MQ2Map, Configuration: Release Win32 ------
Compiling...
MQ2MapCommands.cpp
c:\Documents and Settings\JasonD\Desktop\New Folder\MQ2Main\MQ2Main.h(31) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
MQ2MapAPI.cpp
c:\Documents and Settings\JasonD\Desktop\New Folder\MQ2Main\MQ2Main.h(31) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
MQ2Map.cpp
c:\Documents and Settings\JasonD\Desktop\New Folder\MQ2Main\MQ2Main.h(31) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
Generating Code...
Build log was saved at "file://c:\Documents and Settings\JasonD\Desktop\New Folder\MQ2Map\Intermediate\BuildLog.htm"
MQ2Map - 3 error(s), 0 warning(s)
------ Build started: Project: MQ2Labels, Configuration: Release Win32 ------
Compiling...
MQ2Labels.cpp
c:\Documents and Settings\JasonD\Desktop\New Folder\MQ2Main\MQ2Main.h(31) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
Build log was saved at "file://c:\Documents and Settings\JasonD\Desktop\New Folder\MQ2Labels\Intermediate\BuildLog.htm"
MQ2Labels - 1 error(s), 0 warning(s)
------ Build started: Project: MQ2Chat, Configuration: Release Win32 ------
Compiling...
MQ2Chat.cpp
c:\Documents and Settings\JasonD\Desktop\New Folder\MQ2Main\MQ2Main.h(31) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
Build log was saved at "file://c:\Documents and Settings\JasonD\Desktop\New Folder\MQ2Chat\Intermediate\BuildLog.htm"
MQ2Chat - 1 error(s), 0 warning(s)
========== Build: 0 succeeded, 13 failed, 0 up-to-date, 0 skipped ==========

JimJohnson
a grimling bloodguard
a grimling bloodguard
Posts: 1299
Joined: Sat Oct 11, 2003 6:00 am

Re: Help please

Post by JimJohnson » Sun Sep 12, 2004 6:37 pm

Wardeth wrote:Hey



"This copy of MacroQuest is not authorized to run on your machine. Please use the MQ2Auth system to correct the problem."-Is this expected? However, they are the exact same files my friend uses to run MQ, and it works fine with no problem...Is there a way around this?
==========

You bother running the MQ2auth before you complied? its little file in your MQ2 directory called M@Qauth.exe

Wardeth
decaying skeleton
decaying skeleton
Posts: 6
Joined: Sun Sep 12, 2004 5:02 pm

Post by Wardeth » Sun Sep 12, 2004 7:05 pm

I can't use MQ2Auth there because the DLL's there are already compiled. I got the DLL's sent to me from a friend, but it works fine for him. If I were to compile the files myself. It wouldn't work because I get the missing "windows.h" error. But I do have that file, it's just messed up. I dunno whats wrong...maybe im using the wrong compiler program...dunno

TheNewGuy
a snow griffon
a snow griffon
Posts: 307
Joined: Sat Jul 10, 2004 9:33 am
Contact:

Post by TheNewGuy » Sun Sep 12, 2004 8:25 pm

Here at MacroQuest we like to fill everyone's minds with usefull information that'll allow them to run MacroQuest that much smoother. To help out the masses, I'm going to go ahead and reply to the most common things asked or said here on these forums.

1) Q: The Sky Is Falling (Or any sort of post like it)
A: You are a dumbshit.

2) Q: Tin Hats protect yourself from Black Helicopters.
A: You are a dumbshit.

3) Q: Hello, I read RPGExpert.
A: You are a dumbshit.

4) Q: My Father's uncle's friend's daughter twice removed who's dating the Mayor's cousin's sister that once delivered pizza to the President's dad's neighbor who managed to get Macroquest to work gave me files, but it's not working.
A: Both you and the neighbor are dumbshits.

5) Q: I want to (Insert silly hack request here)
A: You are a dumbshit.

6) Q: I've searched for my problem, and can't find it! I swear! I just need a macro that'll (Insert macro for which there's 10 different ones to choose from)
A: You are a dumbshit.

7) Q: I can't read.
A: No kidding? You are a dumbshit.


So - there you have it. I have probably missed a few in there, but I've at least covered a few bases. Now you are wondering what you can do if for some odd reason your question was listed, but the answer was "You are a dumbshit."

Ok, get ready to write this down.

Ready?





Liar, go get a fucking pencil and paper!




Finally ready?




SEARCH FOR IT, DUMBSHIT.
[quote="dont_know_at_all"][quote="sybarite"]Um.. search works fine for me (used spell_routines.inc)... Try scrolling down you lazy fuck.

http://www.macroquest2.com/phpBB2/viewtopic.php?t=8964&highlight=spellroutines+inc[/quote]

That's great but he's looking for move.inc, you fucking spastic colon.[/quote]

User avatar
Cr4zyb4rd
Plugins Czar
Posts: 1449
Joined: Tue Jul 20, 2004 11:46 am

Post by Cr4zyb4rd » Sun Sep 12, 2004 11:06 pm

Between you and your friend, you should be able to RTFM and figure out what needs to be done to get authorization working.

If your compiler can't find windows.h, I suspect that it's installed incorrectly, or you're not using the correct project files or somesuch. That include's something that your compiler should be able to find on its own for just about any file you compile, unless it's being told somewhere not to search through the default directories for such things.

Barring that, see TheNewGuy's #4

EqMule
Developer
Developer
Posts: 2697
Joined: Fri Jan 03, 2003 9:57 pm
Contact:

Post by EqMule » Mon Sep 13, 2004 5:17 am

Go to your tools->options menu in visual studio and check the directories tab, make sure the path to your include files are in that list.

That wont help u to compile though if u have not run mq2auth as was "pointed out" in the previous posts ;)
My status o/
If you like MQ2 and would like to contribute, please do. My goal is 25 donations per month.
So far I've received Image donations for this month's patches.

Bitcoin: 1Aq8ackjQ4f7AUvbUL7BE6oPfT8PmNP4Zq
Krono: PM me.
I can always use characters for testing, PM me if you can donate one.

Wardeth
decaying skeleton
decaying skeleton
Posts: 6
Joined: Sun Sep 12, 2004 5:02 pm

Post by Wardeth » Mon Sep 13, 2004 4:20 pm

Ok thanks...is Visual Studio c++ 6.0 or Visual Studio 6.0 free?

I've looked but cant find.