Exult vs. VC++6 on WinXP

NOTICE: This forum is archived as read only.
Please use the Github Discussions at https://github.com/exult/exult/discussions
Forum rules
NOTICE: This forum is archived as read only.
Please use the Github Discussions at https://github.com/exult/exult/discussions
Locked
marzo
Site Admin
Posts: 1925
Joined: Thu May 14, 2020 1:34 pm

Exult vs. VC++6 on WinXP

Post 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,
------
Marzo Sette Torres Junior
aka Geometrodynamic Dragon
[url=http://www.catb.org/~esr/faqs/smart-questions.html]How To Ask Questions The Smart Way[/url]
wjp
Site Admin
Posts: 1708
Joined: Thu May 14, 2020 1:34 pm

Re: Exult vs. VC++6 on WinXP

Post by wjp »

I think you may need to link against the SDLmain library. Not sure though; I never compiled any SDL programs with MSVC)
Locked