I NEED HELP!
Posted: Fri Dec 21, 2007 8:57 pm
I got the following errors after trying out the very first tutorial on the tutorial page, please help.
i am using Microsoft Visual C++ 2005 express edition.
thanks in advance.
Compiling...
main.cpp
c:\users\emelle\documents\visual studio 2005\projects\game1\game1\main.cpp(10) : error C2065: 'EDT_SOFTWARE' : undeclared identifier
c:\users\emelle\documents\visual studio 2005\projects\game1\game1\main.cpp(10) : error C2065: 'dimension2d' : undeclared identifier
c:\users\emelle\documents\visual studio 2005\projects\game1\game1\main.cpp(10) : error C2275: 'irr::s32' : illegal use of this type as an expression
c:\boys homework\irrlicht-1.4\irrlicht-1.4\include\irrtypes.h(43) : see declaration of 'irr::s32'
c:\users\emelle\documents\visual studio 2005\projects\game1\game1\main.cpp(14) : error C2065: 'IVideoDriver' : undeclared identifier
c:\users\emelle\documents\visual studio 2005\projects\game1\game1\main.cpp(14) : error C2065: 'driver' : undeclared identifier
c:\users\emelle\documents\visual studio 2005\projects\game1\game1\main.cpp(15) : error C2065: 'ISceneManager' : undeclared identifier
c:\users\emelle\documents\visual studio 2005\projects\game1\game1\main.cpp(15) : error C2065: 'smgr' : undeclared identifier
c:\users\emelle\documents\visual studio 2005\projects\game1\game1\main.cpp(16) : error C2065: 'IGUIEnvironment' : undeclared identifier
c:\users\emelle\documents\visual studio 2005\projects\game1\game1\main.cpp(16) : error C2065: 'guienv' : undeclared identifier
c:\users\emelle\documents\visual studio 2005\projects\game1\game1\main.cpp(18 ) : error C2227: left of '->addStaticText' must point to class/struct/union/generic type
type is ''unknown-type''
c:\users\emelle\documents\visual studio 2005\projects\game1\game1\main.cpp(18 ) : error C2065: 'rect' : undeclared identifier
c:\users\emelle\documents\visual studio 2005\projects\game1\game1\main.cpp(18 ) : error C2062: type 'int' unexpected
c:\users\emelle\documents\visual studio 2005\projects\game1\game1\main.cpp(20) : error C2065: 'IAnimatedMesh' : undeclared identifier
c:\users\emelle\documents\visual studio 2005\projects\game1\game1\main.cpp(20) : error C2065: 'mesh' : undeclared identifier
c:\users\emelle\documents\visual studio 2005\projects\game1\game1\main.cpp(20) : error C2227: left of '->getMesh' must point to class/struct/union/generic type
type is ''unknown-type''
c:\users\emelle\documents\visual studio 2005\projects\game1\game1\main.cpp(21) : error C2065: 'IAnimatedMeshSceneNode' : undeclared identifier
c:\users\emelle\documents\visual studio 2005\projects\game1\game1\main.cpp(21) : error C2065: 'node' : undeclared identifier
c:\users\emelle\documents\visual studio 2005\projects\game1\game1\main.cpp(21) : error C2227: left of '->addAnimatedMeshSceneNode' must point to class/struct/union/generic type
type is ''unknown-type''
c:\users\emelle\documents\visual studio 2005\projects\game1\game1\main.cpp(25) : error C2227: left of '->setMaterialFlag' must point to class/struct/union/generic type
type is ''unknown-type''
c:\users\emelle\documents\visual studio 2005\projects\game1\game1\main.cpp(25) : error C2065: 'EMF_LIGHTING' : undeclared identifier
c:\users\emelle\documents\visual studio 2005\projects\game1\game1\main.cpp(26) : error C2227: left of '->setFrameLoop' must point to class/struct/union/generic type
type is ''unknown-type''
c:\users\emelle\documents\visual studio 2005\projects\game1\game1\main.cpp(27) : error C2227: left of '->setMaterialTexture' must point to class/struct/union/generic type
type is ''unknown-type''
c:\users\emelle\documents\visual studio 2005\projects\game1\game1\main.cpp(27) : error C2227: left of '->getTexture' must point to class/struct/union/generic type
type is ''unknown-type''
c:\users\emelle\documents\visual studio 2005\projects\game1\game1\main.cpp(30) : error C2227: left of '->addCameraSceneNode' must point to class/struct/union/generic type
type is ''unknown-type''
c:\users\emelle\documents\visual studio 2005\projects\game1\game1\main.cpp(30) : error C3861: 'vector3df': identifier not found
c:\users\emelle\documents\visual studio 2005\projects\game1\game1\main.cpp(30) : error C3861: 'vector3df': identifier not found
c:\users\emelle\documents\visual studio 2005\projects\game1\game1\main.cpp(34) : error C2227: left of '->beginScene' must point to class/struct/union/generic type
type is ''unknown-type''
c:\users\emelle\documents\visual studio 2005\projects\game1\game1\main.cpp(34) : error C3861: 'SColor': identifier not found
c:\users\emelle\documents\visual studio 2005\projects\game1\game1\main.cpp(36) : error C2227: left of '->drawAll' must point to class/struct/union/generic type
type is ''unknown-type''
c:\users\emelle\documents\visual studio 2005\projects\game1\game1\main.cpp(38 ) : error C2227: left of '->drawAll' must point to class/struct/union/generic type
type is ''unknown-type''
c:\users\emelle\documents\visual studio 2005\projects\game1\game1\main.cpp(40) : error C2227: left of '->endScene' must point to class/struct/union/generic type
type is ''unknown-type''
i am using Microsoft Visual C++ 2005 express edition.
thanks in advance.
Compiling...
main.cpp
c:\users\emelle\documents\visual studio 2005\projects\game1\game1\main.cpp(10) : error C2065: 'EDT_SOFTWARE' : undeclared identifier
c:\users\emelle\documents\visual studio 2005\projects\game1\game1\main.cpp(10) : error C2065: 'dimension2d' : undeclared identifier
c:\users\emelle\documents\visual studio 2005\projects\game1\game1\main.cpp(10) : error C2275: 'irr::s32' : illegal use of this type as an expression
c:\boys homework\irrlicht-1.4\irrlicht-1.4\include\irrtypes.h(43) : see declaration of 'irr::s32'
c:\users\emelle\documents\visual studio 2005\projects\game1\game1\main.cpp(14) : error C2065: 'IVideoDriver' : undeclared identifier
c:\users\emelle\documents\visual studio 2005\projects\game1\game1\main.cpp(14) : error C2065: 'driver' : undeclared identifier
c:\users\emelle\documents\visual studio 2005\projects\game1\game1\main.cpp(15) : error C2065: 'ISceneManager' : undeclared identifier
c:\users\emelle\documents\visual studio 2005\projects\game1\game1\main.cpp(15) : error C2065: 'smgr' : undeclared identifier
c:\users\emelle\documents\visual studio 2005\projects\game1\game1\main.cpp(16) : error C2065: 'IGUIEnvironment' : undeclared identifier
c:\users\emelle\documents\visual studio 2005\projects\game1\game1\main.cpp(16) : error C2065: 'guienv' : undeclared identifier
c:\users\emelle\documents\visual studio 2005\projects\game1\game1\main.cpp(18 ) : error C2227: left of '->addStaticText' must point to class/struct/union/generic type
type is ''unknown-type''
c:\users\emelle\documents\visual studio 2005\projects\game1\game1\main.cpp(18 ) : error C2065: 'rect' : undeclared identifier
c:\users\emelle\documents\visual studio 2005\projects\game1\game1\main.cpp(18 ) : error C2062: type 'int' unexpected
c:\users\emelle\documents\visual studio 2005\projects\game1\game1\main.cpp(20) : error C2065: 'IAnimatedMesh' : undeclared identifier
c:\users\emelle\documents\visual studio 2005\projects\game1\game1\main.cpp(20) : error C2065: 'mesh' : undeclared identifier
c:\users\emelle\documents\visual studio 2005\projects\game1\game1\main.cpp(20) : error C2227: left of '->getMesh' must point to class/struct/union/generic type
type is ''unknown-type''
c:\users\emelle\documents\visual studio 2005\projects\game1\game1\main.cpp(21) : error C2065: 'IAnimatedMeshSceneNode' : undeclared identifier
c:\users\emelle\documents\visual studio 2005\projects\game1\game1\main.cpp(21) : error C2065: 'node' : undeclared identifier
c:\users\emelle\documents\visual studio 2005\projects\game1\game1\main.cpp(21) : error C2227: left of '->addAnimatedMeshSceneNode' must point to class/struct/union/generic type
type is ''unknown-type''
c:\users\emelle\documents\visual studio 2005\projects\game1\game1\main.cpp(25) : error C2227: left of '->setMaterialFlag' must point to class/struct/union/generic type
type is ''unknown-type''
c:\users\emelle\documents\visual studio 2005\projects\game1\game1\main.cpp(25) : error C2065: 'EMF_LIGHTING' : undeclared identifier
c:\users\emelle\documents\visual studio 2005\projects\game1\game1\main.cpp(26) : error C2227: left of '->setFrameLoop' must point to class/struct/union/generic type
type is ''unknown-type''
c:\users\emelle\documents\visual studio 2005\projects\game1\game1\main.cpp(27) : error C2227: left of '->setMaterialTexture' must point to class/struct/union/generic type
type is ''unknown-type''
c:\users\emelle\documents\visual studio 2005\projects\game1\game1\main.cpp(27) : error C2227: left of '->getTexture' must point to class/struct/union/generic type
type is ''unknown-type''
c:\users\emelle\documents\visual studio 2005\projects\game1\game1\main.cpp(30) : error C2227: left of '->addCameraSceneNode' must point to class/struct/union/generic type
type is ''unknown-type''
c:\users\emelle\documents\visual studio 2005\projects\game1\game1\main.cpp(30) : error C3861: 'vector3df': identifier not found
c:\users\emelle\documents\visual studio 2005\projects\game1\game1\main.cpp(30) : error C3861: 'vector3df': identifier not found
c:\users\emelle\documents\visual studio 2005\projects\game1\game1\main.cpp(34) : error C2227: left of '->beginScene' must point to class/struct/union/generic type
type is ''unknown-type''
c:\users\emelle\documents\visual studio 2005\projects\game1\game1\main.cpp(34) : error C3861: 'SColor': identifier not found
c:\users\emelle\documents\visual studio 2005\projects\game1\game1\main.cpp(36) : error C2227: left of '->drawAll' must point to class/struct/union/generic type
type is ''unknown-type''
c:\users\emelle\documents\visual studio 2005\projects\game1\game1\main.cpp(38 ) : error C2227: left of '->drawAll' must point to class/struct/union/generic type
type is ''unknown-type''
c:\users\emelle\documents\visual studio 2005\projects\game1\game1\main.cpp(40) : error C2227: left of '->endScene' must point to class/struct/union/generic type
type is ''unknown-type''