Cant get MQ2 to Compile

This is how not to ask for help
BigDaddyDinDin
orc pawn
orc pawn
Posts: 11
Joined: Fri Aug 27, 2004 3:22 pm
Location: USA

Cant get MQ2 to Compile

Post by BigDaddyDinDin » Tue Mar 15, 2005 7:50 am

OK, I have searched and read and searched and read some more and I still can get the latest MQ2 to compile. Here is what I tried:

Download the MacroQuest2 source files
Unzip it into any new folder called c:\MQ
Go to the newly created folder and double click MQ2Auth.exe
Double click macroquest2.dsw file. This will Open Visual C++
Select Build -> Set Active Config and select MQ2main. Click OK
Select Build -> Build MQ2main.dll or press F7
Select Build -> Batch Build. Make sure everything in the batch build window that says release has a check by it

But it gives a ton of errors, 111 to be exact.

I have included a snipet of the errors given below:

--------------------Configuration: MQ2Main - Win32 Release--------------------
Compiling...
EQClasses.cpp
C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\xtree(629) : error C2059: syntax error : '?'
C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\xtree(629) : error C2065: '_Y' : undeclared identifier
C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\xtree(629) : error C2275: '_A' : illegal use of this type as an expression
C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\xtree(629) : error C2143: syntax error : missing ',' before ')'
C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\xtree(631) : error C2951: template declarations are only permitted at global or namespace scope
C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\xtree(632) : error C2976: '_Tree' : too few template arguments
C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\xtree(602) : see declaration of '_Tree'
C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\xtree(633) : error C2143: syntax error : missing ',' before '<='
C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\xtree(633) : error C2433: 'bool' : 'inline' not permitted on data declarations
C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\xtree(633) : error C2059: syntax error : 'operator <op>'
C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\xtree(635) : error C2143: syntax error : missing ')' before '{'
C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\xtree(635) : error C2059: syntax error : '{'

Any ideas on what I am doing incorrectly?

Here is the link in Wiki
[[http://www.macroquest2.com/wiki/index.p ... :Compiling]]

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

Post by TheNewGuy » Tue Mar 15, 2005 7:52 am

How about you try to compile the entire project instead of just MQ2Main.

Tires don't spin without an engine, ya'know.
[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]

bloodurst
a lesser mummy
a lesser mummy
Posts: 56
Joined: Wed Sep 01, 2004 4:53 pm
Contact:

Post by bloodurst » Tue Mar 15, 2005 8:34 am

Select Build -> Set Active Config and select MQ2main. Click OK
Select Build -> Build MQ2main.dll or press F7
Select Build -> Batch Build. Make sure everything in the batch build window that says release has a check by it
Should be:
Select Build -> Set Active Config and select MQ2main. Click OK
Select Build -> Batch Build. Make sure everything in the batch build window that says release has a check by it

Lax
We're not worthy!
We're not worthy!
Posts: 3524
Joined: Thu Oct 17, 2002 1:01 pm
Location: ISBoxer
Contact:

Post by Lax » Tue Mar 15, 2005 11:56 am

The instructions say to make a change on the wiki, not to link a page thats already there with complete instructions.

However, your issue has nothing to do with MQ2 -- your errors are in xtree, which we dont use (at least not directly, I have no idea if STL wants to use it on its own). In all likelihood, you need to reinstall visual studio, or download the service packs.
Lax Lacks
Master of MQ2 Disaster
Purveyor of premium, EULA-safe MMORPG Multiboxing Software
* Multiboxing with ISBoxer: Quick Start Video
* EQPlayNice, WinEQ 2.0