Compiling with VC6.0 -- read this!

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

Moderator: MacroQuest Developers

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 02, 2003 4:36 pm

Do a google search on that phrase. I know there is a solution for that.

eqjoe
a grimling bloodguard
a grimling bloodguard
Posts: 984
Joined: Sat Sep 28, 2002 12:26 pm

Post by eqjoe » Fri May 02, 2003 7:30 pm

You have to modify a shell for more env space. Create a shortcut to c:\command on your desktop. Right click it and make your changes. Another way to do this is to make a short cut for your batch file and modify it to not close after the batch file has run.

This is not rocket science..... just windows for gosh sakes.

DrMadd
a lesser mummy
a lesser mummy
Posts: 43
Joined: Tue Jun 03, 2003 1:03 pm

Re: this works...

Post by DrMadd » Tue Jun 03, 2003 2:01 pm

EqMule00 wrote: 5. In the Authentication field choose the '"passwd" file on the cvs server' option[/color] [/size]

I am running WinCVS 1.3.13.1 Beta 13 Build 1.


I do not get the option to choose the "passwd" file on the cvs server. ??? In the dropdown box I get

local
pserver
rhosts
ntserver
gserver
sspi
server
ssh



MadD

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

Post by Mckorr » Tue Jun 03, 2003 2:10 pm

WinCVS is kinda picky. Instead of using the login, etc. menu items use the command line one instead. You get a box, cut and paste the commands from the MQ CVS first page into it. You may have to hammer at the server a bit to get it to log in.

Oh, and the Sourceforge instructions are written for WinCVS 1.2. Use that one instead, they altered a bunch of stuff for 1.3 that causes problems with Sourceforge instructions.
MQ2: Think of it as Evolution in action.

Valerian
a grimling bloodguard
a grimling bloodguard
Posts: 709
Joined: Sun Jul 28, 2002 3:29 am

Post by Valerian » Tue Jun 03, 2003 4:49 pm

pserver == passwd file on server

DrMadd
a lesser mummy
a lesser mummy
Posts: 43
Joined: Tue Jun 03, 2003 1:03 pm

Post by DrMadd » Tue Jun 03, 2003 7:48 pm

Is there any free version of Visual Studio that will work with this? Or do I have to go out and buy the whole thing ?


I have one of those cheezy learn c++ in 24 hrs disk that has a compiler on it... Is that all I need or do I need more?

maq0r
a lesser mummy
a lesser mummy
Posts: 43
Joined: Fri Jan 03, 2003 10:09 am

Post by maq0r » Tue Jun 03, 2003 9:34 pm

Just downloaded fresh copy from CVS

Have VS 6 , Environment is set , getting this error

C:\Macroquest\macroquest\EQLib>nmake

Microsoft (R) Program Maintenance Utility Version 6.00.8168.0
Copyright (C) Microsoft Corp 1988-1998. All rights reserved.

makefile(5) : fatal error U1035: syntax error : expected ':' or '=' separator
Stop.p

maq0r
a lesser mummy
a lesser mummy
Posts: 43
Joined: Fri Jan 03, 2003 10:09 am

Post by maq0r » Tue Jun 03, 2003 9:50 pm

nm

For some reason WINCVS Downloaded them as binar yor something and added the ^n thingies at the end of every line.

Had to get into the CVS with the browser and select all / copy / paste.

