hi, i already asked this here
but i’m not obteining success
my question
how do i install de sdl_mixer and de sld_image in dev-cpp
i got the sdl_image.zip and the sdl_mixer.zip, so, what i do
now???
can someone help me?!
tks
see ya
hi, i already asked this here
but i’m not obteining success
my question
how do i install de sdl_mixer and de sld_image in dev-cpp
i got the sdl_image.zip and the sdl_mixer.zip, so, what i do
now???
can someone help me?!
tks
see ya
Last time I checked dev-c++ uses MinGW as its default compiler so it
will take a little work.
Ricardo Ferrari (SPO-LAB) wrote:> hi, i already asked this here
but i'm not obteining success my question how do i install de sdl_mixer and de sld_image in dev-cpp i got the sdl_image.zip and the sdl_mixer.zip, so, what i do now?!???????? can someone help me?! tks see ya
Hi,
I have just followed these steps to get the sdlimage.c file to compile, with
a little alteration to the code it now runs using the sdl_image.dll.
This is what I did to get the import files.
Copied the sdl_image.h file to the include\sdl directory
Placed the sdl_image.dll in the dev directory, ran pexports with the
following command:
pexports sdl_image.dll > sdl_image.def
Then used the dlltool in the bin directory with the following command:
dlltool --def sdl_image.def --dllname sdl_image.dll --output-lib
libsdl_image.a -k
Copied the libsdl_image.a to the lib directory.
Used the following additional command line options:
-lmingw32 -lSDLmain -lSDL -mwindows -lsdl_image
I had trouble with line 41, so I changed it to: Uint8 *dst; //=
screen->pixels;
Copied the dlls to the relevant locations.
The file now compiled and now the program runs from the command line.
This link helped me with the dll lib extraction:
http://www.pms.informatik.uni-muenchen.de/mitarbeiter/panne/cygwin/using_dll
s.html
<http://www.pms.informatik.uni-muenchen.de/mitarbeiter/panne/cygwin/using_dl
ls.html>
Hope some of this is of some use. I however haven’t used sdl_mixer yet, but
I would have thought the process would be the same.
Regards
Matthew> ----- Original Message -----
From: ricardo ferrari (SPO-LAB) [mailto:rferrari@cce.com.br]
Sent: Friday, August 23, 2002 1:00 PM
To: sdl at libsdl.org
Subject: RES: [SDL] help me(sdl mixer and image)ok, i’ve done all the 5 steps
put in the linkes this: "-lmingw32 -lSDLmain -lSDL -mwindows -lsdl_image
-lsdl_mixer"
and i got an erro, that he cold not find the -lsdl_imagei forgot something???
tks for helping me!!!----- Mensagem original -----
De: Stanley E Brown [SMTP:stanley.brown at zimmer.com]
Enviada em: quinta-feira, 22 de agosto de 2002 11:40
Para: sdl at libsdl.org
Assunto: Re: [SDL] help me(sdl mixer and image)Last time I checked dev-c++ uses MinGW as its default compiler so it
will take a little work.
- Copy the headers files from the zip files into include\sdl.
- Download the binary archive for sdl_image and sdl_mixer.
- Download a tool such as: impdef, reimp, or pexports. Use Google to
find them.- Using the tool from step 3 create an import library file from the
main DLLs (SDL_image.dll + SDL_mixer.dll). Place that file in the lib
directory for dev-c++.- Copy all the DLLs in the binary archives to your systems shared
library directory. Probably something like : c:\windows\system32.Ricardo Ferrari (SPO-LAB) wrote:
hi, i already asked this here but i'm not obteining success my question how do i install de sdl_mixer and de sld_image in dev-cpp i got the sdl_image.zip and the sdl_mixer.zip, so, what i do now?!???????? can someone help me?! tks see ya
SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl
http://www.libsdl.org/mailman/listinfo/sdl