libIrrlicht.a cannot be found
libIrrlicht.a cannot be found
Hi,
i download the Irrlicht Engine SDK version 1.0 and use the Dev-C++ 4 compiler.
In the tutorial stand that you have to include the libIrrlicht.a. Under Project Options i write the right way to finde the libIrrlicht.a file.
I use Windows XP and in the folder Win32-gcc exist a libIrrlicht.a file but this file is only 3 KB big. My compiler give me also the message:
"Resource file Resource file D:\Irrlicht\irrlicht-1.0\lib\Win32-gcc\libIrrlicht.a does not exist. Check in Project Options."
So i try to use the Linux Version (5,51MB). But i have the same problem.
"Resource file Resource file D:\Irrlicht\irrlicht-1.0\lib\Linux\libIrrlicht.a does not exist. Check in Project Options."
The path to the ibIrrlicht.a is correct. I checked it several times
i download the Irrlicht Engine SDK version 1.0 and use the Dev-C++ 4 compiler.
In the tutorial stand that you have to include the libIrrlicht.a. Under Project Options i write the right way to finde the libIrrlicht.a file.
I use Windows XP and in the folder Win32-gcc exist a libIrrlicht.a file but this file is only 3 KB big. My compiler give me also the message:
"Resource file Resource file D:\Irrlicht\irrlicht-1.0\lib\Win32-gcc\libIrrlicht.a does not exist. Check in Project Options."
So i try to use the Linux Version (5,51MB). But i have the same problem.
"Resource file Resource file D:\Irrlicht\irrlicht-1.0\lib\Linux\libIrrlicht.a does not exist. Check in Project Options."
The path to the ibIrrlicht.a is correct. I checked it several times
you are right. I download the wrong Dev version
now the compiler works but i get this error message:
Compiler: Default compiler
Building Makefile: "D:\Irrlicht\irrlicht-1.0\Testarbeit\Makefile.win"
Führt make... aus
make.exe -f "D:\Irrlicht\irrlicht-1.0\Testarbeit\Makefile.win" all
g++.exe -c test.c -o test.o -I"D:/Programme/Dev-Cpp/lib/gcc/mingw32/3.4.2/include" -I"D:/Programme/Dev-Cpp/include/c++/3.4.2/backward" -I"D:/Programme/Dev-Cpp/include/c++/3.4.2/mingw32" -I"D:/Programme/Dev-Cpp/include/c++/3.4.2" -I"D:/Programme/Dev-Cpp/include"
test.c:42:22: irrlicht.h: No such file or directory
test.c:53: error: expected namespace-name before ';' token
test.c:53: error: `<type error>' is not a namespace
test.c:64: error: expected namespace-name before ';' token
test.c:64: error: `<type error>' is not a namespace
test.c:65: error: expected namespace-name before ';' token
test.c:65: error: `<type error>' is not a namespace
test.c:66: error: expected namespace-name before ';' token
test.c:66: error: `<type error>' is not a namespace
test.c:67: error: expected namespace-name before ';' token
test.c:67: error: `<type error>' is not a namespace
test.c:68: error: expected namespace-name before ';' token
test.c:68: error: `<type error>' is not a namespace
test.c: In function `int main()':
test.c:109: error: `IrrlichtDevice' undeclared (first use this function)
test.c:109: error: (Each undeclared identifier is reported only once for each function it appears in.)
test.c:109: error: `device' undeclared (first use this function)
test.c:110: error: `video' has not been declared
test.c:110: error: `EDT_SOFTWARE2' undeclared (first use this function)
test.c:110: error: `dimension2d' undeclared (first use this function)
test.c:110: error: `s32' undeclared (first use this function)
test.c:111: error: `createDevice' undeclared (first use this function)
test.c:126: error: `IVideoDriver' undeclared (first use this function)
test.c:126: error: `driver' undeclared (first use this function)
test.c:127: error: `ISceneManager' undeclared (first use this function)
test.c:127: error: `smgr' undeclared (first use this function)
test.c:128: error: `IGUIEnvironment' undeclared (first use this function)
test.c:128: error: `guienv' undeclared (first use this function)
test.c:134: error: `rect' undeclared (first use this function)
test.c:134: error: expected primary-expression before "int"
test.c:146: error: `IAnimatedMesh' undeclared (first use this function)
test.c:146: error: `mesh' undeclared (first use this function)
test.c:147: error: `IAnimatedMeshSceneNode' undeclared (first use this function)
test.c:147: error: `node' undeclared (first use this function)
test.c:159: error: `EMF_LIGHTING' undeclared (first use this function)
test.c:160: error: `scene' has not been declared
test.c:160: error: `EMAT_STAND' undeclared (first use this function)
test.c:168: error: `vector3df' undeclared (first use this function)
test.c:185: error: `SColor' undeclared (first use this function)
make.exe: *** [test.o] Error 1
Ausführung beendet
now the compiler works but i get this error message:
Compiler: Default compiler
Building Makefile: "D:\Irrlicht\irrlicht-1.0\Testarbeit\Makefile.win"
Führt make... aus
make.exe -f "D:\Irrlicht\irrlicht-1.0\Testarbeit\Makefile.win" all
g++.exe -c test.c -o test.o -I"D:/Programme/Dev-Cpp/lib/gcc/mingw32/3.4.2/include" -I"D:/Programme/Dev-Cpp/include/c++/3.4.2/backward" -I"D:/Programme/Dev-Cpp/include/c++/3.4.2/mingw32" -I"D:/Programme/Dev-Cpp/include/c++/3.4.2" -I"D:/Programme/Dev-Cpp/include"
test.c:42:22: irrlicht.h: No such file or directory
test.c:53: error: expected namespace-name before ';' token
test.c:53: error: `<type error>' is not a namespace
test.c:64: error: expected namespace-name before ';' token
test.c:64: error: `<type error>' is not a namespace
test.c:65: error: expected namespace-name before ';' token
test.c:65: error: `<type error>' is not a namespace
test.c:66: error: expected namespace-name before ';' token
test.c:66: error: `<type error>' is not a namespace
test.c:67: error: expected namespace-name before ';' token
test.c:67: error: `<type error>' is not a namespace
test.c:68: error: expected namespace-name before ';' token
test.c:68: error: `<type error>' is not a namespace
test.c: In function `int main()':
test.c:109: error: `IrrlichtDevice' undeclared (first use this function)
test.c:109: error: (Each undeclared identifier is reported only once for each function it appears in.)
test.c:109: error: `device' undeclared (first use this function)
test.c:110: error: `video' has not been declared
test.c:110: error: `EDT_SOFTWARE2' undeclared (first use this function)
test.c:110: error: `dimension2d' undeclared (first use this function)
test.c:110: error: `s32' undeclared (first use this function)
test.c:111: error: `createDevice' undeclared (first use this function)
test.c:126: error: `IVideoDriver' undeclared (first use this function)
test.c:126: error: `driver' undeclared (first use this function)
test.c:127: error: `ISceneManager' undeclared (first use this function)
test.c:127: error: `smgr' undeclared (first use this function)
test.c:128: error: `IGUIEnvironment' undeclared (first use this function)
test.c:128: error: `guienv' undeclared (first use this function)
test.c:134: error: `rect' undeclared (first use this function)
test.c:134: error: expected primary-expression before "int"
test.c:146: error: `IAnimatedMesh' undeclared (first use this function)
test.c:146: error: `mesh' undeclared (first use this function)
test.c:147: error: `IAnimatedMeshSceneNode' undeclared (first use this function)
test.c:147: error: `node' undeclared (first use this function)
test.c:159: error: `EMF_LIGHTING' undeclared (first use this function)
test.c:160: error: `scene' has not been declared
test.c:160: error: `EMAT_STAND' undeclared (first use this function)
test.c:168: error: `vector3df' undeclared (first use this function)
test.c:185: error: `SColor' undeclared (first use this function)
make.exe: *** [test.o] Error 1
Ausführung beendet
-
hybrid
- Admin
- Posts: 14143
- Joined: Wed Apr 19, 2006 9:20 pm
- Location: Oldenburg(Oldb), Germany
- Contact:
So I assume the Irrlicht provided projects are working? You should configure your project such that the compiler finds Irrlicht's include directory and also the lib directory for linking later on. This shold be covered in the how-tos for compiler setup with Irrlicht. Or use some common sense to fill the dialog boxes according to the errors reported.




