Compile error...please read tried compiling on two diff comp

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

Moderator: MacroQuest Developers

advolente
decaying skeleton
decaying skeleton
Posts: 8
Joined: Tue Nov 18, 2003 6:01 pm

Compile error...please read tried compiling on two diff comp

Post by advolente » Tue Nov 18, 2003 6:04 pm

Using MS Visual C++ 6

eqlib.dll comiled and built perfectly no errors but macroquest.exe fatal errors with

--------------------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.

NO Clue how to get past this could someone please offer help?

advolente
decaying skeleton
decaying skeleton
Posts: 8
Joined: Tue Nov 18, 2003 6:01 pm

Post by advolente » Tue Nov 18, 2003 7:33 pm

This info from another post fixed my problem.


When compiling Macroquest with Visual C++ 6.0:

1. Be sure to load the file macroquest.dsw

2. Click the FileView tab (if you can't see it, press alt+0 to see the WorkSpace)

3. Two sections should be found in this tree, one called "eqlib files" and the other "macroquest files". (they are the "root" directories of each project)

4. Right click one of these sections and select "Build" on the popup. Do the same for other section.

5. Be sure no errors or warnings appear. If any, post them below.

6. Find and run the compiled macroquest.exe file. A shield should appear in your system tray (near your windows clock)

If you did those 6 steps and still get that error, redownload the IRC-Release and retry again. If you STILL have a problem, post here and hope a real dev techie comes in and helps you ^^