Included the gheaders and addet the cpp Files to the Project.
When compiling I get ONE funking ERROR >.<
Would be verry verry nice if anyone could help:
Code: Select all
int main...
device->getFileSystem()->addZipFileArchive("data/TexSkiMod.zip", true, false); //Main Data Archive
// Load GUI Skin
SImageGUISkinConfig guicfg = LoadGUISkinFromFile(guienv->getFileSystem(), driver, "gui/guiskin.cfg");
CImageGUISkin *skin = new CImageGUISkin(guienv->getVideoDriver(), (IGUISkin *)guienv->getSkin()); //<--------HERE IS LINE 50!
skin->loadConfig(guicfg);
gui::IGUIFont* font = guienv->getFont("fonts/defaultfont.bmp");
if (font != 0)
skin->setFont(font, gui::EGDF_DEFAULT);
guienv->setSkin(skin);
skin->drop();
...
Code: Select all
1>Main.cpp
1>c:\dokumente und einstellungen\meep\desktop\test3d\application\client\main.cpp(50) : error C2259: 'irr::gui::CImageGUISkin' : cannot instantiate abstract class
1> due to following members:
1> 'void irr::gui::IGUISkin::draw3DTabButton(irr::gui::IGUIElement *,bool,const irr::core::rect<T> &,const irr::core::rect<T> *,irr::gui::EGUI_ALIGNMENT)' : is abstract
1> with
1> [
1> T=irr::s32
1> ]
1> c:\dokumente und einstellungen\meep\desktop\test3d\application\irrmix\iguiskin.h(464) : see declaration of 'irr::gui::IGUISkin::draw3DTabButton'
1> 'void irr::gui::IGUISkin::draw3DTabBody(irr::gui::IGUIElement *,bool,bool,const irr::core::rect<T> &,const irr::core::rect<T> *,irr::s32,irr::gui::EGUI_ALIGNMENT)' : is abstract
1> with
1> [
1> T=irr::s32
1> ]
1> c:\dokumente und einstellungen\meep\desktop\test3d\application\irrmix\iguiskin.h(475) : see declaration of 'irr::gui::IGUISkin::draw3DTabBody'
1>CImageGUISkin.cpp
1>Generating Code...
1>Build log was saved at "file://c:\Dokumente und Einstellungen\meep\Desktop\test3d\Application\Client\BuildLog.htm"
1>Test-3D-Project - 1 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 3 up-to-date, 0 skipped ==========