Linker error

Ask for help regarding any technical issue or report any bug or OS independent issues.
Post Reply
yvansoftware
Peon
Peon
Posts: 27
Joined: Sat Oct 27, 2007 1:46 pm
Location: Antwerp, Belgium

Linker error

Post by yvansoftware » Sun Oct 28, 2007 7:38 am

This is the output:

-------------- Build: default in The Mana World ---------------
Linking executable: tmw.exe
C:\Dev-Cpp\bin\..\lib\gcc\mingw32\3.4.2\..\..\..\..\mingw32\bin\ld.exe: cannot find -lpng.dll
collect2: ld returned 1 exit status
Process terminated with status 1 (0 minutes, 0 seconds)
1 errors, 0 warnings

What do i need to do?
Matt
Knight
Knight
Posts: 1746
Joined: Sat Aug 07, 2004 11:47 am
Location: Germany->Bavaria

Post by Matt » Sun Oct 28, 2007 12:12 pm

Install libpng
yvansoftware
Peon
Peon
Posts: 27
Joined: Sat Oct 27, 2007 1:46 pm
Location: Antwerp, Belgium

Post by yvansoftware » Sun Oct 28, 2007 12:34 pm

In wich folder? THe DLL is present...
User avatar
ElvenProgrammer
TMW Adviser
TMW Adviser
Posts: 2526
Joined: Tue Apr 13, 2004 8:11 pm
Location: Italy
Contact:

Post by ElvenProgrammer » Sun Oct 28, 2007 1:36 pm

You don't need the dll to compile, you need libpng.a which should be located in your compiler lib folder or somewhere else your ide can find.
Post Reply