I built the SDL_image library for Win32 (with VisualC.zip 1.1).
The showimage shows BMP, PCX and GIF, but not JPG, TIF, PNG, RLE-BMP and
TGA. Anyone knows why?
I would also like to test the SDL_ttf (for true type fonts) and sge (for
scaling images) libraries. Are there any Win32 precompiled binaries?
I also want to be able to render MPEG video. Does smpeg support Win32? Any
binaries (again)?__________________________________
I?aki Idigoras Igartua <@Idigoras_Inaki>
I built the SDL_image library for Win32 (with VisualC.zip 1.1).
The showimage shows BMP, PCX and GIF, but not JPG, TIF, PNG, RLE-BMP and
TGA. Anyone knows why?
SDL doesn’t support RLE’ed BMPs yet. I could add it if people really need
it. The rest is likely to be disabled for some reason, check your config.
They all require external libs except for TGA, which should build right away
On the previous release of SDL_Image there was missing a LOAD_TGA
directive to the compiler (win32 only) which prevented the compilation of
TGA loader. I sent a mail so that it was fixed but I do not know if it was
corrected in the latest version (I guess not)On Thu, 14 Dec 2000, Mattias Engdegard wrote:
I built the SDL_image library for Win32 (with VisualC.zip 1.1).
The showimage shows BMP, PCX and GIF, but not JPG, TIF, PNG, RLE-BMP and
TGA. Anyone knows why?
SDL doesn’t support RLE’ed BMPs yet. I could add it if people really need
it. The rest is likely to be disabled for some reason, check your config.
They all require external libs except for TGA, which should build right away
It is TRUE. I added the LOAD_TGA in the defines section, and now it
loads TGAs.
Thanks a lot.
Which library do I need to be able to load JPGs? anyone has a binary
that does it (for Win32)?__________________________________
I?aki Idigoras Igartua <@Idigoras_Inaki>
-----Mensaje original-----
De: Vasileiou Nikolaos [SMTP:nbasili at ceid.upatras.gr]
Enviado el: jueves 14 de diciembre de 2000 15:43
Para: sdl at lokigames.com
Asunto: Re: [SDL] SDL libraries
On the previous release of SDL_Image there was missing a LOAD_TGA
directive to the compiler (win32 only) which prevented the compilation of
TGA loader. I sent a mail so that it was fixed but I do not know if it was
corrected in the latest version (I guess not)
On Thu, 14 Dec 2000, Mattias Engdegard wrote:
I built the SDL_image library for Win32 (with VisualC.zip 1.1).
The showimage shows BMP, PCX and GIF, but not JPG, TIF, PNG, RLE-BMP
and
TGA. Anyone knows why?
SDL doesn’t support RLE’ed BMPs yet. I could add it if people really
need
it. The rest is likely to be disabled for some reason, check your
config.
They all require external libs except for TGA, which should build right
away
It is TRUE. I added the LOAD_TGA in the defines section, and now it
loads TGAs.
Thanks a lot.
Which library do I need to be able to load JPGs? anyone has a binary
that does it (for Win32)?
it’s not too difficult to find the dependencies. JPG support
needs libjpeg. PNG requires libpng (which requires zlib).
i have this all precompiled for windows in a handy dependencies
package. it includes JPG and PNG support in SDL_image. it makes
compiling SDL on windows a breeze. just add the single include
and single lib directory to your project and you can add and
choose which libraries you want…
note, this is mainly for my pygame project. someone else out
there was showing signs of making a more generic win32 binary
collection. anyways, grab it here (around 444k) http://pygame.seul.org/ftp/pygame-dependencies.zip
It is TRUE. I added the LOAD_TGA in the defines section, and now it
loads TGAs.
Thanks a lot.
Which library do I need to be able to load JPGs? anyone has a binary
that does it (for Win32)?
it’s not too difficult to find the dependencies. JPG support
needs libjpeg. PNG requires libpng (which requires zlib).
i have this all precompiled for windows in a handy dependencies
package. it includes JPG and PNG support in SDL_image. it makes
compiling SDL on windows a breeze. just add the single include
and single lib directory to your project and you can add and
choose which libraries you want…
note, this is mainly for my pygame project. someone else out
there was showing signs of making a more generic win32 binary
collection. anyways, grab it here (around 444k) http://pygame.seul.org/ftp/pygame-dependencies.zip
[Idigoras Inaki]
SDL_image.dll does not have TGA support (althougth stated in the
readme!). Probably LOAD_TGA was missing in the defines section.
I tested JPEG and works fine. Thanks.> -----Mensaje original-----
De: Pete Shinners [SMTP:pshinners at mediaone.net]
Para: sdl at lokigames.com
Asunto: [SDL] Re: SDL libraries
SDL_image.dll does not have TGA support (althougth stated in the
readme!). Probably LOAD_TGA was missing in the defines section.
sorry bout the tga.
when SDL-1.1.7 is released i will repackage all these
win32 binaries back up with the latest versions of all libs.
(and TGA support)
SDL_image.dll does not have TGA support (althougth stated in the
readme!). Probably LOAD_TGA was missing in the defines section.
sorry bout the tga.
when SDL-1.1.7 is released i will repackage all these
win32 binaries back up with the latest versions of all libs.
(and TGA support)
Pete, I found out that msvc is not able to link to your lib files.
It outputs**
d:\libraries\sdl\prebuilt\lib\SDL.lib : fatal error LNK1106: invalid file or
disk full: cannot seek to 0x3a04d895
**
I got this same problem with another library, and I solved it using the lib
utility, passing it the definition file:
lib -def:library_name.def
which creates the library_name.lib which msvc can link.
Could I have the .def files of your win32 prebuilt libraries?
Thanks.
-----Mensaje original-----
De: Pete Shinners [SMTP:pete at shinners.org]
Enviado el: martes 19 de diciembre de 2000 10:56
Para: sdl at lokigames.com
Asunto: [SDL] Re: Re: SDL libraries
“Idigoras Inaki” wrote
SDL_image.dll does not have TGA support (althougth stated in the
readme!). Probably LOAD_TGA was missing in the defines section.
sorry bout the tga.
when SDL-1.1.7 is released i will repackage all these
win32 binaries back up with the latest versions of all libs.
(and TGA support)
Pete, I found out that msvc is not able to link to your lib files.
It outputs
**
d:\libraries\sdl\prebuilt\lib\SDL.lib : fatal error LNK1106: invalid file or
disk full: cannot seek to 0x3a04d895
**
I got this same problem with another library, and I solved it using the lib
utility, passing it the definition file:
lib -def:library_name.def
which creates the library_name.lib which msvc can link.
Could I have the .def files of your win32 prebuilt libraries?
hmm, i have been linking to these files fine without .DEF
i have not specifically used any .DEF files, but i suppose
SDL does have one… from the SDL source it is in
"/main/win32/exports/SDL.def" if you still want i can
send you a copy of the .DEF file. but i’m not sure it is
needed?
what version of msvc are you using? this was compiled with
version 6. perhaps the v6 LIB files are not compatible
with msvc 5?
Pete, I found out that msvc is not able to link to your lib files.
It outputs
**
d:\libraries\sdl\prebuilt\lib\SDL.lib : fatal error LNK1106: invalid
file or
disk full: cannot seek to 0x3a04d895
**
I got this same problem with another library, and I solved it using the
lib
utility, passing it the definition file:
lib -def:library_name.def
which creates the library_name.lib which msvc can link.
Could I have the .def files of your win32 prebuilt libraries?
hmm, i have been linking to these files fine without .DEF
i have not specifically used any .DEF files, but i suppose
SDL does have one… from the SDL source it is in
"/main/win32/exports/SDL.def" if you still want i can
send you a copy of the .DEF file. but i’m not sure it is
needed?
what version of msvc are you using? this was compiled with
version 6. perhaps the v6 LIB files are not compatible
with msvc 5?
[Idigoras Inaki] I am using msvc 5.0. No idea wether they are
compatible or not.
I would need .DEF files for all the libraries, not just the SDL.DEF.
I am sure that with the .DEF (without the .lib) I can build a lib
which I can then link without problems. Therefore I think it is good to add
the .DEFs to the prebuilt libraries (in addition to the .LIBs).> -----Mensaje original-----
De: Pete Shinners [SMTP:pete at shinners.org]
Para: sdl at lokigames.com
Asunto: [SDL] Re: Re: Re: SDL libraries
what version of msvc are you using? this was compiled with
version 6. perhaps the v6 LIB files are not compatible
with msvc 5?
[Idigoras Inaki] I am using msvc 5.0. No idea wether they are
compatible or not.
They are not compatible.
I would need .DEF files for all the libraries, not just the SDL.DEF.
There is a utility in the VC++ tools which will allow you to generate a
.DEF file from a .DLL. Actually I might have compiled impgen.c to do this.
impgen.c is embedded in ltmain.sh in the SDL source distribution, and is a
great little utility.
See ya,
-Sam Lantinga, Lead Programmer, Loki Entertainment Software
shoot. sorry about that then, Idigoras . i will make note of this
in my SDL precompiled binaries files then.
there was someone else who started making an effort for a 'real’
win32 compiled set of libraries, but i haven’t heard much from
that recently. that might be msvc 5?
also the SDL1.1 download page has a precompiled development
archive for windows. that could potentially work with msvc 5?
I’m preparing a set of SDL-Mixer, TTF, SMPEG, etc, compiled with MSVC
5. I just got to take care of SMPEG and Mixer not playing MP3’s and
then I’ll put them up and announce it on this list.
Pete Shinners wrote:> “Sam Lantinga” wrote
They are not compatible.
shoot. sorry about that then, Idigoras . i will make note of this
in my SDL precompiled binaries files then.
there was someone else who started making an effort for a 'real’
win32 compiled set of libraries, but i haven’t heard much from
that recently. that might be msvc 5?
also the SDL1.1 download page has a precompiled development
archive for windows. that could potentially work with msvc 5?
what version of msvc are you using? this was compiled with
version 6. perhaps the v6 LIB files are not compatible
with msvc 5?
[Idigoras Inaki] I am using msvc 5.0. No idea wether they are
compatible or not.
They are not compatible.
I would need .DEF files for all the libraries, not just the SDL.DEF.
There is a utility in the VC++ tools which will allow you to generate a
.DEF file from a .DLL. Actually I might have compiled impgen.c to do
this.
impgen.c is embedded in ltmain.sh in the SDL source distribution, and is a
great little utility.
[Idigoras Inaki]
Yeah, I built the impgen.c file and applied to the DLLs, generating
the .DEF files. Then I used lib.exe -def:name.def to generate the .LIB and
was able to link with my apps.
Great utility! Thanks.> -----Mensaje original-----
De: Sam Lantinga [SMTP:slouken at devolution.com]
Para: sdl at lokigames.com
Asunto: Re: [SDL] SDL libraries
See ya,
-Sam Lantinga, Lead Programmer, Loki Entertainment Software