I decided to use DevIL (formerly known as OpenIL) for my projekt - how ever DevIL and Dev-C++ (using MingW) does not work well together.
After some time I realised that there were no .a files - so using pexports & dlltool I made some new ones. Now the compiler is happy, but the linker gives me the following error:
"e:\dev-c++\misc_tests\deviltest.o(.text+0xc):deviltest.cpp: undefined reference to `_imp__ilInit''"
This is the program im trying to compile ( I know it ill do notting - it''s just at test to iliminate the rest of my code as the source of the error)
#include <windows.h>
#include <gl\gl.h>
#include <gl\glu.h>
#include <il\il.h>
int main (int argc, char *argv[])
{
ilInit();
return 0;
}
and I use the following extra linking options "-lil -lopengl32 -lglu32"
it would seem that despite my eforts with the new .a files that my compiler still cant find the code it needs...

Have any one made the combination of DevIL and Dev-C++ work?? and if so
HOW? any help is apriciated ....
ps. yes I was / am considering compiling from the sources BUT it requires a HUGE amount of other libs to compile...
/Please excuse my bad spelling - My native language is binary not english
|
Visit me
\Take my advice - I don''''t use it...