[SDL] Windows Linking Problems

Christian Spitzner spz at iis.fhg.de
Mon Aug 6 00:58:01 PDT 2001


sorry for not giving you this information.
i use VisualC++.

Bille2 wrote:

> "Christian Spitzner" <spz at iis.fhg.de> a écrit dans le message news:
> mailman.996849903.13549.sdl at libsdl.org...
> > hi,
> >
> > first of all, I am no windows expert, and thus i hope someone here can
> > help me.
> >
> > i have to port our video-player from linux to windows. that should't be
> > a big problem, with sdl. but for me, it is. under linux everything works
> > fine.
> > but under windows, i have the problem, that i have to set the
> > 'code-generation'-tab to 'multithreaded dll'. for sdl-use. but, if i do
> > so, get some mysterious crashes. i can't tell the exact position in the
> > code, because the application crashes at different locations ??
> >
> > if i compile with the 'code-generation'-tab set to 'multithreaded' only,
> > everything in the programm works fine, until SDL_init. here i get an
> > access violation.
> >
> > i tried to compile SDL myself, with 'multithreaded' option, but linking
> > this 'SDL_Static_lib' fails because of undefined external sybols.
> >
> > does anybody know, how to cope with my problem?
> >
> > thanks in advance
> > christian
> >
> >
> which compiler do you use ?
>     mingw/cygwin or Visual C++ ?
>
> _______________________________________________
> SDL mailing list
> SDL at libsdl.org
> http://www.libsdl.org/mailman/listinfo/sdl

--
==================================================================
 Christian Spitzner                     mailto:spz at iis.fhg.de
 Fraunhofer Institut
 Integrierte Schaltungen                Phone :+49 9131 776-371
 Audio Department                       Fax   :+49 9131 776-398
 Am Weichselgarten 3                    http://www.iis.fhg.de/amm
 D-91058 Erlangen, Germany
==================================================================







More information about the SDL mailing list