Problems building SDL_Image

Sorry if this is the wrong place to ask this. If there is somewhere better please let me know.

I get the following error when trying to build SDL_Image (1.2.4): “png.h: No such file or directory”.

Where should this file be? It sure isn’t included in the tarball.

FWIW I am trying to build this in Cygwin._______________________________________________________
The FREE service that prevents junk email http://www.mailshell.com

You need to have libpng installed.

sdl at garydjones.mailshell.com wrote:> Sorry if this is the wrong place to ask this. If there is somewhere better please let me know.

I get the following error when trying to build SDL_Image (1.2.4): “png.h: No such file or directory”.

Where should this file be? It sure isn’t included in the tarball.

FWIW I am trying to build this in Cygwin.


The FREE service that prevents junk email http://www.mailshell.com


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

Nice try, but I have :)>From Paulo Pinto on 7 Aug 2005:

You need to have libpng installed.

@sdl_at_garydjones.ma wrote:

I get the following error when trying to build SDL_Image (1.2.4):
“png.h: No such file or directory”.

Where should this file be? It sure isn’t included in the tarball.

FWIW I am trying to build this in Cygwin.


The FREE service that prevents junk email http://www.mailshell.com

You need more than libpng installed, you also need libpng-devel, which
are the development libraries. libpng is used for execution but
libpng-devel is used to actually compile it as it’s basically all the
header files that tell the compiler what libpng can do. Same goes for
any other libraries you may need.>Nice try, but I have :slight_smile:

From Paulo Pinto <pjmlp progtools.org> on 7 Aug 2005:

You need to have libpng installed.

sdl garydjones.mailshell.com wrote:

I get the following error when trying to build SDL_Image (1.2.4):
“png.h: No such file or directory”.

Where should this file be? It sure isn’t included in the tarball.

FWIW I am trying to build this in Cygwin.