Now getting this error:
link.exe kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib adv
api32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ws
2_32.lib /nologo /dll /incremental:no /debug /pdb:"..\Release\eqlib.pdb"
/machine:I386 /out:"..\Release\eqlib.dll" /implib:"..\Release\eqlib.lib" /libp
ath:"..\Detours\lib60" ".\Release\EQLib_Commands.obj" ".\Release\EQLib_Hooks.ob
j" ".\Release\EQLib_Interp.obj" ".\Release\EQLib_MacroCommands.obj" ".\Releas
e\EQLib_MacroParser.obj" ".\Release\EQLib_Main.obj" ".\Release\EQLib_MemChecks
.obj" ".\Release\EQLib_Mouse.obj" ".\Release\EQLib_TelnetServer.obj" ".\Relea
se\EQLib_Utilities.obj" ".\Release\PerlMod.obj" ".\Release\PerlModCore.obj" "
.\Release\stdafx.obj" ".\Release\timers.obj" ".\Release\EQLib.res"
..\Detours\lib60\detours.lib : warning LNK4003: invalid library format; library
ignored
Creating library ..\Release\eqlib.lib and object ..\Release\eqlib.exp
..\Detours\lib60\detours.lib : warning LNK4003: invalid library format; library
ignored
EQLib_Hooks.obj : error LNK2001: unresolved external symbol _DetourRemove@8
EQLib_MemChecks.obj : error LNK2001: unresolved external symbol _DetourRemove@8
EQLib_Hooks.obj : error LNK2001: unresolved external symbol _DetourFunction@8
EQLib_MemChecks.obj : error LNK2001: unresolved external symbol _DetourFunction@
8
EQLib_Hooks.obj : error LNK2001: unresolved external symbol _DetourFunctionWithE
mptyTrampoline@12
..\Release\eqlib.dll : fatal error LNK1120: 3 unresolved externals
NMAKE : fatal error U1077: 'link.exe' : return code '0x460'
Stop.

I downloaded Detours from MS, deleted the files in inc and lib, then went to src and typed nmake, copied the files it created in inc and lib to the dirs in macroquest/Detours/inc and /lib,/lib60 respectively, nmake again and same error.



------------------ FIXED IT BY MYSELF ---------------

Just click on Check out Text files with the unix LF on Globals on perferences in WinCVS (Leaving the whole message , someone might have ths issue )

benwin65
decaying skeleton
decaying skeleton
Posts: 3
Joined: Thu Dec 12, 2002 11:54 am

It Works

Post by benwin65 » Fri Jun 06, 2003 8:49 pm

Step bye step works great !

if u get "out of Environment space", use this LINK for help

huckleberry
orc pawn
orc pawn
Posts: 18
Joined: Thu Jan 16, 2003 12:37 am

Post by huckleberry » Mon Jun 16, 2003 8:01 pm

following directions here but I am getting aborted out of CVS ... is the server down or something .. worked on Jun 12th?

YKW-28983
a hill giant
a hill giant
Posts: 252
Joined: Sun Dec 01, 2002 11:37 pm

Post by YKW-28983 » Sat Jul 05, 2003 3:16 pm

hmmm downloaded cvs files, installed vs 6.0, opened up dos prompt typed the required commands... and am indeed gettihg phat loots... It's not difficult guys... you just need to read =\ maybe you should input that the nmake commands need to be put into the ms-dos prompt? my guess is they are trying to do this from command line of cvs..

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

Post by Mckorr » Mon Jul 07, 2003 7:52 am

lol You know I never thought that someone might be trying that. I think we all kind of assumed people would know to use the DOS command line... I know way back when I DID explain what the command console was and how to get to it to compile Detours.
MQ2: Think of it as Evolution in action.

meepmeep
decaying skeleton
decaying skeleton
Posts: 1
Joined: Sun Aug 31, 2003 1:58 am

Post by meepmeep » Sun Aug 31, 2003 1:59 am

cvs [login aborted]: authorization failed: server cvs.sourceforge.net rejected access

thats what it says after i do 8. Goto menu Admin -> Login and when it asks for a password just press enter

EqMule
Developer
Developer
Posts: 2697
Joined: Fri Jan 03, 2003 9:57 pm
Contact:

Post by EqMule » Sun Aug 31, 2003 7:15 am

meepmeep wrote:cvs [login aborted]: authorization failed: server cvs.sourceforge.net rejected access

thats what it says after i do 8. Goto menu Admin -> Login and when it asks for a password just press enter
use the zip file on the downloads page. its usually newer than cvs since cvs is on a 24 hour delay...
My status o/
If you like MQ2 and would like to contribute, please do. My goal is 25 donations per month.
So far I've received Image donations for this month's patches.

Bitcoin: 1Aq8ackjQ4f7AUvbUL7BE6oPfT8PmNP4Zq
Krono: PM me.
I can always use characters for testing, PM me if you can donate one.

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

Post by XXSTEVEXX » Mon Sep 08, 2003 2:21 am

ive been looking for a bit for the download for VS 6.0 on MSN and cant find it? can anyone link it or leme know where it is? all i can find is a buy it now for 600$ lol