error in source code while compiling irrlicht SDK with MingW

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
bebe
Posts: 2
Joined: Tue Feb 19, 2008 7:36 pm

error in source code while compiling irrlicht SDK with MingW

Post by bebe »

(french newbie in the place, take care ! :D )

so, hi all !

As said in subject I have some unusuals problems compiling irrlicht SDK with MingW.

First I read the official tutorial and all was OK, I built the dll, but the way is I don't like VC++ toolkit Compiler 2003 and I have somes basic libs problems with... Anyway, I don't understand why it doen't compil with GCC (MingW)


I linked and inclued the dx SDK, MS SDK (even without linking them, it doesn't work) and irr SDK.

I know a guy who have the same problem :/


This is the first error, theire have many other:

The build log :

..\..\include\EGUIElementTypes.h:93: error: expected init-declarator before '*' token
..\..\include\EGUIElementTypes.h:93: error: expected `,' or `;' before '*' token

the indicated line :

const c8* const GUIElementTypeNames[] =


hum... I don't think it should resovl my problem to post this code.


versions :
irrlicht 1.4
code blocks 1.0rc2
mingW32 (the default version when you download code blocks...)

So, does somebody have ever been in this strange situation ?
hybrid
Admin
Posts: 14144
Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:

Post by hybrid »

The project file tries to compile *.h files. You can either change the compile flags, create a new project file, or try the one from SVN.
Post Reply