Page 1 of 1

Exult vs. VC++6 on WinXP

Posted: Fri Apr 25, 2003 2:22 pm
by marzo
Has anyone out there been able to successfully compile the current snapshot in VC++6 under WinXP? I have followed the instructions to the letter and couldn't get it to work (in this case, the fact that my primary development language is Visual Basic doesn't help at all...)

I have downloaded and compiled SDL 1.2.5 (and SDLMain), SDL Mixer 1.2.5 and zlib1.14.

When I attempt to build Exult, the linker reports the folowing:

LINK : error LNK2001: unresolved external symbol _WinMainCRTStartup
..\Exult.exe : fatal error LNK1120: 1 unresolved externals
Error executing link.exe.

I wasn't able to correct that in a satisfactory way (I tried using "/entry:main", but Exult would crash on run).

Can anyone help?

Later,

Re: Exult vs. VC++6 on WinXP

Posted: Sat Apr 26, 2003 9:38 am
by wjp
I think you may need to link against the SDLmain library. Not sure though; I never compiled any SDL programs with MSVC)