Page 1 of 1

Okay, what am I missing? (compile error)

Posted: Thu Jul 14, 2005 4:52 am
by Ices
Been fiddling with this release, trying to get it to compile all day (and night, now) and just can't get it to work. Can anyone tell me what I'm missing?

------ Build started: Project: MQ2Main, Configuration: Release Win32 ------
Compiling...
EQClasses.cpp
.\EQClasses.cpp(125) : error C3068: 'EQClasses::CStmlWnd::AppendSTML' : a 'naked' function cannot contain objects that would require unwinding if a C++ exception occurred
Build log was saved at "file://c:\Documents and Settings\SecretSlasher\Desktop\MQ2-20050711\MQ2Main\Intermediate\BuildLog.htm"
MQ2Main - 1 error(s), 0 warning(s)
------ Build started: Project: MQ2Map, Configuration: Release Win32 ------
Linking...
LINK : fatal error LNK1181: cannot open input file '..\Release\MQ2Main.lib'
Build log was saved at "file://c:\Documents and Settings\SecretSlasher\Desktop\MQ2-20050711\MQ2Map\Intermediate\BuildLog.htm"
MQ2Map - 1 error(s), 0 warning(s)
------ Build started: Project: MQ2Telnet, Configuration: Release Win32 ------
Linking...
LINK : fatal error LNK1181: cannot open input file '..\Release\MQ2Main.lib'
Build log was saved at "file://c:\Documents and Settings\SecretSlasher\Desktop\MQ2-20050711\mq2telnet\Intermediate\BuildLog.htm"
MQ2Telnet - 1 error(s), 0 warning(s)
------ Build started: Project: MQ2Labels, Configuration: Release Win32 ------
Linking...
LINK : fatal error LNK1181: cannot open input file '..\Release\MQ2Main.lib'
Build log was saved at "file://c:\Documents and Settings\SecretSlasher\Desktop\MQ2-20050711\MQ2Labels\Intermediate\BuildLog.htm"
MQ2Labels - 1 error(s), 0 warning(s)
------ Build started: Project: MQ2ItemDisplay, Configuration: Release Win32 ------
Linking...
LINK : fatal error LNK1181: cannot open input file '..\Release\MQ2Main.lib'
Build log was saved at "file://c:\Documents and Settings\SecretSlasher\Desktop\MQ2-20050711\MQ2ItemDisplay\Intermediate\BuildLog.htm"
MQ2ItemDisplay - 1 error(s), 0 warning(s)
------ Build started: Project: MQ2Irc, Configuration: Release Win32 ------
Linking...
LINK : fatal error LNK1181: cannot open input file '..\Release\MQ2Main.lib'
Build log was saved at "file://c:\Documents and Settings\SecretSlasher\Desktop\MQ2-20050711\MQ2Irc\Intermediate\BuildLog.htm"
MQ2Irc - 1 error(s), 0 warning(s)
------ Build started: Project: MQ2HUD, Configuration: Release Win32 ------
Linking...
LINK : fatal error LNK1181: cannot open input file '..\Release\MQ2Main.lib'
Build log was saved at "file://c:\Documents and Settings\SecretSlasher\Desktop\MQ2-20050711\MQ2HUD\Intermediate\BuildLog.htm"
MQ2HUD - 1 error(s), 0 warning(s)
------ Build started: Project: MQ2EQIM, Configuration: Release Win32 ------
Linking...
LINK : fatal error LNK1181: cannot open input file '..\Release\MQ2Main.lib'
Build log was saved at "file://c:\Documents and Settings\SecretSlasher\Desktop\MQ2-20050711\MQ2EQIM\Intermediate\BuildLog.htm"
MQ2EQIM - 1 error(s), 0 warning(s)
------ Build started: Project: MQ2EQBugFix, Configuration: Release Win32 ------
Linking...
LINK : fatal error LNK1181: cannot open input file '..\Release\MQ2Main.lib'
Build log was saved at "file://c:\Documents and Settings\SecretSlasher\Desktop\MQ2-20050711\MQ2EQBugFix\Intermediate\BuildLog.htm"
MQ2EQBugFix - 1 error(s), 0 warning(s)
------ Build started: Project: MQ2CustomBinds, Configuration: Release Win32 ------
Linking...
LINK : fatal error LNK1181: cannot open input file '..\Release\MQ2Main.lib'
Build log was saved at "file://c:\Documents and Settings\SecretSlasher\Desktop\MQ2-20050711\MQ2CustomBinds\Intermediate\BuildLog.htm"
MQ2CustomBinds - 1 error(s), 0 warning(s)
------ Build started: Project: MQ2ChatWnd, Configuration: Release Win32 ------
Linking...
LINK : fatal error LNK1181: cannot open input file '..\Release\MQ2Main.lib'
Build log was saved at "file://c:\Documents and Settings\SecretSlasher\Desktop\MQ2-20050711\MQ2ChatWnd\Intermediate\BuildLog.htm"
MQ2ChatWnd - 1 error(s), 0 warning(s)
------ Build started: Project: MQ2Chat, Configuration: Release Win32 ------
Linking...
LINK : fatal error LNK1181: cannot open input file '..\Release\MQ2Main.lib'
Build log was saved at "file://c:\Documents and Settings\SecretSlasher\Desktop\MQ2-20050711\MQ2Chat\Intermediate\BuildLog.htm"
MQ2Chat - 1 error(s), 0 warning(s)
------ Build started: Project: MQ2Bzsrch, Configuration: Release Win32 ------
Linking...
LINK : fatal error LNK1181: cannot open input file '..\Release\MQ2Main.lib'
Build log was saved at "file://c:\Documents and Settings\SecretSlasher\Desktop\MQ2-20050711\MQ2Bzsrch\Intermediate\BuildLog.htm"
MQ2Bzsrch - 1 error(s), 0 warning(s)
========== Build: 0 succeeded, 13 failed, 0 up-to-date, 0 skipped ==========

