RES: help me(sdl mixer and image)

i’m using the pexports, but it dont create any file, it only display de
function names at the screen

(???)> ----- 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.

  1. Copy the headers files from the zip files into include\sdl.
  2. Download the binary archive for sdl_image and sdl_mixer.
  3. Download a tool such as: impdef, reimp, or pexports. Use Google to
    find them.
  4. 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++.
  5. 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

someone has one of this tools (impdef, reimp)
caz i cant find it on the net
all the links are broken

tks> ----- 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.

  1. Copy the headers files from the zip files into include\sdl.
  2. Download the binary archive for sdl_image and sdl_mixer.
  3. Download a tool such as: impdef, reimp, or pexports. Use Google to
    find them.
  4. 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++.
  5. 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

Export the exported functions to a definition file:
pexports mydll.dll > mydll.def

Create the import lib
dlltool --dllname mydll.dll --def mydll.def --output-lib libmydll.a -k

Ricardo Ferrari (SPO-LAB) wrote:> i’m using the pexports, but it dont create any file, it only display de

function names at the screen

(???)

  ----- Mensagem original -----
  *De:            * Stanley E Brown [SMTP:@Stanley_E_Brown]
  *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.

  1. Copy the headers files from the zip files into include\sdl.
  2. Download the binary archive for sdl_image and sdl_mixer.
  3. Download a tool such as: impdef, reimp, or pexports.  Use
  Google to
  find them.
  4. 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++.
  5. 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

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_image

i 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.

  1. Copy the headers files from the zip files into include\sdl.
  2. Download the binary archive for sdl_image and sdl_mixer.
  3. Download a tool such as: impdef, reimp, or pexports. Use Google to
    find them.
  4. 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++.
  5. 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

OK very tks
i create everything
now i will test and see if everything is alright
thank you
see ya> ----- Mensagem original -----

De: Matthew Cooper [SMTP:matthew.cooper at metrodata.co.uk]
Enviada em: sexta-feira, 23 de agosto de 2002 11:25
Para: 'sdl at libsdl.org
Assunto: RE: [SDL] help me(sdl mixer and image)

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.

  1. Copied the sdl_image.h file to the include\sdl directory

  2. Placed the sdl_image.dll in the dev directory, ran pexports with the
    following command:

    pexports sdl_image.dll > sdl_image.def

  3. 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

  4. Copied the libsdl_image.a to the lib directory.

  5. Used the following additional command line options:

    -lmingw32 -lSDLmain -lSDL -mwindows -lsdl_image

  6. I had trouble with line 41, so I changed it to: Uint8 *dst; //=
    screen->pixels;

  7. Copied the dlls to the relevant locations.

  8. 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_d
ll
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:@Ricardo_Ferrari]
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_image

i 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.

  1. Copy the headers files from the zip files into include\sdl.
  2. Download the binary archive for sdl_image and sdl_mixer.
  3. Download a tool such as: impdef, reimp, or pexports. Use Google to
    find them.
  4. 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++.
  5. 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


SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl