SDL_image on WindowsCE

I want to use SDL_image library on WindowsCE (eBox2300). I plan to change
the platform option in the source code “SDL_image-1.2.10\VisualCE\SDL.sln”,
then compile it and get SDL_image.lib and *.dll, but when I tried to build
SDL.sln, the files “libjpeg.h” “libpng.h” and “tiffio.h” couldn’t be found,
I think the project use the lib for .jpg and .png and so on, but the source
code folder doesn’t contain these .lib and .h files. I wonder if I have to
get the source code for these .jpg .png files and change the platform option
and then compile them to get the .lib files for WindowsCE. I think it is a
little bit troublesome.

Btw, I am not very familiar with embeded system, so my question may seem
naive, but I’ll appreciate if you can answer it.

I haven’t tried this, but you might be able to use the headers from
VisualC.zip. You’ll probably need to compile DLLs of those libraries
for your platform if they’re not already available though.

Alternatively, if you don’t need those file formats, you can remove
the appropriate LOAD_* symbols from the preprocessor flags.On Mon, Dec 14, 2009 at 7:01 AM, Xinyu Zhang wrote:

I want to use SDL_image library on WindowsCE (eBox2300). I?plan to change
the platform option in the source code “SDL_image-1.2.10\VisualCE\SDL.sln”,
then compile it and get SDL_image.lib and *.dll, but when I tried to build
SDL.sln, the files “libjpeg.h” “libpng.h” and “tiffio.h” couldn’t be found,
I think the project use the lib for .jpg and .png and so on, but the source
code folder doesn’t contain these .lib and .h files. I wonder?if I have to
get the source code for these .jpg .png files and change the platform option
and then compile them to get the .lib files for WindowsCE. I think it is a
little bit troublesome.

Btw, I am not very familiar with embeded system, so my question may seem
naive, but I’ll appreciate if you can answer it.


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org


-Sam Lantinga, Founder and President, Galaxy Gameworks LLC