Page 1 of 1

Newbie recompile blunder?

Posted: Fri Sep 24, 2004 9:40 pm
by nemesis855
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

Posted: Fri Sep 24, 2004 10:14 pm
by htw
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.

Posted: Fri Sep 24, 2004 10:29 pm
by nemesis855
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

Posted: Fri Sep 24, 2004 10:49 pm
by htw
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

Posted: Fri Sep 24, 2004 11:09 pm
by nemesis855
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

Posted: Sat Sep 25, 2004 12:12 am
by Vaft
when you unzipped , did you preserve directory structure, or did it drag and drop all into one directory?

Posted: Sat Sep 25, 2004 9:34 am
by MacroFiend
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)

Posted: Sat Sep 25, 2004 11:07 am
by htw
Question 1: No, its in D:\MQ2. Should I manually move?
Yes.

Posted: Sat Sep 25, 2004 10:30 pm
by eqjoe
I think it would be really cool if you noobs would keep posts asking for help in the ...er.... HELP forum.


-j

Posted: Sat Sep 25, 2004 11:13 pm
by Lane
In a stroke of newbie "genius"
This is totally funny. :) Sorry to take up another 10 seconds of your life.

-Lane

Posted: Sun Sep 26, 2004 6:00 pm
by Zeus
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~

Posted: Sun Sep 26, 2004 9:32 pm
by nemesis855
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