Hello guys
I am having problems with even compiling the first tutorial.
I have followed the steps in tutorial correctly
1.Include header files.
2.Include library files.
I am using Visual C++ 6.0
Do i require to include the DX9 library and header files from SDK?
I get the following errors.
Any help would be appreciated. Thanks
--------------------Configuration: HelloWorld - Win32 Release--------------------
Compiling...
main.cpp
Compiling Irrlicht with Visual Studio 6.0, support for DX9 is disabled.
..\..\include\SColor.h(301) : error C2780: 'const T &__cdecl irr::core::min_(const T &,const T &,const T &)' : expects 3 arguments - 2 provided
..\..\include\irrMath.h(80) : see declaration of 'min_'
..\..\include\SColor.h(301) : error C2782: 'const T &__cdecl irr::core::min_(const T &,const T &)' : template parameter 'T' is ambiguous
could be 'unsigned int'
or 'unsigned __int32'
..\..\include\SColor.h(302) : error C2780: 'const T &__cdecl irr::core::min_(const T &,const T &,const T &)' : expects 3 arguments - 2 provided
..\..\include\irrMath.h(80) : see declaration of 'min_'
..\..\include\SColor.h(302) : error C2782: 'const T &__cdecl irr::core::min_(const T &,const T &)' : template parameter 'T' is ambiguous
could be 'unsigned int'
or 'unsigned __int32'
..\..\include\SColor.h(303) : error C2780: 'const T &__cdecl irr::core::min_(const T &,const T &,const T &)' : expects 3 arguments - 2 provided
..\..\include\irrMath.h(80) : see declaration of 'min_'
..\..\include\SColor.h(303) : error C2782: 'const T &__cdecl irr::core::min_(const T &,const T &)' : template parameter 'T' is ambiguous
could be 'unsigned int'
or 'unsigned __int32'
..\..\include\SColor.h(304) : error C2780: 'const T &__cdecl irr::core::min_(const T &,const T &,const T &)' : expects 3 arguments - 2 provided
..\..\include\irrMath.h(80) : see declaration of 'min_'
..\..\include\SColor.h(304) : error C2782: 'const T &__cdecl irr::core::min_(const T &,const T &)' : template parameter 'T' is ambiguous
could be 'unsigned int'
or 'unsigned __int32'
..\..\include\SColor.h(336) : error C2782: 'const T __cdecl irr::core::clamp(const T &,const T &,const T &)' : template parameter 'T' is ambiguous
could be 'int'
or '__int32'
..\..\include\SColor.h(338) : error C2782: 'const T __cdecl irr::core::clamp(const T &,const T &,const T &)' : template parameter 'T' is ambiguous
could be 'int'
or '__int32'
..\..\include\SColor.h(340) : error C2782: 'const T __cdecl irr::core::clamp(const T &,const T &,const T &)' : template parameter 'T' is ambiguous
could be 'int'
or '__int32'
..\..\include\SColor.h(342) : error C2782: 'const T __cdecl irr::core::clamp(const T &,const T &,const T &)' : template parameter 'T' is ambiguous
could be 'int'
or '__int32'
..\..\include\irrXML.h(538) : fatal error C1506: unrecoverable block scoping error
Error executing cl.exe.
HelloWorld.exe - 13 error(s), 0 warning(s)
--------------------Configuration: HelloWorld - Win32 Debug--------------------
Compiling...
main.cpp
Compiling Irrlicht with Visual Studio 6.0, support for DX9 is disabled.
e:\irrlicht\irrlicht-1.4.1\irrlicht-1.4.1\include\scolor.h(301) : error C2780: 'const T &__cdecl irr::core::min_(const T &,const T &,const T &)' : expects 3 arguments - 2 provided
e:\irrlicht\irrlicht-1.4.1\irrlicht-1.4.1\include\irrmath.h(80) : see declaration of 'min_'
e:\irrlicht\irrlicht-1.4.1\irrlicht-1.4.1\include\scolor.h(301) : error C2782: 'const T &__cdecl irr::core::min_(const T &,const T &)' : template parameter 'T' is ambiguous
could be 'unsigned int'
or 'unsigned __int32'
e:\irrlicht\irrlicht-1.4.1\irrlicht-1.4.1\include\scolor.h(302) : error C2780: 'const T &__cdecl irr::core::min_(const T &,const T &,const T &)' : expects 3 arguments - 2 provided
e:\irrlicht\irrlicht-1.4.1\irrlicht-1.4.1\include\irrmath.h(80) : see declaration of 'min_'
e:\irrlicht\irrlicht-1.4.1\irrlicht-1.4.1\include\scolor.h(302) : error C2782: 'const T &__cdecl irr::core::min_(const T &,const T &)' : template parameter 'T' is ambiguous
could be 'unsigned int'
or 'unsigned __int32'
e:\irrlicht\irrlicht-1.4.1\irrlicht-1.4.1\include\scolor.h(303) : error C2780: 'const T &__cdecl irr::core::min_(const T &,const T &,const T &)' : expects 3 arguments - 2 provided
e:\irrlicht\irrlicht-1.4.1\irrlicht-1.4.1\include\irrmath.h(80) : see declaration of 'min_'
e:\irrlicht\irrlicht-1.4.1\irrlicht-1.4.1\include\scolor.h(303) : error C2782: 'const T &__cdecl irr::core::min_(const T &,const T &)' : template parameter 'T' is ambiguous
could be 'unsigned int'
or 'unsigned __int32'
e:\irrlicht\irrlicht-1.4.1\irrlicht-1.4.1\include\scolor.h(304) : error C2780: 'const T &__cdecl irr::core::min_(const T &,const T &,const T &)' : expects 3 arguments - 2 provided
e:\irrlicht\irrlicht-1.4.1\irrlicht-1.4.1\include\irrmath.h(80) : see declaration of 'min_'
e:\irrlicht\irrlicht-1.4.1\irrlicht-1.4.1\include\scolor.h(304) : error C2782: 'const T &__cdecl irr::core::min_(const T &,const T &)' : template parameter 'T' is ambiguous
could be 'unsigned int'
or 'unsigned __int32'
e:\irrlicht\irrlicht-1.4.1\irrlicht-1.4.1\include\scolor.h(336) : error C2782: 'const T __cdecl irr::core::clamp(const T &,const T &,const T &)' : template parameter 'T' is ambiguous
could be 'int'
or '__int32'
e:\irrlicht\irrlicht-1.4.1\irrlicht-1.4.1\include\scolor.h(338) : error C2782: 'const T __cdecl irr::core::clamp(const T &,const T &,const T &)' : template parameter 'T' is ambiguous
could be 'int'
or '__int32'
e:\irrlicht\irrlicht-1.4.1\irrlicht-1.4.1\include\scolor.h(340) : error C2782: 'const T __cdecl irr::core::clamp(const T &,const T &,const T &)' : template parameter 'T' is ambiguous
could be 'int'
or '__int32'
e:\irrlicht\irrlicht-1.4.1\irrlicht-1.4.1\include\scolor.h(342) : error C2782: 'const T __cdecl irr::core::clamp(const T &,const T &,const T &)' : template parameter 'T' is ambiguous
could be 'int'
or '__int32'
e:\irrlicht\irrlicht-1.4.1\irrlicht-1.4.1\include\irrxml.h(538) : fatal error C1506: unrecoverable block scoping error
Error executing cl.exe.
HelloWorld.exe - 13 error(s), 0 warning(s)
Compilation Errors Tutorial 1
-
- Posts: 7
- Joined: Mon Sep 22, 2008 2:16 pm
-
- Admin
- Posts: 3590
- Joined: Mon Oct 09, 2006 9:36 am
- Location: Scotland - gonnae no slag aff mah Engleesh
- Contact:
I'd thoroughly recommend Visual C++ 2008 Express as an IDE.
Please upload candidate patches to the tracker.
Need help now? IRC to #irrlicht on irc.freenode.net
How To Ask Questions The Smart Way
Need help now? IRC to #irrlicht on irc.freenode.net
How To Ask Questions The Smart Way