I'm having trouble compiling the latest revision (rev 2453) of Irrlicht's trunk on Windows XP. I am using the supplied Irrlicht9.0 VC++ project inside Visual Studio C++ 2008 Express Edition. I've made no modifications to the Irrlicht code.
Here is the compilation error. Something tells me that this has to do with the new changes to IFileSystem.
Code: Select all
CZipReader.cpp
.\CZipReader.cpp(37) : error C2600: 'irr::io::CArchiveLoaderZIP::~CArchiveLoaderZIP' : cannot define a compiler-generated special member function (must be declared in the class first)
.\CZipReader.cpp(97) : error C2511: 'irr::io::CZipReader::CZipReader(irr::io::IReadFile *,bool,bool)' : overloaded member function not found in 'irr::io::CZipReader'
c:\irrlicht\source\irrlicht\CZipReader.h(171) : see declaration of 'irr::io::CZipReader'
.\CZipReader.cpp(711) : error C2059: syntax error : '}'
.\CZipReader.cpp(712) : error C2612: trailing '}' illegal in base/member initializer list
.\CZipReader.cpp(714) : fatal error C1004: unexpected end-of-file found
CPakReader.cpp
.\CPakReader.cpp(197) : error C2039: 'openFile' : is not a member of 'irr::io::CPakReader'
c:\irrlicht\source\irrlicht\CPakReader.h(69) : see declaration of 'irr::io::CPakReader'
.\CPakReader.cpp(199) : error C3861: 'findFile': identifier not found
.\CPakReader.cpp(202) : error C2664: 'irr::io::openFile' : cannot convert parameter 1 from 'irr::s32' to 'const irr::core::string<T> &'
with
[
T=irr::c8
]
Reason: cannot convert from 'irr::s32' to 'const irr::core::string<T>'
with
[
T=irr::c8
]
Constructor for class 'irr::core::string<T>' is declared 'explicit'
with
[
T=irr::c8
]
.\CPakReader.cpp(209) : error C2039: 'openFile' : is not a member of 'irr::io::CPakReader'
c:\irrlicht\source\irrlicht\CPakReader.h(69) : see declaration of 'irr::io::CPakReader'
.\CPakReader.cpp(211) : error C2065: 'FileList' : undeclared identifier
.\CPakReader.cpp(211) : error C2228: left of '.simpleFileName' must have class/struct/union
.\CPakReader.cpp(211) : error C2065: 'File' : undeclared identifier
.\CPakReader.cpp(211) : error C2065: 'FileList' : undeclared identifier
.\CPakReader.cpp(211) : error C2228: left of '.pos' must have class/struct/union
.\CPakReader.cpp(211) : error C2065: 'FileList' : undeclared identifier
.\CPakReader.cpp(211) : error C2228: left of '.length' must have class/struct/union
CFileSystem.cpp
.\CFileSystem.cpp(76) : error C2039: 'openFile' : is not a member of 'irr::io::IFileArchive'
c:\irrlicht\include\IFileArchive.h(67) : see declaration of 'irr::io::IFileArchive'
.\CFileSystem.cpp(162) : error C2039: 'registerFileArchive' : is not a member of 'irr::io::CFileSystem'
c:\irrlicht\source\irrlicht\CFileSystem.h(23) : see declaration of 'irr::io::CFileSystem'
.\CFileSystem.cpp(169) : error C2065: 'FileArchives' : undeclared identifier
.\CFileSystem.cpp(169) : error C2228: left of '.size' must have class/struct/union
type is ''unknown-type''
.\CFileSystem.cpp(171) : error C2065: 'FileArchives' : undeclared identifier
.\CFileSystem.cpp(171) : error C2227: left of '->getArchiveName' must point to class/struct/union/generic type
.\CFileSystem.cpp(176) : error C2065: 'ArchiveLoader' : undeclared identifier
.\CFileSystem.cpp(176) : error C2228: left of '.size' must have class/struct/union
type is ''unknown-type''
.\CFileSystem.cpp(178) : error C2065: 'ArchiveLoader' : undeclared identifier
.\CFileSystem.cpp(178) : error C2227: left of '->isALoadableFileFormat' must point to class/struct/union/generic type
.\CFileSystem.cpp(180) : error C2065: 'ArchiveLoader' : undeclared identifier
.\CFileSystem.cpp(180) : error C2227: left of '->createArchive' must point to class/struct/union/generic type
.\CFileSystem.cpp(189) : error C3861: 'createAndOpenFile': identifier not found
.\CFileSystem.cpp(192) : error C2065: 'ArchiveLoader' : undeclared identifier
.\CFileSystem.cpp(192) : error C2228: left of '.size' must have class/struct/union
type is ''unknown-type''
.\CFileSystem.cpp(195) : error C2065: 'ArchiveLoader' : undeclared identifier
.\CFileSystem.cpp(195) : error C2227: left of '->isALoadableFileFormat' must point to class/struct/union/generic type
.\CFileSystem.cpp(198) : error C2065: 'ArchiveLoader' : undeclared identifier
.\CFileSystem.cpp(198) : error C2227: left of '->createArchive' must point to class/struct/union/generic type
.\CFileSystem.cpp(209) : error C2065: 'FileArchives' : undeclared identifier
.\CFileSystem.cpp(209) : error C2228: left of '.push_back' must have class/struct/union
type is ''unknown-type''
.\CFileSystem.cpp(223) : error C2039: 'unregisterFileArchive' : is not a member of 'irr::io::CFileSystem'
c:\irrlicht\source\irrlicht\CFileSystem.h(23) : see declaration of 'irr::io::CFileSystem'
.\CFileSystem.cpp(226) : error C2065: 'FileArchives' : undeclared identifier
.\CFileSystem.cpp(226) : error C2228: left of '.size' must have class/struct/union
type is ''unknown-type''
.\CFileSystem.cpp(228) : error C2065: 'FileArchives' : undeclared identifier
.\CFileSystem.cpp(228) : error C2227: left of '->drop' must point to class/struct/union/generic type
.\CFileSystem.cpp(229) : error C2065: 'FileArchives' : undeclared identifier
.\CFileSystem.cpp(229) : error C2228: left of '.erase' must have class/struct/union
type is ''unknown-type''
.\CFileSystem.cpp(238) : error C2039: 'unregisterFileArchive' : is not a member of 'irr::io::CFileSystem'
c:\irrlicht\source\irrlicht\CFileSystem.h(23) : see declaration of 'irr::io::CFileSystem'
.\CFileSystem.cpp(240) : error C2065: 'FileArchives' : undeclared identifier
.\CFileSystem.cpp(240) : error C2228: left of '.size' must have class/struct/union
type is ''unknown-type''
.\CFileSystem.cpp(242) : error C2065: 'FileArchives' : undeclared identifier
.\CFileSystem.cpp(242) : error C2227: left of '->getArchiveName' must point to class/struct/union/generic type
.\CFileSystem.cpp(487) : error C2039: 'getArchiveType' : is not a member of 'irr::io::IFileArchive'
c:\irrlicht\include\IFileArchive.h(67) : see declaration of 'irr::io::IFileArchive'
.\CFileSystem.cpp(507) : error C2039: 'getArchiveType' : is not a member of 'irr::io::IFileArchive'
c:\irrlicht\include\IFileArchive.h(67) : see declaration of 'irr::io::IFileArchive'
Generating Code...
Build log was saved at "file://c:\irrlicht\source\obj\IrrDebug\BuildLog.htm"
Irrlicht - 51 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========