Compiling with VC6.0 -- read this!

A forum for feature requests/discussions and user submitted patches that improve MQ2

Moderator: MacroQuest Developers

XXSTEVEXX
decaying skeleton
decaying skeleton
Posts: 3
Joined: Mon Sep 08, 2003 12:32 am

what is CD?

Post by XXSTEVEXX » Tue Sep 09, 2003 4:03 am

in the 11 step how to make MQ work that Dont_know_at _all wrote he mentions "cd" what abbreviation is that for, i did compile the detour file WooT !! but i was stoped at the "CD macroquest/lib" i dont know exactly what that means :oops:

User avatar
ap50
a snow griffon
a snow griffon
Posts: 425
Joined: Sun Aug 18, 2002 2:29 pm

Post by ap50 » Tue Sep 09, 2003 4:37 am

CD or the lesser used CHDIR is the command for Change Directory
[color=yellow][size=92][b]Just because you're paranoid, it doesn't mean everyone isn't out to get you![/b][/size][/color]

User avatar
fice
a hill giant
a hill giant
Posts: 187
Joined: Thu Jul 17, 2003 3:28 pm

Post by fice » Sat Oct 18, 2003 2:54 pm

noob question inc, does this work with make?

been trying but i get

Code: Select all

makefile:20: *** missing separator.  Stop.

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 » Sun Oct 19, 2003 3:44 am

it does not work with make -- only nmake.

User avatar
MDewHead
orc pawn
orc pawn
Posts: 28
Joined: Fri Oct 31, 2003 4:08 am

Post by MDewHead » Fri Oct 31, 2003 6:54 am

dont_know_at_all wrote:1. if using VC60, get dxsdk (or dinput.h from DX8.1 or greater)
2. cvs co macroquest
3. if using VC60, get and compile detours. put detours.lib in macroquest\detours\lib
4. cd macroquest\eqlib
5. if using VC60, modify the makefile line 1 to point to the 8.1 dinput.h
6. nmake
7. cd ..
8. nmake
9. cd Release
10. macroquest.exe
11. earn ph47 l00ts.
This is no longer pertinent correct? The .zip files included the dinput.h when I downloaded them. All I did was build eqlib.dll and macroquest.exe.

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 Oct 31, 2003 7:21 pm

you can now skip steps 1, 3, and 5.

Rassilon
a lesser mummy
a lesser mummy
Posts: 73
Joined: Thu Sep 04, 2003 6:34 pm

Post by Rassilon » Thu Nov 06, 2003 12:48 am

This is what I get when trying to Build Macroquest.exe. I have not had any problems before compiling and I'm using the latest CVS from the homepage.

Code: Select all

--------------------Configuration: eqlib - Win32 Release--------------------
Compiling...
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_UI.cpp
EQLib_Utilities.cpp
EQLib_Custom.cpp
Generating Code...
Linking...
   Creating library Release/eqlib.lib and object Release/eqlib.exp
EQLib_Interp.obj : error LNK2001: unresolved external symbol "void __cdecl DeclareVar(struct _SPAWNINFO *,char *)" (?DeclareVar@@YAXPAU_SPAWNINFO@@PAD@Z)
..\Release\eqlib.dll : fatal error LNK1120: 1 unresolved externals
Error executing link.exe.

macroquest.exe - 2 error(s), 0 warning(s)
Any ideas what the problem is?

Thanks,

Rass

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 Nov 06, 2003 3:26 am

VS6.0: eqlib.dsp is out of date
VS7.0: eqlib.vcproj is out of date.

By a month in either case.

User avatar
Kint
a hill giant
a hill giant
Posts: 208
Joined: Thu Mar 13, 2003 3:36 am

Post by Kint » Mon Nov 10, 2003 3:32 pm

feeling like a noob, getting these errors:

Code: Select all

--------------------Configuration: eqlib - Win32 Release--------------------
Linking...
   Creating library Release/eqlib.lib and object Release/eqlib.exp
EQLib_Interp.obj : error LNK2001: unresolved external symbol "void __cdecl HookCustomItems(int)" (?HookCustomItems@@YAXH@Z)
EQLib_Interp.obj : error LNK2001: unresolved external symbol "void __cdecl CustomModifications_Cleanup(void)" (?CustomModifications_Cleanup@@YAXXZ)
..\Release\eqlib.dll : fatal error LNK1120: 2 unresolved externals
Error executing link.exe.
I've only added some stuff to my EQLib_macroparser.cpp file and EQLib_Custom.cpp file. the changes worked 3 days ago.
Anyone know what's wrong?

EDIT: there was a recent update to the custom.cpp file. fixed now, but make sure your EQLib_Custom.cpp file is up to date for future reference.

Kaicklu
decaying skeleton
decaying skeleton
Posts: 2
Joined: Mon Nov 24, 2003 2:22 am

newb

Post by Kaicklu » Mon Nov 24, 2003 2:27 am

Ok, I know that C++ is a programing language (No shit sherlock), and I know that I need Visual C++ (the compiler?)... Is Visual C++ Free? I can't seem to find a download for it, and it suggests I buy it. Buying it isn't a problem, but is there a free download?

Kaicklu
decaying skeleton
decaying skeleton
Posts: 2
Joined: Mon Nov 24, 2003 2:22 am

newb

Post by Kaicklu » Mon Nov 24, 2003 2:27 am

Double posting is teh lose :oops:

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

Post by Mckorr » Mon Nov 24, 2003 11:42 am

No, there is no free version of Visual C++. It's a Microsoft product, and Bill doesn't give anything away :)

User avatar
operat0r
RTFM, then ask again
Posts: 61
Joined: Thu Aug 28, 2003 2:04 am

update script for MQ

Post by operat0r » Mon Jan 05, 2004 1:17 pm

install .NET and winrar and your set :)


update script for MQ http://macroquest2.com/phpBB2/viewtopic ... highlight=
with love moron #6895423686

wardave
a ghoul
a ghoul
Posts: 120
Joined: Sun Jan 25, 2004 4:38 am

Question

Post by wardave » Sun Jan 25, 2004 4:39 am

When I tried to complile I keep getting errors in reference to the same file and I followed the steps.

C:\MQ\MQ2Main\MQ2Main.h(513) : fatal error C1083: Cannot open include file: 'MQ2Auth0.h': No such file or directory
MQ2Auth.cpp


Any ideas?

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 » Sun Jan 25, 2004 4:43 am

Crash and burn.