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, 12:46
Location: Antwerp, Belgium

Linker error

Post by yvansoftware »

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
Grand Knight
Grand Knight
Posts: 1759
Joined: 07 Aug 2004, 10:47
Location: Germany->Bavaria

Post by Matt »

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

Post by yvansoftware »

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

Post by ElvenProgrammer »

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