[SDL] SDL_FreeSurface() - freeing surfaces

wwp subscript at free.fr
Mon Jan 22 03:20:11 PST 2001


Well, i use a linker switch /FORCE:MULTIPLE (with Multithread static lib)
and it helps for me.
This of course is *very* ugly workaround, but it works.

    Kovacs

----- Original Message -----
From: "Fabio 'SnowDruid' Franchello" <snowdruid at tiscalinet.it>
To: <sdl at lokigames.com>
Sent: ceturtdiena, 2001. gada 4. janvaris 11:59
Subject: Re: [SDL] Re: [Newbie] SDL 1.1.4 VS 1.1.6 with VC++5


> 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