Compilation error
Posted: Mon Aug 10, 2009 2:45 am
Hi you all.
I decided to go back programming with Irrlicht after having had a rest for some years and now when I dowloaded the 1.5.1 versión and tried to compile the examples I've gotten some compiler errors and I seem unable to find what I'm doing wrong. I feel so dumb.
I still use VC++ 6.0 and I have set the directories for the header files, irrlicht.lib, and so... When I try to build the 01HelloWorl example I get a lot of compiling errors like:
It's so weird.
What the heck am I doing wrong?
I decided to go back programming with Irrlicht after having had a rest for some years and now when I dowloaded the 1.5.1 versión and tried to compile the examples I've gotten some compiler errors and I seem unable to find what I'm doing wrong. I feel so dumb.
I still use VC++ 6.0 and I have set the directories for the header files, irrlicht.lib, and so... When I try to build the 01HelloWorl example I get a lot of compiling errors like:
Code: Select all
Compiling...
main.cpp
Compiling Irrlicht with Visual Studio 6.0, support for DX9 is disabled.
k:\programación\irrlicht-1.5.1\include\scolor.h(279) : error C2780: 'const T &__cdecl irr::core::min_(const T &,const T &,const T &)' : expects 3 arguments - 2 provided
k:\programación\irrlicht-1.5.1\include\irrmath.h(120) : see declaration of 'min_'
k:\programación\irrlicht-1.5.1\include\scolor.h(279) : error C2782: 'const T &__cdecl irr::core::min_(const T &,const T &)' : template parameter 'T' is ambiguous
could be 'unsigned int'
or 'unsigned __int32'
k:\programación\irrlicht-1.5.1\include\scolor.h(280) : error C2780: 'const T &__cdecl irr::core::min_(const T &,const T &,const T &)' : expects 3 arguments - 2 provided
k:\programación\irrlicht-1.5.1\include\irrmath.h(120) : see declaration of 'min_'
k:\programación\irrlicht-1.5.1\include\scolor.h(280) : error C2782: 'const T &__cdecl irr::core::min_(const T &,const T &)' : template parameter 'T' is ambiguous
could be 'unsigned int'
or 'unsigned __int32'
What the heck am I doing wrong?