cannot find -lpng (collect2: ld returned 1 exit status)

Discuss the development of new homebrew software, tools and libraries.

Moderators: cheriff, TyRaNiD

Post Reply
Kreationz
Posts: 52
Joined: Sun May 18, 2008 11:01 am

cannot find -lpng (collect2: ld returned 1 exit status)

Post by Kreationz »

Code: Select all

c:/pspsdk/bin/../lib/gcc/psp/4.3.2/../../../../psp/bin/ld.exe: cannot find -lpng
collect2: ld returned 1 exit status
C:\pspsdk\bin\make: *** [Daedalus.elf] Error 1
That's the full error I'm getting...

I know it's a linking problem, but how do I fix it.
Insert_witty_name
Posts: 376
Joined: Wed May 10, 2006 11:31 pm

Post by Insert_witty_name »

You install libpng from the svn.

svn://svn.ps2dev.org/psp/trunk/libpng
Kreationz
Posts: 52
Joined: Sun May 18, 2008 11:01 am

Post by Kreationz »

Nvm I took care of this problem. I realized it wasn't installed by default with MinPSPW. Thx for the help anyway.
Post Reply