My compiler log is:
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 -D__DEBUG__ VRMLObject.o wrlDraw.o wrlDrawOGL.o wrlParser.o utils.o glpng.o mainGui.o -o "Renderer.exe" -L"C:/Dev-Cpp/lib" -fnative-struct -lpng -ldevil -lglui -lglut32 -lglu32 -lopengl32 -lwinmm -mwindows -g3
wrlDrawOGL.o(.text+0x11d): In function Z17HandleDevILErrorsv':
C:/Dev-Cpp/Projects/Renderer/wrlDrawOGL.cpp:27: undefined reference to_imp__iluErrorString@4'
wrlDrawOGL.o(.text+0xa9b): In function ZN11CwrlDrawOGL12loadTexturesEv':
C:/Dev-Cpp/Projects/Renderer/wrlDrawOGL.cpp:111: undefined reference to_imp__ilutEnable@4'
wrlDrawOGL.o(.text+0xd78):C:/Dev-Cpp/Projects/Renderer/wrlDrawOGL.cpp:131: undefined reference to _imp__ilutRenderer@4'
wrlDrawOGL.o(.text+0xd8c):C:/Dev-Cpp/Projects/Renderer/wrlDrawOGL.cpp:134: undefined reference to_imp__ilutGLBindTexImage@0'
collect2: ld returned 1 exit status
You may need to add libilu.a and libilut.a to the linking. The needed files should be be in the C:/Dev-Cpp/lib folder. Add -lilu and -lilut to the linker options.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I'm using dev-c++ 4.9.9.2 and Vista Home Premium. Trying to get devIL to work.
I've followed the instructions at: http://devpaks.org/details.php?devpak=99
My compiler log is:
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 -D__DEBUG__ VRMLObject.o wrlDraw.o wrlDrawOGL.o wrlParser.o utils.o glpng.o mainGui.o -o "Renderer.exe" -L"C:/Dev-Cpp/lib" -fnative-struct -lpng -ldevil -lglui -lglut32 -lglu32 -lopengl32 -lwinmm -mwindows -g3
wrlDrawOGL.o(.text+0x11d): In function
Z17HandleDevILErrorsv': C:/Dev-Cpp/Projects/Renderer/wrlDrawOGL.cpp:27: undefined reference to
_imp__iluErrorString@4'wrlDrawOGL.o(.text+0xa9b): In function
ZN11CwrlDrawOGL12loadTexturesEv': C:/Dev-Cpp/Projects/Renderer/wrlDrawOGL.cpp:111: undefined reference to
_imp__ilutEnable@4'wrlDrawOGL.o(.text+0xd78):C:/Dev-Cpp/Projects/Renderer/wrlDrawOGL.cpp:131: undefined reference to
_imp__ilutRenderer@4' wrlDrawOGL.o(.text+0xd8c):C:/Dev-Cpp/Projects/Renderer/wrlDrawOGL.cpp:134: undefined reference to
_imp__ilutGLBindTexImage@0'collect2: ld returned 1 exit status
c:\dev-cpp\bin\make.exe: *** [Renderer.exe] Error 1
Execution terminated
Any thoughts?
Thanks.
You may need to add libilu.a and libilut.a to the linking. The needed files should be be in the C:/Dev-Cpp/lib folder. Add -lilu and -lilut to the linker options.
Perfect! Thanks.