how to compile?

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

Moderator: MacroQuest Developers

jninja
decaying skeleton
decaying skeleton
Posts: 5
Joined: Sun Mar 09, 2003 12:33 pm

how to compile?

Post by jninja » Sun Mar 09, 2003 12:37 pm

i currently have a C++ compiler and when i try to compile macroquest.cpp it tells gives me 2 errors because there is no main function. am i compiling the wrong thing and/or what should i do?

User avatar
L124RD
Site Admin
Site Admin
Posts: 1343
Joined: Fri Jun 14, 2002 12:15 am
Location: Cyberspace
Contact:

Post by L124RD » Sun Mar 09, 2003 3:33 pm

Salutations,
what compiler do you have? In order to compile MQ at this time you need either VC++6 or VC++7 (both available from MicroSoft). I have heard rumors that there is someone who is going to work on porting this version of MQ to Bloodshed so that others can compile it more easily...

jninja
decaying skeleton
decaying skeleton
Posts: 5
Joined: Sun Mar 09, 2003 12:33 pm

Post by jninja » Sun Mar 09, 2003 6:46 pm

Visual Studio C++ 6.0, i havent done any programming in a while though, do you need to create a workspace for it and everything?

jninja
decaying skeleton
decaying skeleton
Posts: 5
Joined: Sun Mar 09, 2003 12:33 pm

Post by jninja » Sun Mar 09, 2003 6:50 pm

--------------------Configuration: MacroQuest - Win32 Debug--------------------
Linking...
LIBCD.lib(crt0.obj) : error LNK2001: unresolved external symbol _main
Debug/MacroQuest.exe : fatal error LNK1120: 1 unresolved externals
Error executing link.exe.

MacroQuest.exe - 2 error(s), 0 warning(s)

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 Mar 09, 2003 6:51 pm