Click to See Complete Forum and Search --> : Libpng isn't working!


vze4gmkk
12-12-2002, 08:45 AM
I can comple Vboy Advance.

Look at this it saids hecking dependency style of gcc... gcc3
checking for bison... no
checking for byacc... no
checking for flex... no
checking for lex... no
checking for yywrap in -lfl... no
checking for yywrap in -ll... no
checking for gcc... gcc
checking whether we are using the GNU C++ compiler... yes
checking whether gcc accepts -g... yes
checking dependency style of gcc... gcc3
checking for ranlib... ranlib
checking for nasm... no
checking for sdl-config... /usr//bin/sdl-config
checking for SDL - version >= 1.2.2... yes
checking for png_create_write_struct in -lpng... no
configure: error: Cannot compile without libpng


It says that libpng is not installed thou i have libpng AND libpng-devel

mrBen
12-12-2002, 10:03 AM
How did you install libpng? From source or rpm/deb? Did you run ldconfig afterwards? Is the library in the correct path in /etc/ld.so.conf? Is there a configure option for it? ie ./configure --with-libpng=/usr/lib/libpng1.8/

HTH

vze4gmkk
12-12-2002, 05:54 PM
sorry i didn't reply because of school.
I installed the rpm and nothing else

I will try what you said ldconfig

EDIT: no ./configure script but a makefile.linuxfile

go to rpmfind.net libpng