When I try to compile most things go good but I get several errors like this:
Code: Select all
Error 2 error C2039: 'c16' : is not a member of 'irr' c:\dev\tower_defense2\development2\cegui-0.7.0\cegui\include\renderermodules\irrlicht\ceguiirrlichtmemoryfile.h 61
What I am assuming is that 0.7 was made before Irrlicht 1.6 was finalized (judging by release dates) and something changed in the irr::io::IReadFile to make getFileName return "const io::path&" instead of "const irr::core::string<irr::c16>&" and they removed c16.
The following seems to fixes the problems (Once I get pcre so I can actually compile I can confirm it works)
In CEGUIIrrlichtMemeoryFile.h
replace
Code: Select all
const irr::core::string<irr::c16>& getFileName() const;
with
Code: Select all
const irr::io::path& getFileName() const;
replace
Code: Select all
irr::core::string<irr::c16> d_filename;
with
Code: Select all
irr::io::path d_filename;
And in CEGUIIrrlichtMemoryFile.cpp
replace
Code: Select all
const irr::core::string<irr::c16>& IrrlichtMemoryFile::getFileName() const
with
Code: Select all
const irr::io::path& IrrlichtMemoryFile::getFileName() const
This GUI system looks awesome and I hope to be using it a lot in the future!
~DtD