Newbie recompile blunder?

A forum for the general posts relating to MacroQuest. *DEPRECATED: This forum is no longer in public use, but remains here for your reading pleasure. Enjoy

Moderator: MacroQuest Developers

nemesis855
decaying skeleton
decaying skeleton
Posts: 6
Joined: Wed Sep 08, 2004 11:03 pm
Contact:

Newbie recompile blunder?

Post by nemesis855 » Fri Sep 24, 2004 9:40 pm

greetings all,
I suspect I've commited some sort of newbie blunder in recompiling tonight. My working copy of MQ2 stopped working with the recent EQ patch ("incorrect client version"). In a stroke of newbie "genius" , I figured I'd download the latest version and recompile. After the download, I decided the thing to do would be to start "fresh" and I went to the trouble of totally nuking my existing MQ2 directory. After unzipping into a new MQ directory, I reran MQ2Auth. At this point, I started the recompile and the errors below occurred:

------ Build started: Project: MQ2Main, Configuration: Release Win32 ------

Compiling...
MQ2Windows.cpp
d:\MQ2\MQ2Main\MQ2Main.h(602) : fatal error C1083: Cannot open include file: 'MQ2Auth0.h': No such file or directory
MQ2Utilities.cpp
d:\MQ2\MQ2Main\MQ2Main.h(602) : fatal error C1083: Cannot open include file: 'MQ2Auth0.h': No such file or directory
MQ2Spawns.cpp
d:\MQ2\MQ2Main\MQ2Main.h(602) : fatal error C1083: Cannot open include file: 'MQ2Auth0.h': No such file or directory
MQ2Pulse.cpp
d:\MQ2\MQ2Main\MQ2Main.h(602) : fatal error C1083: Cannot open include file: 'MQ2Auth0.h': No such file or directory
MQ2PluginHandler.cpp
d:\MQ2\MQ2Main\MQ2Main.h(602) : fatal error C1083: Cannot open include file: 'MQ2Auth0.h': No such file or directory
MQ2ParseAPI.cpp
d:\MQ2\MQ2Main\MQ2Main.h(602) : fatal error C1083: Cannot open include file: 'MQ2Auth0.h': No such file or directory
MQ2Mouse.cpp
d:\MQ2\MQ2Main\MQ2Main.h(602) : fatal error C1083: Cannot open include file: 'MQ2Auth0.h': No such file or directory
MQ2Main.cpp
d:\MQ2\MQ2Main\MQ2Main.h(602) : fatal error C1083: Cannot open include file: 'MQ2Auth0.h': No such file or directory
MQ2MacroCommands.cpp
d:\MQ2\MQ2Main\MQ2Main.h(602) : fatal error C1083: Cannot open include file: 'MQ2Auth0.h': No such file or directory
MQ2KeyBinds.cpp
d:\MQ2\MQ2Main\MQ2Main.h(602) : fatal error C1083: Cannot open include file: 'MQ2Auth0.h': No such file or directory
MQ2Globals.cpp
d:\MQ2\MQ2Main\MQ2Main.h(602) : fatal error C1083: Cannot open include file: 'MQ2Auth0.h': No such file or directory
MQ2DInput.cpp
d:\MQ2\MQ2Main\MQ2Main.h(602) : fatal error C1083: Cannot open include file: 'MQ2Auth0.h': No such file or directory
MQ2DetourAPI.cpp
d:\MQ2\MQ2Main\MQ2Main.h(602) : fatal error C1083: Cannot open include file: 'MQ2Auth0.h': No such file or directory
MQ2DataVars.cpp
d:\MQ2\MQ2Main\MQ2Main.h(602) : fatal error C1083: Cannot open include file: 'MQ2Auth0.h': No such file or directory
MQ2DataTypes.cpp
d:\MQ2\MQ2Main\MQ2Main.h(602) : fatal error C1083: Cannot open include file: 'MQ2Auth0.h': No such file or directory
MQ2DataAPI.cpp
d:\MQ2\MQ2Main\MQ2Main.h(602) : fatal error C1083: Cannot open include file: 'MQ2Auth0.h': No such file or directory
MQ2Data.cpp
d:\MQ2\MQ2Main\MQ2Main.h(602) : fatal error C1083: Cannot open include file: 'MQ2Auth0.h': No such file or directory
MQ2Commands.cpp
d:\MQ2\MQ2Main\MQ2Main.h(602) : fatal error C1083: Cannot open include file: 'MQ2Auth0.h': No such file or directory
MQ2CommandAPI.cpp
d:\MQ2\MQ2Main\MQ2Main.h(602) : fatal error C1083: Cannot open include file: 'MQ2Auth0.h': No such file or directory
MQ2CleanUI.cpp
d:\MQ2\MQ2Main\MQ2Main.h(602) : fatal error C1083: Cannot open include file: 'MQ2Auth0.h': No such file or directory
MQ2ChatHook.cpp
d:\MQ2\MQ2Main\MQ2Main.h(602) : fatal error C1083: Cannot open include file: 'MQ2Auth0.h': No such file or directory
MQ2Benchmarks.cpp
d:\MQ2\MQ2Main\MQ2Main.h(602) : fatal error C1083: Cannot open include file: 'MQ2Auth0.h': No such file or directory
MQ2Auth.cpp
d:\MQ2\MQ2Main\MQ2Main.h(602) : fatal error C1083: Cannot open include file: 'MQ2Auth0.h': No such file or directory
EQClasses.cpp
d:\MQ2\MQ2Main\MQ2Main.h(602) : fatal error C1083: Cannot open include file: 'MQ2Auth0.h': No such file or directory

