(try to) compiling the newest svn-ver Irrlicht...

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
RoBaTte
Posts: 10
Joined: Thu Jun 07, 2007 2:34 pm

(try to) compiling the newest svn-ver Irrlicht...

Post by RoBaTte »

I got the latest svn-irrlicht-source and tryed to compile it with Code::Blocks (nightbuild dez.07, MingW-5.1.3, Irrlicht in c:\irrlicht\).

And this time I got no directx-error! Yo!

It immediately stops and give an error in the EGUIElementTypes.h.
  • expected init-declarator before '*' token
at

Code: Select all

     //! Names for built-in element types
         const c8* const GUIElementTypeNames[] =
        {
	     "button",
        ...
means, c8 is unknown. But if I include irrtypes.h, I get
  • EMeshWriterEnums.h:20: error: a function call cannot appear in a constant-expression
    EMeshWriterEnums.h:20: error: enumerator value for `EMWT_IRR_MESH' not integer constant
and so on.
There must be something fundamental wrong. Has anybody any suggestions?

Thanks for your help. Rob
hybrid
Admin
Posts: 14143
Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:

Post by hybrid »

That file also lacks the irrTypes.h include. However, you should probably prefer to avoid compilation of .h files, because the files which include the mentioned enum headers already have irrTypes included.
Post Reply