Page 1 of 1

Linker error

Posted: 28 Oct 2007, 06:38
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?

Posted: 28 Oct 2007, 11:12
by Matt
Install libpng

Posted: 28 Oct 2007, 11:34
by yvansoftware
In wich folder? THe DLL is present...

Posted: 28 Oct 2007, 12:36
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.