Build log was saved at "file://d:\Mq2\MQ2Main\Intermediate\BuildLog.htm"
MQ2Main - 24 error(s), 0 warning(s)


------ Build started: Project: MQ2Map, Configuration: Release Win32 ------

Compiling...
MQ2MapCommands.cpp
EQLIB_IMPORTS
MQ2MapAPI.cpp
MQ2Map.cpp
Linking...
LINK : fatal error LNK1181: cannot open input file '..\Release\MQ2Main.lib'

Build log was saved at "file://d:\Mq2\MQ2Map\Intermediate\BuildLog.htm"
MQ2Map - 1 error(s), 0 warning(s)


------ Build started: Project: MQ2Telnet, Configuration: Release Win32 ------

Compiling...
WinTelnet.cpp
TelnetServer.cpp
EQLIB_IMPORTS
mq2telnet.cpp
EQLIB_IMPORTS
Linking...
LINK : fatal error LNK1181: cannot open input file '..\Release\MQ2Main.lib'

Build log was saved at "file://d:\Mq2\mq2telnet\Intermediate\BuildLog.htm"
MQ2Telnet - 1 error(s), 0 warning(s)


------ Build started: Project: MQ2Labels, Configuration: Release Win32 ------

Compiling...
MQ2Labels.cpp
EQLIB_IMPORTS
Linking...
LINK : fatal error LNK1181: cannot open input file '..\Release\MQ2Main.lib'

Build log was saved at "file://d:\Mq2\MQ2Labels\Intermediate\BuildLog.htm"
MQ2Labels - 1 error(s), 0 warning(s)


------ Build started: Project: MQ2ItemDisplay, Configuration: Release Win32 ------

Compiling...
MQ2ItemDisplay.cpp
EQLIB_IMPORTS
Linking...
LINK : fatal error LNK1181: cannot open input file '..\Release\MQ2Main.lib'

Build log was saved at "file://d:\Mq2\MQ2ItemDisplay\Intermediate\BuildLog.htm"
MQ2ItemDisplay - 1 error(s), 0 warning(s)


------ Build started: Project: MQ2Irc, Configuration: Release Win32 ------

Compiling...
MQ2Irc.cpp
EQLIB_IMPORTS
Linking...
LINK : fatal error LNK1181: cannot open input file '..\Release\MQ2Main.lib'

Build log was saved at "file://d:\Mq2\MQ2Irc\Intermediate\BuildLog.htm"
MQ2Irc - 1 error(s), 0 warning(s)


------ Build started: Project: MQ2HUD, Configuration: Release Win32 ------

Compiling...
MQ2HUD.cpp
EQLIB_IMPORTS
Linking...
LINK : fatal error LNK1181: cannot open input file '..\Release\MQ2Main.lib'

