A forum for the general posts relating to MacroQuest. *DEPRECATED: This forum is no longer in public use, but remains here for your reading pleasure. Enjoy
Moderator: MacroQuest Developers
-
A Moss Snake
- decaying skeleton

- Posts: 1
- Joined: Sat Apr 12, 2003 7:20 am
Post
by A Moss Snake » Sat Apr 12, 2003 7:21 am
I've CVSed Macroquest and then tried to compile using VC++ .Net and got this:
MacroQuest error LNK2019: unresolved external symbol _main referenced in function _mainCRTStartup
Any ideas?
-
dont_know_at_all
- Developer

- Posts: 5450
- Joined: Sun Dec 01, 2002 4:15 am
- Location: Florida, USA
-
Contact:
Post
by dont_know_at_all » Sat Apr 12, 2003 4:00 pm
You have changed some options or you have a bad VS installation.
-
vzmule
- Contributing Member

- Posts: 378
- Joined: Thu Mar 13, 2003 11:56 pm
Post
by vzmule » Sat Apr 12, 2003 7:50 pm
I was getting the same error using the files in the cvs. Use your old source files, but just get the eqgame.ini, MQ.h and EQLIB.cpp from the cvs and re-compile. It worked for me.
-
dont_know_at_all
- Developer

- Posts: 5450
- Joined: Sun Dec 01, 2002 4:15 am
- Location: Florida, USA
-
Contact:
Post
by dont_know_at_all » Sun Apr 13, 2003 3:19 am
I just did a clean build from CVS -- no problem with VC7.0
1. Start with a new directory and pull down the CVS code.
2. Compile detours and move the library to macroquest/detours/lib
3. Open the solution file.
4. Press F7
-
grimjack
- Macro Author

- Posts: 525
- Joined: Thu Nov 07, 2002 6:51 am
-
Contact:
Post
by grimjack » Mon Apr 14, 2003 4:27 am
I had the same thing when I first compiled. The project file for MQ that is in CVS is set up to tell the linkner this is a console app. This is wrong and to change this right click the macroquest heading when you have the project open and select properties. Select the linker tab and the system sub tab. Change the subsystem property from console to Windows.
Thanks
Grimjack.
-
woodcraft
- orc pawn

- Posts: 10
- Joined: Tue Jan 14, 2003 10:39 pm
Post
by woodcraft » Tue Apr 15, 2003 11:52 am
downloaded latest code and errors on the EQLib compile. Just got the files from the CVS area. Was able to compile on previos verions.
-
boldor
- a ghoul

- Posts: 94
- Joined: Tue Sep 10, 2002 11:46 am
Post
by boldor » Tue Apr 15, 2003 6:34 pm
Looking at the CSV I see that EQLib.h was changed at the same time as EQLib.cpp to account for Memcheck3 wouldnt you need to also download the EQLib.h as well as files previously mentioned:
EQLIb.cpp
MQ.h and
eqgame.ini
So thats a total of 4 items needed from CVS, correct?
TIA
-
dont_know_at_all
- Developer

- Posts: 5450
- Joined: Sun Dec 01, 2002 4:15 am
- Location: Florida, USA
-
Contact:
Post
by dont_know_at_all » Tue Apr 15, 2003 7:37 pm
Why not get everything?
You're asking for trouble.
-
morannon
- a lesser mummy

- Posts: 57
- Joined: Sun Nov 03, 2002 3:50 pm
Post
by morannon » Fri Apr 18, 2003 3:17 am
I had the same thing when I first compiled. The project file for MQ that is in CVS is set up to tell the linkner this is a console app. This is wrong and to change this right click the macroquest heading when you have the project open and select properties. Select the linker tab and the system sub tab. Change the subsystem property from console to Windows.
Thanks
Grimjack.
Grimjack - many thanks - I had this exact problem with a fresh CVS download. All fixed now !