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: 27 Oct 2007, 13:46
Location: Antwerp, Belgium

Linker error

Post by yvansoftware » 28 Oct 2007, 07:38

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: 1747
Joined: 07 Aug 2004, 11:47
Location: Germany->Bavaria

Post by Matt » 28 Oct 2007, 12:12

Install libpng
yvansoftware
Peon
Peon
Posts: 27
Joined: 27 Oct 2007, 13:46
Location: Antwerp, Belgium

Post by yvansoftware » 28 Oct 2007, 12:34

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

Post by ElvenProgrammer » 28 Oct 2007, 13:36

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