Linking problem: cannot find -lpng
Posted: Thu Feb 19, 2009 9:38 am
Hi, I installed devkitPPC and sucessfully tried to compile Example-sources. Now I wanted to compile a downloaded source. Unfortunatelly there is a problem with linking.
The source of libpng* is already in the source of WAD-Manager and compiled (=> build/pngu.d build/pngu.o). What am I doing wrong? If you need information, let me know please and I'll provide this.
*)
cu Floh
Code: Select all
linking ... wad-manager.elf
/home/floh/daten/development/wii/devkitpro/devkitPPC/bin/../lib/gcc/powerpc-gekko/4.2.4/../../../../powerpc-gekko/bin/ld: cannot find -lpng
*)
Code: Select all
floh@Turion:~/daten/development/wii/devkitpro/WAD-Manager_v1.3_src/wad-manager$ ls -l source/libpng/*
-rw-r--r-- 1 floh floh 46173 2008-05-08 05:58 source/libpng/pngconf.h
-rw-r--r-- 1 floh floh 152462 2008-05-08 05:58 source/libpng/png.h
source/libpng/pngu:
insgesamt 52
-rw-r--r-- 1 floh floh 43866 2008-06-11 18:34 pngu.c
-rw-r--r-- 1 floh floh 7799 2008-06-11 18:55 pngu.h