I'm using Microsoft Visual Studio 6.0. I created a new win32 app (empty). Added the hello world main and used the include and lib in my directories. Hit compile and received this error:
--------------------Configuration: irrlichtengine1 - Win32 Debug--------------------
Compiling...
main.cpp
Compiling Irrlicht with Visual Studio 6.0, support for DX9 is disabled.
c:\irrlicht-1.5\include\scolor.h(279) : error C2780: 'const T &__cdecl irr::core::min_(const T &,const T &,const T &)' : expects 3 arguments - 2 provided
c:\irrlicht-1.5\include\irrmath.h(120) : see declaration of 'min_'
c:\irrlicht-1.5\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'
c:\irrlicht-1.5\include\scolor.h(280) : error C2780: 'const T &__cdecl irr::core::min_(const T &,const T &,const T &)' : expects 3 arguments - 2 provided
c:\irrlicht-1.5\include\irrmath.h(120) : see declaration of 'min_'
c:\irrlicht-1.5\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'
c:\irrlicht-1.5\include\scolor.h(281) : error C2780: 'const T &__cdecl irr::core::min_(const T &,const T &,const T &)' : expects 3 arguments - 2 provided
c:\irrlicht-1.5\include\irrmath.h(120) : see declaration of 'min_'
c:\irrlicht-1.5\include\scolor.h(281) : error C2782: 'const T &__cdecl irr::core::min_(const T &,const T &)' : template parameter 'T' is ambiguous
could be 'unsigned int'
or 'unsigned __int32'
c:\irrlicht-1.5\include\scolor.h(282) : error C2780: 'const T &__cdecl irr::core::min_(const T &,const T &,const T &)' : expects 3 arguments - 2 provided
c:\irrlicht-1.5\include\irrmath.h(120) : see declaration of 'min_'
c:\irrlicht-1.5\include\scolor.h(282) : error C2782: 'const T &__cdecl irr::core::min_(const T &,const T &)' : template parameter 'T' is ambiguous
could be 'unsigned int'
or 'unsigned __int32'
c:\irrlicht-1.5\include\scolor.h(314) : error C2782: 'const T __cdecl irr::core::clamp(const T &,const T &,const T &)' : template parameter 'T' is ambiguous
could be 'int'
or '__int32'
c:\irrlicht-1.5\include\scolor.h(316) : error C2782: 'const T __cdecl irr::core::clamp(const T &,const T &,const T &)' : template parameter 'T' is ambiguous
could be 'int'
or '__int32'
c:\irrlicht-1.5\include\scolor.h(318) : error C2782: 'const T __cdecl irr::core::clamp(const T &,const T &,const T &)' : template parameter 'T' is ambiguous
could be 'int'
or '__int32'
c:\irrlicht-1.5\include\scolor.h(320) : error C2782: 'const T __cdecl irr::core::clamp(const T &,const T &,const T &)' : template parameter 'T' is ambiguous
could be 'int'
or '__int32'
c:\irrlicht-1.5\include\irrstring.h(58) : error C2535: '__thiscall irr::core::string<B,`template-parameter258'>::irr::core::string<B,`template-parameter258'>(const class irr::core::string<B,class irr::core::irrAllocator<B> > &)' : member function al
ready defined or declared
c:\irrlicht-1.5\include\irrstring.h(50) : see declaration of 'string<T,TAlloc>::string<T,TAlloc>'
c:\irrlicht-1.5\include\irrstring.h(900) : see reference to class template instantiation 'irr::core::string<T,TAlloc>' being compiled
c:\irrlicht-1.5\include\irrstring.h(213) : error C2535: 'class irr::core::string<B,class irr::core::irrAllocator<B> > &__thiscall irr::core::string<B,`template-parameter258'>::operator =(const class irr::core::string<B,class irr::core::irrAllocator<
B> > &)' : member function already defined or declared
c:\irrlicht-1.5\include\irrstring.h(195) : see declaration of '='
c:\irrlicht-1.5\include\irrstring.h(900) : see reference to class template instantiation 'irr::core::string<T,TAlloc>' being compiled
c:\irrlicht-1.5\include\irrstring.h(831) : error C2440: 'default argument' : cannot convert from 'char [5]' to 'const class irr::core::string<T,class irr::core::irrAllocator<T> > &'
Reason: cannot convert from 'char [5]' to 'const class irr::core::string<T,class irr::core::irrAllocator<T> >'
The target type has no constructors
c:\irrlicht-1.5\include\irrstring.h(900) : see reference to class template instantiation 'irr::core::string<T,TAlloc>' being compiled
c:\irrlicht-1.5\include\irrstring.h(832) : error C2548: 'trim' : missing default parameter for parameter 1
c:\irrlicht-1.5\include\irrstring.h(900) : see reference to class template instantiation 'irr::core::string<T,TAlloc>' being compiled
c:\irrlicht-1.5\include\cvertexbuffer.h(41) : error C2653: 'core' : is not a class or namespace name
c:\irrlicht-1.5\include\cvertexbuffer.h(70) : see reference to class template instantiation 'scene::CVertexBuffer::CSpecificVertexList<T>' being compiled
c:\irrlicht-1.5\include\cvertexbuffer.h(41) : error C2143: syntax error : missing ';' before '<'
c:\irrlicht-1.5\include\cvertexbuffer.h(70) : see reference to class template instantiation 'scene::CVertexBuffer::CSpecificVertexList<T>' being compiled
c:\irrlicht-1.5\include\cvertexbuffer.h(41) : error C2501: 'array' : missing storage-class or type specifiers
c:\irrlicht-1.5\include\cvertexbuffer.h(70) : see reference to class template instantiation 'scene::CVertexBuffer::CSpecificVertexList<T>' being compiled
c:\irrlicht-1.5\include\cvertexbuffer.h(41) : error C2059: syntax error : '<'
c:\irrlicht-1.5\include\cvertexbuffer.h(70) : see reference to class template instantiation 'scene::CVertexBuffer::CSpecificVertexList<T>' being compiled
c:\irrlicht-1.5\include\cvertexbuffer.h(41) : error C2238: unexpected token(s) preceding ';'
c:\irrlicht-1.5\include\cvertexbuffer.h(70) : see reference to class template instantiation 'scene::CVertexBuffer::CSpecificVertexList<T>' being compiled
c:\irrlicht-1.5\include\cvertexbuffer.h(43) : error C2146: syntax error : missing ';' before identifier 'stride'
c:\irrlicht-1.5\include\cvertexbuffer.h(70) : see reference to class template instantiation 'scene::CVertexBuffer::CSpecificVertexList<T>' being compiled
c:\irrlicht-1.5\include\cvertexbuffer.h(43) : error C2433: 'u32' : 'virtual' not permitted on data declarations
c:\irrlicht-1.5\include\cvertexbuffer.h(70) : see reference to class template instantiation 'scene::CVertexBuffer::CSpecificVertexList<T>' being compiled
c:\irrlicht-1.5\include\cvertexbuffer.h(43) : error C2501: 'u32' : missing storage-class or type specifiers
c:\irrlicht-1.5\include\cvertexbuffer.h(70) : see reference to class template instantiation 'scene::CVertexBuffer::CSpecificVertexList<T>' being compiled
c:\irrlicht-1.5\include\cvertexbuffer.h(43) : error C2555: 'scene::CVertexBuffer::CSpecificVertexList<T>::stride' : overriding virtual function differs from 'scene::CVertexBuffer::IVertexList::stride' only by return type or calling convention
c:\irrlicht-1.5\include\cvertexbuffer.h(19) : see declaration of 'IVertexList'
c:\irrlicht-1.5\include\cvertexbuffer.h(70) : see reference to class template instantiation 'scene::CVertexBuffer::CSpecificVertexList<T>' being compiled
c:\irrlicht-1.5\include\cvertexbuffer.h(43) : warning C4183: 'stride': member function definition looks like a ctor, but name does not match enclosing class
c:\irrlicht-1.5\include\cvertexbuffer.h(70) : see reference to class template instantiation 'scene::CVertexBuffer::CSpecificVertexList<T>' being compiled
c:\irrlicht-1.5\include\cvertexbuffer.h(45) : error C2146: syntax error : missing ';' before identifier 'size'
c:\irrlicht-1.5\include\cvertexbuffer.h(70) : see reference to class template instantiation 'scene::CVertexBuffer::CSpecificVertexList<T>' being compiled
c:\irrlicht-1.5\include\cvertexbuffer.h(45) : error C2433: 'u32' : 'virtual' not permitted on data declarations
c:\irrlicht-1.5\include\cvertexbuffer.h(70) : see reference to class template instantiation 'scene::CVertexBuffer::CSpecificVertexList<T>' being compiled
c:\irrlicht-1.5\include\cvertexbuffer.h(45) : error C2501: 'u32' : missing storage-class or type specifiers
c:\irrlicht-1.5\include\cvertexbuffer.h(70) : see reference to class template instantiation 'scene::CVertexBuffer::CSpecificVertexList<T>' being compiled
c:\irrlicht-1.5\include\cvertexbuffer.h(45) : error C2555: 'scene::CVertexBuffer::CSpecificVertexList<T>::size' : overriding virtual function differs from 'scene::CVertexBuffer::IVertexList::size' only by return type or calling convention
c:\irrlicht-1.5\include\cvertexbuffer.h(19) : see declaration of 'IVertexList'
c:\irrlicht-1.5\include\cvertexbuffer.h(70) : see reference to class template instantiation 'scene::CVertexBuffer::CSpecificVertexList<T>' being compiled
c:\irrlicht-1.5\include\cvertexbuffer.h(45) : warning C4183: 'size': member function definition looks like a ctor, but name does not match enclosing class
c:\irrlicht-1.5\include\cvertexbuffer.h(70) : see reference to class template instantiation 'scene::CVertexBuffer::CSpecificVertexList<T>' being compiled
c:\irrlicht-1.5\include\cvertexbuffer.h(47) : error C2653: 'video' : is not a class or namespace name
c:\irrlicht-1.5\include\cvertexbuffer.h(70) : see reference to class template instantiation 'scene::CVertexBuffer::CSpecificVertexList<T>' being compiled
c:\irrlicht-1.5\include\cvertexbuffer.h(47) : error C2143: syntax error : missing ',' before '&'
c:\irrlicht-1.5\include\cvertexbuffer.h(70) : see reference to class template instantiation 'scene::CVertexBuffer::CSpecificVertexList<T>' being compiled
c:\irrlicht-1.5\include\cvertexbuffer.h(47) : error C2059: syntax error : '&'
c:\irrlicht-1.5\include\cvertexbuffer.h(70) : see reference to class template instantiation 'scene::CVertexBuffer::CSpecificVertexList<T>' being compiled
c:\irrlicht-1.5\include\cvertexbuffer.h(50) : error C2653: 'video' : is not a class or namespace name
c:\irrlicht-1.5\include\cvertexbuffer.h(70) : see reference to class template instantiation 'scene::CVertexBuffer::CSpecificVertexList<T>' being compiled
c:\irrlicht-1.5\include\cvertexbuffer.h(50) : error C2143: syntax error : missing ';' before '&'
c:\irrlicht-1.5\include\cvertexbuffer.h(70) : see reference to class template instantiation 'scene::CVertexBuffer::CSpecificVertexList<T>' being compiled
c:\irrlicht-1.5\include\cvertexbuffer.h(50) : error C2433: 'S3DVertex' : 'virtual' not permitted on data declarations
c:\irrlicht-1.5\include\cvertexbuffer.h(70) : see reference to class template instantiation 'scene::CVertexBuffer::CSpecificVertexList<T>' being compiled
c:\irrlicht-1.5\include\cvertexbuffer.h(50) : error C2501: 'S3DVertex' : missing storage-class or type specifiers
c:\irrlicht-1.5\include\cvertexbuffer.h(70) : see reference to class template instantiation 'scene::CVertexBuffer::CSpecificVertexList<T>' being compiled
c:\irrlicht-1.5\include\cvertexbuffer.h(50) : error C2146: syntax error : missing ',' before identifier 'index'
c:\irrlicht-1.5\include\cvertexbuffer.h(70) : see reference to class template instantiation 'scene::CVertexBuffer::CSpecificVertexList<T>' being compiled
c:\irrlicht-1.5\include\cvertexbuffer.h(50) : error C2061: syntax error : identifier 'index'
c:\irrlicht-1.5\include\cvertexbuffer.h(70) : see reference to class template instantiation 'scene::CVertexBuffer::CSpecificVertexList<T>' being compiled
c:\irrlicht-1.5\include\cvertexbuffer.h(51) : error C2501: '[]' : missing storage-class or type specifiers
c:\irrlicht-1.5\include\cvertexbuffer.h(70) : see reference to class template instantiation 'scene::CVertexBuffer::CSpecificVertexList<T>' being compiled
c:\irrlicht-1.5\include\cvertexbuffer.h(53) : error C2653: 'video' : is not a class or namespace name
c:\irrlicht-1.5\include\cvertexbuffer.h(70) : see reference to class template instantiation 'scene::CVertexBuffer::CSpecificVertexList<T>' being compiled
c:\irrlicht-1.5\include\cvertexbuffer.h(53) : error C2143: syntax error : missing ';' before '&'
c:\irrlicht-1.5\include\cvertexbuffer.h(70) : see reference to class template instantiation 'scene::CVertexBuffer::CSpecificVertexList<T>' being compiled
c:\irrlicht-1.5\include\cvertexbuffer.h(53) : error C2433: 'S3DVertex' : 'virtual' not permitted on data declarations
c:\irrlicht-1.5\include\cvertexbuffer.h(70) : see reference to class template instantiation 'scene::CVertexBuffer::CSpecificVertexList<T>' being compiled
c:\irrlicht-1.5\include\cvertexbuffer.h(53) : error C2501: 'S3DVertex' : missing storage-class or type specifiers
c:\irrlicht-1.5\include\cvertexbuffer.h(70) : see reference to class template instantiation 'scene::CVertexBuffer::CSpecificVertexList<T>' being compiled
c:\irrlicht-1.5\include\cvertexbuffer.h(54) : error C2501: 'getLast' : missing storage-class or type specifiers
c:\irrlicht-1.5\include\cvertexbuffer.h(70) : see reference to class template instantiation 'scene::CVertexBuffer::CSpecificVertexList<T>' being compiled
c:\irrlicht-1.5\include\cvertexbuffer.h(54) : error C2555: 'scene::CVertexBuffer::CSpecificVertexList<T>::getLast' : overriding virtual function differs from 'scene::CVertexBuffer::IVertexList::getLast' only by return type or calling convention
c:\irrlicht-1.5\include\cvertexbuffer.h(19) : see declaration of 'IVertexList'
c:\irrlicht-1.5\include\cvertexbuffer.h(70) : see reference to class template instantiation 'scene::CVertexBuffer::CSpecificVertexList<T>' being compiled
c:\irrlicht-1.5\include\cvertexbuffer.h(54) : warning C4183: 'getLast': member function definition looks like a ctor, but name does not match enclosing class
c:\irrlicht-1.5\include\cvertexbuffer.h(70) : see reference to class template instantiation 'scene::CVertexBuffer::CSpecificVertexList<T>' being compiled
c:\irrlicht-1.5\include\cvertexbuffer.h(56) : error C2061: syntax error : identifier 'u32'
c:\irrlicht-1.5\include\cvertexbuffer.h(70) : see reference to class template instantiation 'scene::CVertexBuffer::CSpecificVertexList<T>' being compiled
c:\irrlicht-1.5\include\cvertexbuffer.h(59) : error C2061: syntax error : identifier 'u32'
c:\irrlicht-1.5\include\cvertexbuffer.h(70) : see reference to class template instantiation 'scene::CVertexBuffer::CSpecificVertexList<T>' being compiled
c:\irrlicht-1.5\include\cvertexbuffer.h(62) : error C2146: syntax error : missing ';' before identifier 'allocated_size'
c:\irrlicht-1.5\include\cvertexbuffer.h(70) : see reference to class template instantiation 'scene::CVertexBuffer::CSpecificVertexList<T>' being compiled
c:\irrlicht-1.5\include\cvertexbuffer.h(62) : error C2433: 'u32' : 'virtual' not permitted on data declarations
c:\irrlicht-1.5\include\cvertexbuffer.h(70) : see reference to class template instantiation 'scene::CVertexBuffer::CSpecificVertexList<T>' being compiled
c:\irrlicht-1.5\include\cvertexbuffer.h(62) : error C2501: 'u32' : missing storage-class or type specifiers
c:\irrlicht-1.5\include\cvertexbuffer.h(70) : see reference to class template instantiation 'scene::CVertexBuffer::CSpecificVertexList<T>' being compiled
c:\irrlicht-1.5\include\cvertexbuffer.h(63) : error C2555: 'scene::CVertexBuffer::CSpecificVertexList<T>::allocated_size' : overriding virtual function differs from 'scene::CVertexBuffer::IVertexList::allocated_size' only by return type or calling c
onvention
c:\irrlicht-1.5\include\cvertexbuffer.h(19) : see declaration of 'IVertexList'
c:\irrlicht-1.5\include\cvertexbuffer.h(70) : see reference to class template instantiation 'scene::CVertexBuffer::CSpecificVertexList<T>' being compiled
c:\irrlicht-1.5\include\cvertexbuffer.h(65) : warning C4183: 'allocated_size': member function definition looks like a ctor, but name does not match enclosing class
c:\irrlicht-1.5\include\cvertexbuffer.h(70) : see reference to class template instantiation 'scene::CVertexBuffer::CSpecificVertexList<T>' being compiled
c:\irrlicht-1.5\include\cvertexbuffer.h(67) : error C2653: 'video' : is not a class or namespace name
c:\irrlicht-1.5\include\cvertexbuffer.h(70) : see reference to class template instantiation 'scene::CVertexBuffer::CSpecificVertexList<T>' being compiled
c:\irrlicht-1.5\include\cvertexbuffer.h(67) : error C2143: syntax error : missing ';' before '*'
c:\irrlicht-1.5\include\cvertexbuffer.h(70) : see reference to class template instantiation 'scene::CVertexBuffer::CSpecificVertexList<T>' being compiled
c:\irrlicht-1.5\include\cvertexbuffer.h(67) : error C2433: 'S3DVertex' : 'virtual' not permitted on data declarations
c:\irrlicht-1.5\include\cvertexbuffer.h(70) : see reference to class template instantiation 'scene::CVertexBuffer::CSpecificVertexList<T>' being compiled
c:\irrlicht-1.5\include\cvertexbuffer.h(67) : error C2501: 'S3DVertex' : missing storage-class or type specifiers
c:\irrlicht-1.5\include\cvertexbuffer.h(70) : see reference to class template instantiation 'scene::CVertexBuffer::CSpecificVertexList<T>' being compiled
c:\irrlicht-1.5\include\cvertexbuffer.h(67) : error C2501: 'pointer' : missing storage-class or type specifiers
c:\irrlicht-1.5\include\cvertexbuffer.h(70) : see reference to class template instantiation 'scene::CVertexBuffer::CSpecificVertexList<T>' being compiled
c:\irrlicht-1.5\include\cvertexbuffer.h(67) : error C2555: 'scene::CVertexBuffer::CSpecificVertexList<T>::pointer' : overriding virtual function differs from 'scene::CVertexBuffer::IVertexList::pointer' only by return type or calling convention
c:\irrlicht-1.5\include\cvertexbuffer.h(19) : see declaration of 'IVertexList'
c:\irrlicht-1.5\include\cvertexbuffer.h(70) : see reference to class template instantiation 'scene::CVertexBuffer::CSpecificVertexList<T>' being compiled
c:\irrlicht-1.5\include\cvertexbuffer.h(67) : warning C4183: 'pointer': member function definition looks like a ctor, but name does not match enclosing class
c:\irrlicht-1.5\include\cvertexbuffer.h(70) : see reference to class template instantiation 'scene::CVertexBuffer::CSpecificVertexList<T>' being compiled
c:\irrlicht-1.5\include\cvertexbuffer.h(69) : error C2653: 'video' : is not a class or namespace name
c:\irrlicht-1.5\include\cvertexbuffer.h(70) : see reference to class template instantiation 'scene::CVertexBuffer::CSpecificVertexList<T>' being compiled
c:\irrlicht-1.5\include\cvertexbuffer.h(69) : error C2146: syntax error : missing ';' before identifier 'getType'
c:\irrlicht-1.5\include\cvertexbuffer.h(70) : see reference to class template instantiation 'scene::CVertexBuffer::CSpecificVertexList<T>' being compiled
c:\irrlicht-1.5\include\cvertexbuffer.h(69) : error C2433: 'E_VERTEX_TYPE' : 'virtual' not permitted on data declarations
c:\irrlicht-1.5\include\cvertexbuffer.h(70) : see reference to class template instantiation 'scene::CVertexBuffer::CSpecificVertexList<T>' being compiled
c:\irrlicht-1.5\include\cvertexbuffer.h(69) : error C2501: 'E_VERTEX_TYPE' : missing storage-class or type specifiers
c:\irrlicht-1.5\include\cvertexbuffer.h(70) : see reference to class template instantiation 'scene::CVertexBuffer::CSpecificVertexList<T>' being compiled
c:\irrlicht-1.5\include\cvertexbuffer.h(69) : error C2555: 'scene::CVertexBuffer::CSpecificVertexList<T>::getType' : overriding virtual function differs from 'scene::CVertexBuffer::IVertexList::getType' only by return type or calling convention
c:\irrlicht-1.5\include\cvertexbuffer.h(19) : see declaration of 'IVertexList'
c:\irrlicht-1.5\include\cvertexbuffer.h(70) : see reference to class template instantiation 'scene::CVertexBuffer::CSpecificVertexList<T>' being compiled
c:\irrlicht-1.5\include\cvertexbuffer.h(69) : warning C4183: 'getType': member function definition looks like a ctor, but name does not match enclosing class
c:\irrlicht-1.5\include\cvertexbuffer.h(70) : see reference to class template instantiation 'scene::CVertexBuffer::CSpecificVertexList<T>' being compiled
c:\irrlicht-1.5\include\cvertexbuffer.h(207) : fatal error C1506: unrecoverable block scoping error
Error executing cl.exe.
irrlichtengine1.exe - 63 error(s), 6 warning(s)
please advise....Thankyou!
Compiling Hello World for the first time....
-
- Posts: 2
- Joined: Tue Apr 14, 2009 8:01 pm
-
- Posts: 362
- Joined: Sun Dec 16, 2007 9:25 pm
Microsoft Visual Studio 6 is no longer supported, but there is Microsoft Visual C++ 2008 Express Edition, which is free.
Post this userbar I made on other websites to show your support for Irrlicht!
http://img147.imageshack.us/img147/1261 ... wernq4.png
http://img147.imageshack.us/img147/1261 ... wernq4.png
-
- Posts: 2
- Joined: Tue Apr 14, 2009 8:01 pm
visual C++ 2008 express
Thanks Twilight, I agree. I downloaded it today, but since I'm not use to how it works, compared to visual 6.0, I only built the projects that were available in irrlicht's folders. They worked fine!
I'm trying to do hello world, like the tutorial, but I can't find where to do the include directories and lib, like it was in visual 6.0, using the options directories tab.
I'm trying to do hello world, like the tutorial, but I can't find where to do the include directories and lib, like it was in visual 6.0, using the options directories tab.