Topic: I am stuck with setup and compilation of the irrlicht modules, please
Hi,
Hope you are doing well. Thank you for providing us the wrapper modules for irrlicht.
I am trying to get started with the irrlicht module and blitzmax and blitz3D.
I was able to set up the latest wrapper for irrlicht available as binary form from your site. But when I try to get the XEffects module
to work it compiles without errors but fails to show up any rendering window while the process still shows up in the task manager.
I then tried older version of the irrlicht module to work with XEffects module, but this it showed memory access exception at run-time.
1. So my question is how can I get the latest irrlicht module and the X-Effects reloaded module to work together ?
2. I also tried to re-build the irrlicht module but got compilation error stating - type rect not defined.
Can you please tell me what I am doing wrong here ? I am using MINGW - GCC and G++ version 4.7.2
Here is the compilation output log for irrlicht -
Compiling:irrlicht.cpp
In file included from C:/BlitzMax/mod/irrlicht.mod/core.mod/irrlicht.cpp:164:0:
C:/BlitzMax/mod/irrlicht.mod/core.mod/gui/iguiskin_wrap.h:57:11: error: 'rect' does not name a type
C:/BlitzMax/mod/irrlicht.mod/core.mod/gui/iguiskin_wrap.h:57:11: error: ISO C++ forbids declaration of 'parameter' with no type [-fpermissive]
C:/BlitzMax/mod/irrlicht.mod/core.mod/gui/iguiskin_wrap.h:57:15: error: expected ',' or '...' before '<' token
C:/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)':
C:/BlitzMax/mod/irrlicht.mod/core.mod/gui/iguiskin_wrap.h:60:48: error: 'clip' was not declared in this scope
C:/BlitzMax/mod/irrlicht.mod/core.mod/gui/iguiskin_wrap.h: At global scope:
C:/BlitzMax/mod/irrlicht.mod/core.mod/gui/iguiskin_wrap.h:76:11: error: 'rect' does not name a type
C:/BlitzMax/mod/irrlicht.mod/core.mod/gui/iguiskin_wrap.h:76:11: error: ISO C++ forbids declaration of 'parameter' with no type [-fpermissive]
C:/BlitzMax/mod/irrlicht.mod/core.mod/gui/iguiskin_wrap.h:76:15: error: expected ',' or '...' before '<' token
C:/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)':
C:/BlitzMax/mod/irrlicht.mod/core.mod/gui/iguiskin_wrap.h:79:103: error: 'clip' was not declared in this scope
C:/BlitzMax/mod/irrlicht.mod/core.mod/gui/iguiskin_wrap.h:79:109: error: 'checkClientArea' was not declared in this scope
C:/BlitzMax/mod/irrlicht.mod/core.mod/gui/iguiskin_wrap.h: At global scope:
C:/BlitzMax/mod/irrlicht.mod/core.mod/gui/iguiskin_wrap.h:85:11: error: 'rect' does not name a type
C:/BlitzMax/mod/irrlicht.mod/core.mod/gui/iguiskin_wrap.h:85:11: error: ISO C++ forbids declaration of 'parameter' with no type [-fpermissive]
C:/BlitzMax/mod/irrlicht.mod/core.mod/gui/iguiskin_wrap.h:85:15: error: expected ',' or '...' before '<' token
C:/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)':
C:/BlitzMax/mod/irrlicht.mod/core.mod/gui/iguiskin_wrap.h:88:39: error: 'clip' was not declared in this scope
Build Error: failed to compile C:/BlitzMax/mod/irrlicht.mod/core.mod/irrlicht.cpp
Process complete
3. How do I use the blitz3D module bundled within irrlicht module from within the blitz3D IDE ? All the files within the blitz3D module have .bmx extensions, so how do I set the whole thing up so that I can use the functions from within blitz3D ?
4. What do I use for sound in blitzmax and blitz3D while using the irrlicht modules ? Will the inbuilt sound functions available in
blitzmax and blitz3D work with the irrlicht renderer ? Or are there any better alternatives ?
5. What do I use for PHYSICS in blitzmax and blitz3D while using irrlicht modules ? Is there anything well featured available with
docs and tutorials ?
Thanks,