Re: [DM-dev] Compile question
Brought to you by:
acdalton,
henningsen
From: Henningsen <pe...@al...> - 2001-12-29 20:31:28
|
>> I've gotten really close to compiling a Windows version with SDL. The only >> problem I'm having now is that when I go to make the executable I get the >> error "undefined reference to WinMain@16".. Any thoughts? > >this is a guess (i've never coded under windows), but try renaming main() to >WinMain(). No, that wouldn't work, SDL takes care of all that (calling WinMain() etc.) I think you're including a header file for building the program under Win16 (that would be Windows 3.1 at the latest, Windows95 is Win32) that you don't really need - could be either with SDL or with MinGW, not with the DungeonMaker code. I would first check whether you installed a MinGW component for Win16 and get rid of that. Alternately you could search the header files you include and comment out the offending references (this can snowball...:-) Good luck, Peter |