Build log was saved at "file://d:\Mq2\Mq2hud\Intermediate\BuildLog.htm"
MQ2HUD - 1 error(s), 0 warning(s)


------ Build started: Project: MQ2EQIM, Configuration: Release Win32 ------

Compiling...
MQ2EQIM.cpp
EQLIB_IMPORTS
Linking...
LINK : fatal error LNK1181: cannot open input file '..\Release\MQ2Main.lib'

Build log was saved at "file://d:\Mq2\Mq2eqim\Intermediate\BuildLog.htm"
MQ2EQIM - 1 error(s), 0 warning(s)


------ Build started: Project: MQ2EQBugFix, Configuration: Release Win32 ------

Compiling...
MQ2EQBugFix.cpp
EQLIB_IMPORTS
Linking...
LINK : fatal error LNK1181: cannot open input file '..\Release\MQ2Main.lib'

Build log was saved at "file://d:\Mq2\MQ2EQBugFix\Intermediate\BuildLog.htm"
MQ2EQBugFix - 1 error(s), 0 warning(s)


------ Build started: Project: MQ2CustomBinds, Configuration: Release Win32 ------

Compiling...
MQ2CustomBinds.cpp
EQLIB_IMPORTS
Linking...
LINK : fatal error LNK1181: cannot open input file '..\Release\MQ2Main.lib'

Build log was saved at "file://d:\Mq2\MQ2CustomBinds\Intermediate\BuildLog.htm"
MQ2CustomBinds - 1 error(s), 0 warning(s)


------ Build started: Project: MQ2ChatWnd, Configuration: Release Win32 ------

Compiling...
MQ2ChatWnd.cpp
EQLIB_IMPORTS
Linking...
LINK : fatal error LNK1181: cannot open input file '..\Release\MQ2Main.lib'

Build log was saved at "file://d:\Mq2\MQ2ChatWnd\Intermediate\BuildLog.htm"
MQ2ChatWnd - 1 error(s), 0 warning(s)


------ Build started: Project: MQ2Chat, Configuration: Release Win32 ------

Compiling...
MQ2Chat.cpp
EQLIB_IMPORTS
Linking...
LINK : fatal error LNK1181: cannot open input file '..\Release\MQ2Main.lib'

Build log was saved at "file://d:\Mq2\MQ2Chat\Intermediate\BuildLog.htm"
MQ2Chat - 1 error(s), 0 warning(s)


------ Build started: Project: MQ2Bzsrch, Configuration: Release Win32 ------

Compiling...
MQ2Bzsrch.cpp
EQLIB_IMPORTS
Linking...
LINK : fatal error LNK1181: cannot open input file '..\Release\MQ2Main.lib'

Build log was saved at "file://d:\Mq2\MQ2Bzsrch\Intermediate\BuildLog.htm"
MQ2Bzsrch - 1 error(s), 0 warning(s)


---------------------- Done ----------------------

Build: 0 succeeded, 13 failed, 0 skipped

I also tried copying MQ2Auth0.h into the MQMain2 subdirectory without success. I'm running Windows XP Pro (SP2). I'm using Visual C++.NET (2003) to compile. I would appreciate any ideas on how to fix this, especially if its something obvious. Thanks in advance.

nemesis855

User avatar
htw
a grimling bloodguard
a grimling bloodguard
Posts: 512
Joined: Wed Feb 18, 2004 8:30 pm
Location: Albuquerque, NM USA
Contact:

Post by htw » Fri Sep 24, 2004 10:14 pm

Try this then:

1) Click Start, then Run, in the Open box, type: cmd <press enter>
2) type: D: <press enter>
3) type: CD \MQ2 <press enter>
4) type: MQ2AUTH <press enter>
5) type: exit <press enter>
6) Open up VS.NET, select the Macroquest project from the MQ2 directory, and clean/build solution.

nemesis855
decaying skeleton
decaying skeleton
Posts: 6
Joined: Wed Sep 08, 2004 11:03 pm
Contact:

Post by nemesis855 » Fri Sep 24, 2004 10:29 pm

htw wrote:Try this then:

