Page 1 of 2

MacroQuest.sln borked

Posted: Mon Oct 27, 2003 1:41 pm
by Zxeses
I tried opening MacroQuest.sln like I always have for the last million years, and today 2003/10/27 zip file, it says

"The selected file is not a valid Visual Studio solution file"

[OK]


the VS6.0 opened, and converted to 7.0, but didnt actually make a buildable solution.

-Zx

Posted: Mon Oct 27, 2003 1:45 pm
by Zxeses
Update, I grabbed the solution file from 10/26, and while I can start compile, it dies with fatal errors

Code: Select all

"release\EQLib.res" 
   Creating library ..\Release/EQLib.lib and object ..\Release/EQLib.exp
EQLib_Main.obj : error LNK2001: unresolved external symbol "unsigned long * EQADDR_CHATMANAGER" (?EQADDR_CHATMANAGER@@3PAKA)
EQLib_Utilities.obj : error LNK2001: unresolved external symbol "unsigned long * EQADDR_CHATMANAGER" (?EQADDR_CHATMANAGER@@3PAKA)
EQLib_Main.obj : error LNK2001: unresolved external symbol "unsigned long EQADDR_CCHATMANAGERGETRGBAFROMINDEX" (?EQADDR_CCHATMANAGERGETRGBAFROMINDEX@@3KA)
EQLib_Utilities.obj : error LNK2001: unresolved external symbol "unsigned long EQADDR_CCHATMANAGERGETRGBAFROMINDEX" (?EQADDR_CCHATMANAGERGETRGBAFROMINDEX@@3KA)
EQLib_Main.obj : error LNK2001: unresolved external symbol "unsigned long EQADDR_CCHATMANAGERCREATECHATWINDOW" (?EQADDR_CCHATMANAGERCREATECHATWINDOW@@3KA)
EQLib_Main.obj : error LNK2001: unresolved external symbol "unsigned long EQADDR_APPENDSTML" (?EQADDR_APPENDSTML@@3KA)
EQLib_Main.obj : error LNK2001: unresolved external symbol "unsigned long EQADDR_CXSTRFREE" (?EQADDR_CXSTRFREE@@3KA)
EQLib_Main.obj : error LNK2001: unresolved external symbol "unsigned long EQADDR_CXSTRCONSTRUCTOR" (?EQADDR_CXSTRCONSTRUCTOR@@3KA)
EQLib_Utilities.obj : error LNK2019: unresolved external symbol "void __cdecl Chat(char *,unsigned long)" (?Chat@@YAXPADK@Z) referenced in function "void __cdecl WriteChatColor(char *,unsigned long)" (?WriteChatColor@@YAXPADK@Z)
..\Release/EQLib.dll : fatal error LNK1120: 7 unresolved externals

Posted: Mon Oct 27, 2003 1:56 pm
by Lax
Add the file EQLIB_Ui.cpp to the solution

Posted: Mon Oct 27, 2003 2:07 pm
by wassup
I gave my Macroquest.sln to EQMule and he added it to the zip file. It should be fine.

Posted: Mon Oct 27, 2003 4:00 pm
by dont_know_at_all
The sln file is fixed.

NOTE TO DEVS: Do not update the sln file if you are using .NET 2003. This breaks all the ppls who have the regular .NET.

Posted: Mon Oct 27, 2003 4:50 pm
by dont_know_at_all
Okay, everything should be fixed now.

When adding a file, you must update the following appropriately:
makefile
*.dsp
*.vcproj

The vcproj must stay at version 7.00 so you have to make the changes by hand if you only have .NET 2003.

Soon, I think, we will switch to makefile only.

Posted: Tue Oct 28, 2003 8:47 am
by Mckorr
Makefile only is fine for the zip, but probably ought to leave the .sln file in the dev CVS.

Oh, and didn't have VC at work, so couldn't update those files when I CVS'd in the new file. Sorry.

Posted: Tue Oct 28, 2003 11:21 am
by dont_know_at_all
Mckorr wrote:Makefile only is fine for the zip, but probably ought to leave the .sln file in the dev CVS.
Ha, ha. I'm taking it out now.

Real hackers don't use IDEs.

Posted: Tue Oct 28, 2003 11:29 am
by Lax
Just like real hackers dont use compilers ;)

Posted: Tue Oct 28, 2003 11:57 am
by MacroFiend
If you don't speak binary, you're not a real hacker

Posted: Tue Oct 28, 2003 1:41 pm
by Zxeses
Elitist scum

Posted: Tue Oct 28, 2003 2:00 pm
by Mckorr
You can do away with the IDE when we move MQ off of a development environment that requires an IDE :) Port it all over to gcc and I'll let you remove the .sln file :)

Posted: Tue Oct 28, 2003 2:35 pm
by dont_know_at_all
I should do that just to piss you off :-)

Posted: Tue Oct 28, 2003 3:44 pm
by Wishbringer
Nah, am fine with gcc. I like it.
Never found all functions and switches i looked for at VS IDE...
Graphic is something for newbies
btw, looking for an ANSI based EQ-client *grin*

Posted: Tue Oct 28, 2003 5:43 pm
by Mckorr
dont_know_at_all wrote:I should do that just to piss you off :-)
Wouldn't piss me off one bit :D I think we'd do better to get away from Microsoft and move to a freeware compiler. Heck, you know I've been poking and prodding at doing that for ages anyway, I just don't make much headway do to other commitments.

lol Would you be surprised to learn I actually know how to use Unix?

Here's the link to make things easier for you :)

http://www.gnu.org/directory/devel/djgpp.html