http://www.macroquest2.com/wiki/index.p ... :Compiling

Posted: Thu Jul 14, 2005 4:56 am
by Frank25
LINK : fatal error LNK1181: cannot open input file '..\Release\MQ2Main.lib'
the 13 times that came by give you the clue you need :)

Posted: Thu Jul 14, 2005 4:57 am
by Ices
I understand that, but where is the MQ2Main.lib file supposed to go? I tried putting it in the lib directory, but that didn't change anything.

Posted: Thu Jul 14, 2005 5:00 am
by Ices
K, im a moron, fixed that issue, now I have another couple of error messages.

".\EQClasses.cpp(125) : error C3068: 'EQClasses::CStmlWnd::AppendSTML' : a 'naked' function cannot contain objects that would require unwinding if a C++ exception occurred"

and

"LINK : fatal error LNK1104: cannot open file 'detours.lib'"

Any ideas?

Posted: Thu Jul 14, 2005 5:06 am
by Ices
Okay, I've gotten 12 out of the 13 files to compile, the only one I'm still having issues with is the EQclasses.cpp, which gives me the following error.

".\EQClasses.cpp(125) : error C3068: 'EQClasses::CStmlWnd::AppendSTML' : a 'naked' function cannot contain objects that would require unwinding if a C++ exception occurred"

I'm so close to getting this done, can someone please give me an idea?

Posted: Thu Jul 14, 2005 5:10 am
by dont_know_at_all
VS.NET 2005 Beta compiler is NOT supported. See the wiki entries on compiling.

Posted: Thu Jul 14, 2005 5:17 am
by Ices
then why does the wiki say I can download it if I dont want to pay for a compiler? o.0

Posted: Thu Jul 14, 2005 5:23 am
by Ices
And I have visual studio .net 2003, but whenever I open the project files, I get all sorts of errors, no matter what I do.

When I try and open the .sln file, it tells me that
"the application for project *.vcproj is not installed. Make sure the application for .vcproj is installed."

where the *.vcproj is every .vcproj file in the project.

and when I open the .dsw file, it tells me that the .dsp files have been corrupted and cannot be opened. Visual Studio 2005 beta is the only thing I can get to even OPEN the project files.

Posted: Thu Jul 14, 2005 7:47 am
by skyler
There is an edit button for a reason. When your 2 brain cells rub together and create a spark, you post. The next time those 2 rub together, use the edit function and add to/change your last comment. We don't need a thread full of posts from the same person over and over.

Posted: Thu Jul 14, 2005 8:04 am
by Ices
"There is an edit button for a reason. When your 2 brain cells rub together and create a spark, you post. The next time those 2 rub together, use the edit function and add to/change your last comment. We don't need a thread full of posts from the same person over and over."

Nor do we need someone posting just for the sake of flaming someone.

Posted: Thu Jul 14, 2005 8:40 am
by koad
If your using vs.net2003, try opening the MacroQuest2.sln solution file in the root of your unzipped files to get it to load the workspaces, and it should ask you to convert them and then be able to be compiled by vs.

Posted: Thu Jul 14, 2005 9:17 am
by TheNewGuy
Ices wrote:then why does the wiki say I can download it if I dont want to pay for a compiler? o.0
If it's wrong, fix it. Looking at it and stating that's wrong is just fucking lazy.

Posted: Thu Jul 14, 2005 9:35 am
by Lax
Ices wrote:then why does the wiki say I can download it if I dont want to pay for a compiler? o.0
It doesnt. Where do you think it says that?
And I have visual studio .net 2003, but whenever I open the project files, I get all sorts of errors, no matter what I do.

When I try and open the .sln file, it tells me that
"the application for project *.vcproj is not installed. Make sure the application for .vcproj is installed."

where the *.vcproj is every .vcproj file in the project.

and when I open the .dsw file, it tells me that the .dsp files have been corrupted and cannot be opened. Visual Studio 2005 beta is the only thing I can get to even OPEN the project files.
You dont want to open the .dsw or .dsp files, those are from visual studio 6. Just open the damn development environment, and open the solution file from the file menu. It's not rocket science..

If it's telling you the app for .vcproj is not installed, reinstall visual studio if you want to open them directly. Otherwise, open the .sln files. I never open them directly through explorer anyway, personally.