MinGW woes
Posted: Mon Nov 13, 2006 3:43 pm
I'm getting a load of compile errors when trying to compile Irrlicht with MinGW Developer Studio 2.05 for the first time. I've trimmed my code down to bare bones...
#include <irrlicht.h>
int main()
{
return 0;
}
...and with just that, I get 7 errors and 59 warnings. It looks like its all about the #include<irrlicht.h> line. I won't include the whole list of entries, but here's an example:
In file included from ..\..\..\irrlicht-1.0\include\irrlicht.h:36,
from main.cpp:1:
..\..\..\irrlicht-1.0\include\SLight.h: In constructor `irr::video::SLight::SLight()':
..\..\..\irrlicht-1.0\include\SLight.h:57: warning: `irr::video::SLight::Type' will be initialized after
..\..\..\irrlicht-1.0\include\SLight.h:37: warning: `irr::video::SColorf irr::video::SLight::AmbientColor'
..\..\..\irrlicht-1.0\include\SLight.h:34: warning: when initialized here
I'm not sure what's going on here. Has anyone gotten the same problems?
#include <irrlicht.h>
int main()
{
return 0;
}
...and with just that, I get 7 errors and 59 warnings. It looks like its all about the #include<irrlicht.h> line. I won't include the whole list of entries, but here's an example:
In file included from ..\..\..\irrlicht-1.0\include\irrlicht.h:36,
from main.cpp:1:
..\..\..\irrlicht-1.0\include\SLight.h: In constructor `irr::video::SLight::SLight()':
..\..\..\irrlicht-1.0\include\SLight.h:57: warning: `irr::video::SLight::Type' will be initialized after
..\..\..\irrlicht-1.0\include\SLight.h:37: warning: `irr::video::SColorf irr::video::SLight::AmbientColor'
..\..\..\irrlicht-1.0\include\SLight.h:34: warning: when initialized here
I'm not sure what's going on here. Has anyone gotten the same problems?