compiling with vcsed

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

Moderator: MacroQuest Developers

bladecurve
decaying skeleton
decaying skeleton
Posts: 6
Joined: Wed Mar 12, 2003 6:53 pm

compiling with vcsed

Post by bladecurve » Thu Mar 13, 2003 10:43 pm

ok i dont know what i am doing wrong but when i try to compile detour.h
with visual studio c++ 6.0 enterprise edition i reiceive an error. ok here is what i do i start oup vsc and create a new empty project and i add detour.h to it but when i try to compile it says cannot compile detour.h no compile tool is associated with that file extension. can someone give me an answer and not a flame

Jaerin
Developer
Developer
Posts: 133
Joined: Mon Mar 10, 2003 7:37 pm
Contact:

Post by Jaerin » Fri Mar 14, 2003 1:45 am

You don't create a project to compile it.

Run the exe to extract the files. Delete the include and lib dirs in that directory. Go to the directory in a command prompt and type nmake.

Jaerin

fan
decaying skeleton
decaying skeleton
Posts: 8
Joined: Sun Feb 02, 2003 4:39 am

Post by fan » Fri Mar 14, 2003 8:45 am

detour.h is just a header file there is nothing to compile.

I believe Jaerin is talking about the detours.exe file you obtain from microsoft.

Mckorr
Developer
Developer
Posts: 2326
Joined: Fri Oct 18, 2002 1:16 pm
Location: Texas

Post by Mckorr » Fri Mar 14, 2003 2:34 pm

No, you actually have to run nmake on the source code packaged in detours.exe. If you try to use the header or lib file that is already there then EQLib.dll won't compile. Not sure about the version packaged with the MQ source, but I'm willing to bet you get the same errors, since Plaz was using VC++ .NET and you are using VC++ 6.

bladecurve
decaying skeleton
decaying skeleton
Posts: 6
Joined: Wed Mar 12, 2003 6:53 pm

help with this also please

Post by bladecurve » Fri Mar 14, 2003 11:14 pm

ok can anyone go into detail how to do these following steps please
i copied them from another thread

5. Add the CINTERFACE definition to the Preprocess definitions.
6. Add the DX8.1 include path to the Additional include directories.
7. Add ws2_32.lib to the Object/library modules.
8. Add ..\Detours\lib (where you put the objects from 1.) to Additional library path

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

Post by Lane » Fri Mar 14, 2003 11:41 pm

You can probably find your answers in here. I know it helped me with the one thing I has wrong.

http://macroquest2.com/phpBB2/viewtopic.php?t=1940

-Lane