1) Click Start, then Run, in the Open box, type: cmd <press enter>
2) type: D: <press enter>
3) type: CD \MQ2 <press enter>
4) type: MQ2AUTH <press enter>
5) type: exit <press enter>
6) Open up VS.NET, select the Macroquest project from the MQ2 directory, and clean/build solution.
Thanks for responding. The "clean" ran fine. Unfortunately, "build solution" (after re-running MQ2AUTH) gave me the same errors as before.

nemesis855

User avatar
htw
a grimling bloodguard
a grimling bloodguard
Posts: 512
Joined: Wed Feb 18, 2004 8:30 pm
Location: Albuquerque, NM USA
Contact:

Post by htw » Fri Sep 24, 2004 10:49 pm

Hmm. If you look in D:\MQ2\MQ2Main directory, do you see the MQ2Auth0.h file?

How did you initially open the solution with VS.NET, and did it request to convert the projects, and did you tell it to do so?

htw

nemesis855
decaying skeleton
decaying skeleton
Posts: 6
Joined: Wed Sep 08, 2004 11:03 pm
Contact:

Post by nemesis855 » Fri Sep 24, 2004 11:09 pm

htw wrote:Hmm. If you look in D:\MQ2\MQ2Main directory, do you see the MQ2Auth0.h file?

How did you initially open the solution with VS.NET, and did it request to convert the projects, and did you tell it to do so?

htw
Question 1: No, its in D:\MQ2. Should I manually move?
Question 2: Initially, I clicked on the workspace link in the MQ2 folder. It did request to convert the projects and I allowed it to do so.

Thanks again.
nemesis855

Vaft
a lesser mummy
a lesser mummy
Posts: 69
Joined: Fri Mar 07, 2003 6:39 am

Post by Vaft » Sat Sep 25, 2004 12:12 am

when you unzipped , did you preserve directory structure, or did it drag and drop all into one directory?

MacroFiend
a grimling bloodguard
a grimling bloodguard
Posts: 662
Joined: Mon Jul 28, 2003 2:47 am

Post by MacroFiend » Sat Sep 25, 2004 9:34 am

Make sure you are building the Release version and not the Debug version also. (Haven't tried it in a while but I remember Debug always throwing a ton of errors)

User avatar
htw
a grimling bloodguard
a grimling bloodguard
Posts: 512
Joined: Wed Feb 18, 2004 8:30 pm
Location: Albuquerque, NM USA
Contact:

Post by htw » Sat Sep 25, 2004 11:07 am

Question 1: No, its in D:\MQ2. Should I manually move?
Yes.

eqjoe
a grimling bloodguard
a grimling bloodguard
Posts: 984
Joined: Sat Sep 28, 2002 12:26 pm

Post by eqjoe » Sat Sep 25, 2004 10:30 pm

I think it would be really cool if you noobs would keep posts asking for help in the ...er.... HELP forum.


-j

Lane
a hill giant
a hill giant
Posts: 201
Joined: Fri Dec 06, 2002 11:57 am

Post by Lane » Sat Sep 25, 2004 11:13 pm

In a stroke of newbie "genius"
This is totally funny. :) Sorry to take up another 10 seconds of your life.

-Lane
I Macroquest, therefor I am!

Zeus
a hill giant
a hill giant
Posts: 180
Joined: Wed Feb 19, 2003 10:03 am
Contact:

Post by Zeus » Sun Sep 26, 2004 6:00 pm

Well this made me laugh so, try this if you still getting errors, on the compiler right click on the mq2main fodler and click on add existing item, when the window opens select the mq2auth0.h. The other errors looked like if you had mq running at the same time you tried to compile.

Hope that helps~

nemesis855
decaying skeleton
decaying skeleton
Posts: 6
Joined: Wed Sep 08, 2004 11:03 pm
Contact:

Post by nemesis855 » Sun Sep 26, 2004 9:32 pm

Well, I'm sure you will all be "thrilled" to learn I solved my problem. Thank you all for your suggestions (and yes, I should have posted this originally to the 'help' forum ... wasn't paying attention).

Anyway, I'm not sure which (if any) of the steps below did the trick, but this is what I did:

1) deleted all the MQ2 projects from the Solution Explorer
2) deleted the existing MQ2Auth0.h from D:\MQ2
3) re-ran MQ2Auth
4) re-compiled

Everything is now working as before.

nemesis855