Code: Select all
Total errors: 229
Compiler: Default compiler
Building Makefile: "F:\irrlicht-1.6\examples\21.Quake3Explorer\Makefile.win"
Executing make...
make.exe -f "F:\irrlicht-1.6\examples\21.Quake3Explorer\Makefile.win" all
g++.exe -c main.cpp -o obj/main.o -I"C:/Dev-Cpp/lib/gcc/mingw32/3.4.2/include" -I"C:/Dev-Cpp/include/c++/3.4.2/backward" -I"C:/Dev-Cpp/include/c++/3.4.2/mingw32" -I"C:/Dev-Cpp/include/c++/3.4.2" -I"C:/Dev-Cpp/include" -I"C:/Dev-Cpp/include/GL" -I"F:/irrlicht-1.5.1/include" -I"../../include"
In file included from main.cpp:22:
q3factory.h:83: error: variable or field `Q3ShaderFactory' declared void
q3factory.h:83: error: `Q3LevelLoadParameter' was not declared in this scope
q3factory.h:83: error: `loadParam' was not declared in this scope
q3factory.h:84: error: expected primary-expression before '*' token
q3factory.h:84: error: `device' was not declared in this scope
q3factory.h:85: error: expected primary-expression before '*' token
q3factory.h:85: error: `mesh' was not declared in this scope
q3factory.h:86: error: expected primary-expression before "meshIndex"
q3factory.h:87: error: expected primary-expression before '*' token
q3factory.h:87: error: `parent' was not declared in this scope
q3factory.h:88: error: expected primary-expression before '*' token
q3factory.h:88: error: `meta' was not declared in this scope
q3factory.h:89: error: expected primary-expression before "bool"
q3factory.h:90: error: initializer expression list treated as compound expression
q3factory.h:96: error: variable or field `Q3ModelFactory' declared void
q3factory.h:96: error: `Q3LevelLoadParameter' was not declared in this scope
q3factory.h:96: error: `loadParam' was not declared in this scope
q3factory.h:97: error: expected primary-expression before '*' token
q3factory.h:97: error: `device' was not declared in this scope
q3factory.h:98: error: expected primary-expression before '*' token
q3factory.h:98: error: `masterMesh' was not declared in this scope
q3factory.h:99: error: expected primary-expression before '*' token
q3factory.h:99: error: `parent' was not declared in this scope
q3factory.h:100: error: expected primary-expression before "bool"
q3factory.h:101: error: initializer expression list treated as compound expression
q3factory.h:121: error: `funcptr_createDevice' does not name a type
q3factory.h:122: error: `funcptr_createDeviceEx' does not name a type
main.cpp:31: error: expected `,' or `...' before '&' token
main.cpp:31: error: ISO C++ forbids declaration of `path' with no type
main.cpp:33: error: expected `,' or `...' before '&' token
main.cpp:33: error: ISO C++ forbids declaration of `path' with no type
main.cpp:34: error: expected `,' or `...' before '&' token
main.cpp:34: error: ISO C++ forbids declaration of `path' with no type
main.cpp:46: error: `path' does not name a type
main.cpp:48: error: `path' was not declared in this scope
main.cpp:48: error: template argument 1 is invalid
main.cpp:48: error: template argument 2 is invalid
main.cpp:48: error: ISO C++ forbids declaration of `CurrentArchiveList' with no type
main.cpp:55: error: `Q3LevelLoadParameter' does not name a type
main.cpp:57: error: `funcptr_createDeviceEx' does not name a type
main.cpp:63: error: expected `,' or `...' before '&' token
main.cpp:64: error: ISO C++ forbids declaration of `path' with no type
main.cpp: In constructor `GameData::GameData(int)':
main.cpp:66: error: `createExDevice' undeclared (first use this function)
main.cpp:66: error: (Each undeclared identifier is reported only once for each function it appears in.)
main.cpp:68: error: `StartupDir' undeclared (first use this function)
main.cpp:68: error: `startupDir' undeclared (first use this function)
main.cpp: In member function `void GameData::setDefault()':
main.cpp:100: error: `loadParam' undeclared (first use this function)
main.cpp:113: error: `clear' has not been declared
main.cpp:113: error: request for member of non-aggregate type before '(' token
main.cpp:116: error: `push_back' has not been declared
main.cpp:116: error: request for member of non-aggregate type before '(' token
main.cpp:116: error: `StartupDir' undeclared (first use this function)
main.cpp:120: error: `push_back' has not been declared
main.cpp:120: error: request for member of non-aggregate type before '(' token
main.cpp:123: error: `push_back' has not been declared
main.cpp:123: error: request for member of non-aggregate type before '(' token
main.cpp: At global scope:
main.cpp:130: error: expected `,' or `...' before '&' token
main.cpp:131: error: ISO C++ forbids declaration of `path' with no type
main.cpp: In member function `irr::s32 GameData::load(int)':
main.cpp:136: error: `filename' undeclared (first use this function)
main.cpp:140: error: invalid initialization of reference of type 'irr::scene::quake3::tQ3EntityList&' from expression of type 'const irr::core::array<irr::scene::quake3::SEntity, irr::core::irrAllocator<irr::scene::quake3::SEntity> >'
main.cpp:150: error: 'class irr::scene::quake3::SShader' has no member named 'getGroupSize'
main.cpp: At global scope:
main.cpp:177: error: expected `,' or `...' before '&' token
main.cpp:178: error: ISO C++ forbids declaration of `path' with no type
main.cpp: In member function `irr::s32 GameData::save(int)':
main.cpp:187: error: `clear' has not been declared
main.cpp:187: error: request for member of non-aggregate type before '(' token
main.cpp:189: error: 'class irr::io::IFileSystem' has no member named 'getFileArchiveCount'
main.cpp:191: error: `push_back' has not been declared
main.cpp:191: error: request for member of non-aggregate type before '(' token
main.cpp:191: error: 'class irr::io::IFileSystem' has no member named 'getFileArchive'
main.cpp:202: error: `filename' undeclared (first use this function)
main.cpp:210: error: 'class irr::io::IFileSystem' has no member named 'getFileArchiveCount'
main.cpp:212: error: 'class irr::io::IFileSystem' has no member named 'getFileArchive'
main.cpp: In member function `void Q3Player::create(irr::IrrlichtDevice*, irr::scene::IQ3LevelMesh*, irr::scene::ISceneNode*, irr::scene::IMetaTriangleSelector*)':
main.cpp:318: error: `EKA_CROUCH' undeclared (first use this function)
main.cpp: At global scope:
main.cpp:482: error: ISO C++ forbids declaration of `IGUITreeView' with no type
main.cpp:482: error: expected `;' before '*' token
main.cpp:503: error: expected `,' or `...' before '&' token
main.cpp:503: error: ISO C++ forbids declaration of `path' with no type
main.cpp:544: error: `IGUITreeViewNode' has not been declared
main.cpp:544: error: ISO C++ forbids declaration of `nodeParent' with no type
main.cpp: In destructor `virtual CQuake3EventHandler::~CQuake3EventHandler()':
main.cpp:580: error: invalid conversion from `const char*' to `int'
main.cpp:580: error: initializing argument 1 of `irr::s32 GameData::save(int)'
main.cpp: In member function `void CQuake3EventHandler::createTextures()':
main.cpp:591: error: `dimension2du' undeclared (first use this function)
main.cpp:591: error: expected `;' before "dim"
main.cpp:601: error: `dim' undeclared (first use this function)
main.cpp: In member function `void CQuake3EventHandler::CreateGUI()':
main.cpp:661: error: no matching function for call to `irr::core::dimension2d<irr::u32>::dimension2d(const irr::core::dimension2d<irr::s32>&)'
F:/irrlicht-1.5.1/include/dimension2d.h:19: note: candidates are: irr::core::dimension2d<irr::u32>::dimension2d(const irr::core::dimension2d<irr::u32>&)
F:/irrlicht-1.5.1/include/dimension2d.h:25: note: irr::core::dimension2d<T>::dimension2d(const T&, const T&) [with T = irr::u32]
F:/irrlicht-1.5.1/include/dimension2d.h:22: note: irr::core::dimension2d<T>::dimension2d() [with T = irr::u32]
main.cpp:683: error: no matching function for call to `irr::gui::IGUIComboBox::addItem(const wchar_t[14], irr::video::E_DRIVER_TYPE)'
F:/irrlicht-1.5.1/include/IGUIComboBox.h:31: note: candidates are: virtual irr::u32 irr::gui::IGUIComboBox::addItem(const wchar_t*)
main.cpp:684: error: no matching function for call to `irr::gui::IGUIComboBox::addItem(const wchar_t[13], irr::video::E_DRIVER_TYPE)'
F:/irrlicht-1.5.1/include/IGUIComboBox.h:31: note: candidates are: virtual irr::u32 irr::gui::IGUIComboBox::addItem(const wchar_t*)
main.cpp:685: error: no matching function for call to `irr::gui::IGUIComboBox::addItem(const wchar_t[11], irr::video::E_DRIVER_TYPE)'
F:/irrlicht-1.5.1/include/IGUIComboBox.h:31: note: candidates are: virtual irr::u32 irr::gui::IGUIComboBox::addItem(const wchar_t*)
main.cpp:686: error: no matching function for call to `irr::gui::IGUIComboBox::addItem(const wchar_t[18], irr::video::E_DRIVER_TYPE)'
F:/irrlicht-1.5.1/include/IGUIComboBox.h:31: note: candidates are: virtual irr::u32 irr::gui::IGUIComboBox::addItem(const wchar_t*)
main.cpp:687: error: no matching function for call to `irr::gui::IGUIComboBox::addItem(const wchar_t[34], irr::video::E_DRIVER_TYPE)'
F:/irrlicht-1.5.1/include/IGUIComboBox.h:31: note: candidates are: virtual irr::u32 irr::gui::IGUIComboBox::addItem(const wchar_t*)
main.cpp:688: error: 'class irr::gui::IGUIComboBox' has no member named 'getIndexForItemData'
main.cpp:708: error: 'class irr::gui::IGUIComboBox' has no member named 'getIndexForItemData'
main.cpp:720: error: no matching function for call to `irr::gui::IGUIComboBox::addItem(const wchar_t*, irr::u32&)'
F:/irrlicht-1.5.1/include/IGUIComboBox.h:31: note: candidates are: virtual irr::u32 irr::gui::IGUIComboBox::addItem(const wchar_t*)
main.cpp:723: error: 'class irr::gui::IGUIComboBox' has no member named 'getIndexForItemData'
main.cpp:735: error: 'class irr::gui::IGUIScrollBar' has no member named 'setMin'
main.cpp:747: error: 'class irr::gui::IGUIScrollBar' has no member named 'setMin'
main.cpp:753: error: 'class irr::IrrlichtDevice' has no member named 'setGammaRamp'
main.cpp:758: error: 'class irr::gui::IGUIScrollBar' has no member named 'setMin'
main.cpp:762: error: 'struct GameData' has no member named 'loadParam'
main.cpp:807: error: 'struct GUI' has no member named 'SceneTree'
main.cpp:807: error: 'class irr::gui::IGUIEnvironment' has no member named 'addTreeView'
main.cpp:809: error: 'struct GUI' has no member named 'SceneTree'
main.cpp:810: error: 'struct GUI' has no member named 'SceneTree'
main.cpp:811: error: 'struct GUI' has no member named 'SceneTree'
main.cpp:814: error: `IGUIImageList' undeclared (first use this function)
main.cpp:814: error: `imageList' undeclared (first use this function)
main.cpp:814: error: 'class irr::gui::IGUIEnvironment' has no member named 'createImageList'
main.cpp:819: error: 'struct GUI' has no member named 'SceneTree'
main.cpp:828: error: invalid conversion from `const char*' to `int'
main.cpp:828: error: initializing argument 1 of `void CQuake3EventHandler::AddArchive(int)'
main.cpp: At global scope:
main.cpp:836: error: expected `,' or `...' before '&' token
main.cpp:837: error: ISO C++ forbids declaration of `path' with no type
main.cpp: In member function `void CQuake3EventHandler::AddArchive(int)':
main.cpp:841: error: `archiveName' undeclared (first use this function)
main.cpp:844: error: 'class irr::io::IFileSystem' has no member named 'getFileArchiveCount'
main.cpp:846: error: 'class irr::io::IFileSystem' has no member named 'getFileArchive'
main.cpp:855: error: 'class irr::io::IFileSystem' has no member named 'addFileArchive'
main.cpp:865: error: 'class irr::io::IFileSystem' has no member named 'getFileArchiveCount'
main.cpp:867: error: `IFileArchive' undeclared (first use this function)
main.cpp:867: error: `archive' undeclared (first use this function)
main.cpp:867: error: 'class irr::io::IFileSystem' has no member named 'getFileArchive'
main.cpp:869: error: void value not ignored as it ought to be
main.cpp:874: error: `EFAT_ZIP' is not a member of `irr::io'
main.cpp:877: error: `EFAT_GZIP' is not a member of `irr::io'
main.cpp:880: error: `EFAT_FOLDER' is not a member of `irr::io'
main.cpp:883: error: `EFAT_PAK' is not a member of `irr::io'
main.cpp:886: error: `EFAT_TAR' is not a member of `irr::io'
main.cpp:893: error: no matching function for call to `irr::gui::IGUITable::setCellText(irr::u32&, int, irr::core::stringw&)'
F:/irrlicht-1.5.1/include/IGUITable.h:160: note: candidates are: virtual void irr::gui::IGUITable::setCellText(irr::u32, irr::u32, const wchar_t*)
F:/irrlicht-1.5.1/include/IGUITable.h:163: note: virtual void irr::gui::IGUITable::setCellText(irr::u32, irr::u32, const wchar_t*, irr::video::SColor)
main.cpp:920: error: 'class irr::io::IFileSystem' has no member named 'setFileListSystem'
main.cpp:920: error: `FILESYSTEM_VIRTUAL' undeclared (first use this function)
main.cpp:923: error: 'class irr::io::IFileSystem' has no member named 'setFileListSystem'
main.cpp:923: error: `FILESYSTEM_NATIVE' undeclared (first use this function)
main.cpp:931: error: expected `;' before "c"
main.cpp:932: error: `c' undeclared (first use this function)
main.cpp:932: error: `deletePathFromFilename' undeclared (first use this function)
main.cpp:934: error: `path' cannot be used as a function
main.cpp:936: error: `dimension2du' undeclared (first use this function)
main.cpp:936: error: expected `;' before "dim"
main.cpp:940: error: expected `;' before "filename"
main.cpp:942: error: `filename' undeclared (first use this function)
main.cpp:954: error: `dim' undeclared (first use this function)
main.cpp:955: error: 'class irr::video::IImage' has no member named 'copyToScalingBoxFilter'
main.cpp:971: error: 'class irr::gui::IGUIListBox' has no member named 'setItemHeight'
main.cpp: In member function `void CQuake3EventHandler::LoadMap(const irr::core::stringw&, irr::s32)':
main.cpp:1046: error: 'struct GameData' has no member named 'loadParam'
main.cpp:1046: error: 'struct GameData' has no member named 'loadParam'
main.cpp:1052: error: no matching function for call to `irr::scene::ISceneManager::getMesh(const irr::core::string<wchar_t, irr::core::irrAllocator<wchar_t> >&)'
F:/irrlicht-1.5.1/include/ISceneManager.h:335: note: candidates are: virtual irr::scene::IAnimatedMesh* irr::scene::ISceneManager::getMesh(const irr::c8*)
F:/irrlicht-1.5.1/include/ISceneManager.h:344: note: virtual irr::scene::IAnimatedMesh* irr::scene::ISceneManager::getMesh(irr::io::IReadFile*)
main.cpp:1118: error: 'struct GameData' has no member named 'loadParam'
main.cpp:1118: error: `Q3ShaderFactory' cannot be used as a function
main.cpp:1119: error: 'struct GameData' has no member named 'loadParam'
main.cpp:1119: error: `E_Q3_MESH_FOG' undeclared (first use this function)
main.cpp:1119: error: `Q3ShaderFactory' cannot be used as a function
main.cpp:1120: error: 'struct GameData' has no member named 'loadParam'
main.cpp:1120: error: `E_Q3_MESH_UNRESOLVED' undeclared (first use this function)
main.cpp:1120: error: `Q3ShaderFactory' cannot be used as a function
main.cpp:1126: error: 'struct GameData' has no member named 'loadParam'
main.cpp:1126: error: `Q3ModelFactory' cannot be used as a function
main.cpp: At global scope:
main.cpp:1136: error: `IGUITreeViewNode' has not been declared
main.cpp:1137: error: ISO C++ forbids declaration of `nodeParent' with no type
main.cpp: In member function `void CQuake3EventHandler::addSceneTreeItem(irr::scene::ISceneNode*, int*)':
main.cpp:1138: error: `IGUITreeViewNode' undeclared (first use this function)
main.cpp:1138: error: `node' undeclared (first use this function)
main.cpp:1147: error: `ESNT_Q3SHADER_SCENE_NODE' undeclared (first use this function)
main.cpp:1165: error: invalid conversion from `int' to `const wchar_t*'
main.cpp:1165: error: initializing argument 2 of `int swprintf(wchar_t*, const wchar_t*, ...)'
main.cpp:1169: error: invalid conversion from `int' to `const wchar_t*'
main.cpp:1169: error: initializing argument 2 of `int swprintf(wchar_t*, const wchar_t*, ...)'
main.cpp:1172: error: `addChildBack' has not been declared
main.cpp:1172: error: request for member of non-aggregate type before '(' token
main.cpp:1180: error: 'class irr::scene::ISceneManager' has no member named 'getAnimatorTypeName'
main.cpp: In member function `void CQuake3EventHandler::AddSky(irr::u32, const irr::c8*)':
main.cpp:1250: error: no matching function for call to `irr::scene::ISceneManager::addSkyDomeSceneNode(irr::video::ITexture*, int, int, float, float, float, int, int)'
F:/irrlicht-1.5.1/include/ISceneManager.h:682: note: candidates are: virtual irr::scene::ISceneNode* irr::scene::ISceneManager::addSkyDomeSceneNode(irr::video::ITexture*, irr::u32, irr::u32, irr::f64, irr::f64, irr::scene::ISceneNode*, irr::s32)
main.cpp:1264: error: no matching function for call to `irr::scene::ISceneManager::addSkyDomeSceneNode(irr::video::ITexture*, int, int, float, float, float, int, int)'
F:/irrlicht-1.5.1/include/ISceneManager.h:682: note: candidates are: virtual irr::scene::ISceneNode* irr::scene::ISceneManager::addSkyDomeSceneNode(irr::video::ITexture*, irr::u32, irr::u32, irr::f64, irr::f64, irr::scene::ISceneNode*, irr::s32)
main.cpp: In member function `void CQuake3EventHandler::SetGUIActive(irr::s32)':
main.cpp:1306: error: 'struct GUI' has no member named 'SceneTree'
main.cpp:1306: error: 'struct GUI' has no member named 'SceneTree'
main.cpp:1309: error: 'struct GUI' has no member named 'SceneTree'
main.cpp:1310: error: 'struct GUI' has no member named 'SceneTree'
main.cpp: In member function `virtual bool CQuake3EventHandler::OnEvent(const irr::SEvent&)':
main.cpp:1340: error: 'struct GameData' has no member named 'loadParam'
main.cpp:1354: error: 'class irr::io::IFileSystem' has no member named 'removeFileArchive'
main.cpp:1356: error: invalid conversion from `const char*' to `int'
main.cpp:1356: error: initializing argument 1 of `void CQuake3EventHandler::AddArchive(int)'
main.cpp:1363: error: 'class irr::io::IFileSystem' has no member named 'setFileListSystem'
main.cpp:1363: error: `FILESYSTEM_NATIVE' undeclared (first use this function)
main.cpp:1370: error: invalid conversion from `const wchar_t*' to `int'
main.cpp:1370: error: initializing argument 1 of `void CQuake3EventHandler::AddArchive(int)'
main.cpp:1374: error: `EGET_DIRECTORY_SELECTED' is not a member of `irr::gui'
main.cpp:1376: error: 'class irr::gui::IGUIFileOpenDialog' has no member named 'getDirectoryName'
main.cpp:1388: error: 'class irr::io::IFileSystem' has no member named 'moveFileArchive'
main.cpp:1391: error: invalid conversion from `const char*' to `int'
main.cpp:1391: error: initializing argument 1 of `void CQuake3EventHandler::AddArchive(int)'
main.cpp:1392: error: 'class irr::gui::IGUITable' has no member named 'setSelected'
main.cpp:1399: error: 'class irr::gui::IGUIComboBox' has no member named 'getItemData'
main.cpp:1404: error: 'class irr::gui::IGUIComboBox' has no member named 'getItemData'
main.cpp:1426: error: 'struct GameData' has no member named 'loadParam'
main.cpp:1432: error: 'class irr::IrrlichtDevice' has no member named 'setGammaRamp'
main.cpp:1450: error: 'class irr::scene::ISceneNodeAnimatorCollisionResponse' has no member named 'setAnimateTarget'
main.cpp:1550: error: `path' undeclared (first use this function)
main.cpp:1550: error: expected `;' before "filename"
main.cpp:1551: error: `filename' undeclared (first use this function)
main.cpp:1630: error: 'class irr::scene::ISceneNodeAnimatorCollisionResponse' has no member named 'setAnimateTarget'
main.cpp: In member function `void CQuake3EventHandler::useItem(Q3Player*)':
main.cpp:1757: error: no matching function for call to `irr::scene::ISceneCollisionManager::getCollisionPoint(irr::core::line3d<irr::f32>&, irr::scene::IMetaTriangleSelector*&, irr::core::vector3df&, irr::core::triangle3df&, const irr::scene::ISceneNode*&)'
F:/irrlicht-1.5.1/include/ISceneCollisionManager.h:41: note: candidates are: virtual bool irr::scene::ISceneCollisionManager::getCollisionPoint(const irr::core::line3d<irr::f32>&, irr::scene::ITriangleSelector*, irr::core::vector3df&, irr::core::triangle3df&)
main.cpp:1820: error: `Noiser' has not been declared
main.cpp:1820: error: `get' undeclared (first use this function)
main.cpp: In member function `void CQuake3EventHandler::createParticleImpacts(irr::u32)':
main.cpp:1861: error: `Noiser' has not been declared
main.cpp:1861: error: `get' undeclared (first use this function)
main.cpp: In member function `void CQuake3EventHandler::Animate()':
main.cpp:1982: error: invalid conversion from `int' to `const wchar_t*'
main.cpp:1982: error: initializing argument 2 of `int swprintf(wchar_t*, const wchar_t*, ...)'
main.cpp:1989: error: invalid conversion from `int' to `const wchar_t*'
main.cpp:1989: error: initializing argument 2 of `int swprintf(wchar_t*, const wchar_t*, ...)'
main.cpp: In function `void runGame(GameData*)':
main.cpp:2016: error: 'struct GameData' has no member named 'createExDevice'
main.cpp:2028: error: invalid conversion from `const char*' to `int'
main.cpp:2028: error: initializing argument 1 of `irr::s32 GameData::load(int)'
main.cpp:2031: error: `size' has not been declared
main.cpp:2031: error: request for member of non-aggregate type before '(' token
main.cpp:2033: error: invalid types `int[irr::u32]' for array subscript
main.cpp:2040: error: 'struct GameData' has no member named 'loadParam'
main.cpp:2072: error: 'class irr::IrrlichtDevice' has no member named 'setGammaRamp'
main.cpp: In function `int main(int, char**)':
main.cpp:2085: error: `path' undeclared (first use this function)
main.cpp:2085: error: expected `;' before "prgname"
main.cpp:2086: error: `prgname' undeclared (first use this function)
main.cpp:2086: error: `deletePathFromPath' undeclared (first use this function)
main.cpp:2090: error: 'struct GameData' has no member named 'createExDevice'
main.cpp:2090: error: `load_createDeviceEx' undeclared (first use this function)
main.cpp:2091: error: 'struct GameData' has no member named 'createExDevice'
make.exe: *** [obj/main.o] Error 1
Execution terminated
I hope someone knows what's the problem.