Hey,
I'm using gman's Irrlicht wrapper (or trying to) on Linux, and struggling with certain errors while building. I'm using Ubuntu 12.04 in 64-bit, which is already going to cause trouble, no doubt, but I've come fairly far. I've downloaded the engine itself, created a 32-bit binary, but building the mod itself with BMK gives me these errors:
Compiling:irrlicht.cpp
In file included from /home/connor/Downloads/blitzmax/BlitzMax/mod/irrlicht.mod/core.mod/irrlicht.cpp:164:0:
/home/connor/Downloads/blitzmax/BlitzMax/mod/irrlicht.mod/core.mod/gui/iguiskin_wrap.h:57:11: error: ‘rect’ does not name a type
/home/connor/Downloads/blitzmax/BlitzMax/mod/irrlicht.mod/core.mod/gui/iguiskin_wrap.h:57:11: error: ISO C++ forbids declaration of ‘parameter’ with no type [-fpermissive]
/home/connor/Downloads/blitzmax/BlitzMax/mod/irrlicht.mod/core.mod/gui/iguiskin_wrap.h:57:15: error: expected ‘,’ or ‘...’ before ‘<’ token
/home/connor/Downloads/blitzmax/BlitzMax/mod/irrlicht.mod/core.mod/gui/iguiskin_wrap.h: In function ‘void IrrGUI_IGUISkin_draw3DButtonPanePressed(irr::gui::IGUISkin*, irr::gui::IGUIElement*, const irr::core::rect<int>*, int)’:
/home/connor/Downloads/blitzmax/BlitzMax/mod/irrlicht.mod/core.mod/gui/iguiskin_wrap.h:60:48: error: ‘clip’ was not declared in this scope
/home/connor/Downloads/blitzmax/BlitzMax/mod/irrlicht.mod/core.mod/gui/iguiskin_wrap.h: At global scope:
/home/connor/Downloads/blitzmax/BlitzMax/mod/irrlicht.mod/core.mod/gui/iguiskin_wrap.h:76:11: error: ‘rect’ does not name a type
/home/connor/Downloads/blitzmax/BlitzMax/mod/irrlicht.mod/core.mod/gui/iguiskin_wrap.h:76:11: error: ISO C++ forbids declaration of ‘parameter’ with no type [-fpermissive]
/home/connor/Downloads/blitzmax/BlitzMax/mod/irrlicht.mod/core.mod/gui/iguiskin_wrap.h:76:15: error: expected ‘,’ or ‘...’ before ‘<’ token
/home/connor/Downloads/blitzmax/BlitzMax/mod/irrlicht.mod/core.mod/gui/iguiskin_wrap.h: In function ‘irr::core::rect<int>* IrrGUI_IGUISkin_draw3DWindowBackground(irr::gui::IGUISkin*, irr::gui::IGUIElement*, bool, irr::video::SColor*, const irr::core::rect<int>*, int)’:
/home/connor/Downloads/blitzmax/BlitzMax/mod/irrlicht.mod/core.mod/gui/iguiskin_wrap.h:79:103: error: ‘clip’ was not declared in this scope
/home/connor/Downloads/blitzmax/BlitzMax/mod/irrlicht.mod/core.mod/gui/iguiskin_wrap.h:79:109: error: ‘checkClientArea’ was not declared in this scope
/home/connor/Downloads/blitzmax/BlitzMax/mod/irrlicht.mod/core.mod/gui/iguiskin_wrap.h: At global scope:
/home/connor/Downloads/blitzmax/BlitzMax/mod/irrlicht.mod/core.mod/gui/iguiskin_wrap.h:85:11: error: ‘rect’ does not name a type
/home/connor/Downloads/blitzmax/BlitzMax/mod/irrlicht.mod/core.mod/gui/iguiskin_wrap.h:85:11: error: ISO C++ forbids declaration of ‘parameter’ with no type [-fpermissive]
/home/connor/Downloads/blitzmax/BlitzMax/mod/irrlicht.mod/core.mod/gui/iguiskin_wrap.h:85:15: error: expected ‘,’ or ‘...’ before ‘<’ token
/home/connor/Downloads/blitzmax/BlitzMax/mod/irrlicht.mod/core.mod/gui/iguiskin_wrap.h: In function ‘void IrrGUI_IGUISkin_draw3DMenuPane(irr::gui::IGUISkin*, irr::gui::IGUIElement*, const irr::core::rect<int>*, int)’:
/home/connor/Downloads/blitzmax/BlitzMax/mod/irrlicht.mod/core.mod/gui/iguiskin_wrap.h:88:39: error: ‘clip’ was not declared in this scope
And then, unsurprisingly, building the mod fails. I tried to leave out iguiskin_wrap altogether by removing its include in the rest of the mod, but it doesn't want to build any example code without this bit, so I guess I have to solve this problem.
Any suggestions?
|