Help compiling the latest CVS release

Need help running MacroQuest 1? Too bad! Use MQ2.

Moderator: MacroQuest Developers

keflex
Contributing Member
Contributing Member
Posts: 11
Joined: Tue Mar 25, 2003 1:27 pm

Help compiling the latest CVS release

Post by keflex » Fri May 30, 2003 10:01 am

Ok, just dloaded the latest CVS release. Went through all the steps (create project, etc. etc.) and got the following:

Code: Select all

--------------------Configuration: eqlib - Win32 Debug--------------------
Compiling resources...
Compiling...
CQueue.cpp
EQLib.cpp
c:\temp\macroquest\eqlib\eqlib.cpp(154) : error C2371: 'OurDetours' : redefinition; different basic types
        c:\temp\macroquest\eqlib\eqlib.h(244) : see declaration of 'OurDetours'
c:\temp\macroquest\eqlib\eqlib.cpp(158) : error C2371: 'ourdetours' : redefinition; different basic types
        c:\temp\macroquest\eqlib\eqlib.h(246) : see declaration of 'ourdetours'
c:\temp\macroquest\eqlib\eqlib.cpp(1060) : error C2070: illegal sizeof operand
EQLib_Commands.cpp
EQLib_Hooks.cpp
EQLib_Interp.cpp
EQLib_MacroCommands.cpp
EQLib_MacroParser.cpp
EQLib_Main.cpp
EQLib_MemChecks.cpp
EQLib_Mouse.cpp
EQLib_TelnetServer.cpp
EQLib_Utilities.cpp
events.cpp
PerlMod.cpp
PerlModCore.cpp
stdafx.cpp
timers.cpp
Error executing cl.exe.

eqlib.dll - 3 error(s), 0 warning(s)
I'm using VC 6.0 and am currently at a loss as to what to do now. Did a search using keyword "OurDetours" and got no pertinent returns. Any help would be appreciated.

User avatar
dont_know_at_all
Developer
Developer
Posts: 5450
Joined: Sun Dec 01, 2002 4:15 am
Location: Florida, USA
Contact:

Post by dont_know_at_all » Fri May 30, 2003 12:48 pm

Use the makefile.

Eqlib.cpp is no longer used. I left it in the depot for reference.

keflex
Contributing Member
Contributing Member
Posts: 11
Joined: Tue Mar 25, 2003 1:27 pm

Post by keflex » Fri May 30, 2003 4:19 pm

Thanks, appreciate the quick response.

SynMonger
decaying skeleton
decaying skeleton
Posts: 2
Joined: Tue Apr 29, 2003 12:44 am

Post by SynMonger » Wed Jun 18, 2003 11:10 pm

So what was the fix for this problem? unload it from the project?
What does THIS button do??

User avatar
dont_know_at_all
Developer
Developer
Posts: 5450
Joined: Sun Dec 01, 2002 4:15 am
Location: Florida, USA
Contact:

Post by dont_know_at_all » Thu Jun 19, 2003 3:29 am

if you make your own project, it won't work right.

either use the makefile or the project files supplied.