[SDL] Re: [Newbie] SDL 1.1.4 VS 1.1.6 with VC++5

Phoenix Kokido kokido at postmark.net
Thu Jan 4 07:28:35 PST 2001


Ignore my other message, just put a return(0); at the end of main
somewhere.

Fabio 'SnowDruid' Franchello wrote:

> At 02.25 04/01/01 +0000, you wrote:
> >Did you specifically try Multithreaded "DLL" (I'm sorry if I forgot to
> >mention that earlier), that error almost always indicated a conflict
> >between what SDL was built with and what your program was built with.
> 
> When changing to Debug Multithreaded DLL or Multithreaded DLL the
> error becomes:
> 
> --------------------Configuration: foo - Win32 Debug--------------------
> Compiling...
> main.cpp
> C:\Code\foo\main.cpp(11) : error C2561: 'SDL_main' : function must return a

> value
> Error executing cl.exe.
> 
> foo.exe - 1 error(s), 0 warning(s)
> 
> I always used Debug Multithreaded or Multithreaded with 1.1.4-, so
> I wasn't aware of the change. :) Thanks.
> 
> 
> 
>                      __
>           Fabio   " '- nowDruid "  Franchello
>                    ---'---------
>            ---  snowdruid at tiscalinet.it  ---
> 



More information about the SDL mailing list