wrlDrawOGL.o(.text+0xae7):wrlDrawOGL.cpp: undefined reference to pngSetStandardOrientation@4'
wrlDrawOGL.o(.text+0xb1c):wrlDrawOGL.cpp: undefined reference topngLoad@16'
collect2: ld returned 1 exit status
to be in, i.e. have you done a search to check for where it can be found.
Being an absolute moron with respect to those packages (and many OTHER things) - can you tell
me is the package is strictly a static library, or is there a dll that comes with it?
If there is, are you sure it is in the correct path to be found?
Wayne
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
I've installed the libpng and zlib packages, and I'm trying to compile a program, but I get the following errors:
Compiler: Default compiler
Building Makefile: "C:\Dev-Cpp\Projects\Renderer\Makefile.win"
Executing make...
c:\dev-cpp\bin\make.exe -f "C:\Dev-Cpp\Projects\Renderer\Makefile.win" all
c:\dev-cpp\bin\g++.exe testParseWrl.o VRMLObject.o wrlDraw.o wrlDrawOGL.o wrlParser.o utils.o -o "Renderer.exe" -L"C:/Dev-Cpp/lib" -fnative-struct -lpng -lglui -lglut32 -lglu32 -lopengl32 -lwinmm
wrlDrawOGL.o(.text+0xae7):wrlDrawOGL.cpp: undefined reference to
pngSetStandardOrientation@4' wrlDrawOGL.o(.text+0xb1c):wrlDrawOGL.cpp: undefined reference to
pngLoad@16'collect2: ld returned 1 exit status
c:\dev-cpp\bin\make.exe: *** [Renderer.exe] Error 1
Execution terminated
I'm using Dev-c++ version 4.9.9.2 and windows Vista Home Premium.
Thanks very much!
What library have you found this function:
pngSetStandardOrientation
to be in, i.e. have you done a search to check for where it can be found.
Being an absolute moron with respect to those packages (and many OTHER things) - can you tell
me is the package is strictly a static library, or is there a dll that comes with it?
If there is, are you sure it is in the correct path to be found?
Wayne
Thanks, I searched for it and was able to get it working by moving the locations of the files around.