Hi,
Wollte Updaten von version 1.41 nach 1.5
Bekomme jedoch nun folgenden Fehler:
Kann ihn mir nicht erklären. Selbst die Mitgelieferten Beispiele spucken den gleichen Fehler aus. Mit version 1.41 funktionieren aber meine Programme. Nutze Visual Studio 6.
Über hilfe wäre ich echt Dankbar.
Gruß Merl
Code:
Compiling Irrlicht with Visual Studio 6.0, support for DX9 is disabled.
d:\entwickeln\irrlicht\include\scolor.h(279) : error C2780: 'const T &__cdecl irr::core::min_(const T &,const T &,const T &)' : expects 3 arguments - 2 provided
d:\entwickeln\irrlicht\include\irrmath.h(120) : see declaration of 'min_'
d:\entwickeln\irrlicht\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'
d:\entwickeln\irrlicht\include\scolor.h(280) : error C2780: 'const T &__cdecl irr::core::min_(const T &,const T &,const T &)' : expects 3 arguments - 2 provided
d:\entwickeln\irrlicht\include\irrmath.h(120) : see declaration of 'min_'
d:\entwickeln\irrlicht\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'
d:\entwickeln\irrlicht\include\scolor.h(281) : error C2780: 'const T &__cdecl irr::core::min_(const T &,const T &,const T &)' : expects 3 arguments - 2 provided
d:\entwickeln\irrlicht\include\irrmath.h(120) : see declaration of 'min_'
d:\entwickeln\irrlicht\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'
d:\entwickeln\irrlicht\include\scolor.h(282) : error C2780: 'const T &__cdecl irr::core::min_(const T &,const T &,const T &)' : expects 3 arguments - 2 provided
d:\entwickeln\irrlicht\include\irrmath.h(120) : see declaration of 'min_'
d:\entwickeln\irrlicht\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'
d:\entwickeln\irrlicht\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'
d:\entwickeln\irrlicht\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'
d:\entwickeln\irrlicht\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'
d:\entwickeln\irrlicht\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'
d:\entwickeln\irrlicht\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 func
tion already defined or declared
d:\entwickeln\irrlicht\include\irrstring.h(50) : see declaration of 'string<T,TAlloc>::string<T,TAlloc>'
d:\entwickeln\irrlicht\include\irrstring.h(900) : see reference to class template instantiation 'irr::core::string<T,TAlloc>' being compiled
d:\entwickeln\irrlicht\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::irrAll
ocator<B> > &)' : member function already defined or declared
d:\entwickeln\irrlicht\include\irrstring.h(195) : see declaration of '='
d:\entwickeln\irrlicht\include\irrstring.h(900) : see reference to class template instantiation 'irr::core::string<T,TAlloc>' being compiled
d:\entwickeln\irrlicht\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
d:\entwickeln\irrlicht\include\irrstring.h(900) : see reference to class template instantiation 'irr::core::string<T,TAlloc>' being compiled
d:\entwickeln\irrlicht\include\irrstring.h(832) : error C2548: 'trim' : missing default parameter for parameter 1
d:\entwickeln\irrlicht\include\irrstring.h(900) : see reference to class template instantiation 'irr::core::string<T,TAlloc>' being compiled
d:\entwickeln\irrlicht\include\cvertexbuffer.h(41) : error C2653: 'core' : is not a class or namespace name
d:\entwickeln\irrlicht\include\cvertexbuffer.h(70) : see reference to class template instantiation 'scene::CVertexBuffer::CSpecificVertexList<T>' being compiled
d:\entwickeln\irrlicht\include\cvertexbuffer.h(41) : error C2143: syntax error : missing ';' before '<'
d:\entwickeln\irrlicht\include\cvertexbuffer.h(70) : see reference to class template instantiation 'scene::CVertexBuffer::CSpecificVertexList<T>' being compiled
d:\entwickeln\irrlicht\include\cvertexbuffer.h(41) : error C2501: 'array' : missing storage-class or type specifiers
d:\entwickeln\irrlicht\include\cvertexbuffer.h(70) : see reference to class template instantiation 'scene::CVertexBuffer::CSpecificVertexList<T>' being compiled
d:\entwickeln\irrlicht\include\cvertexbuffer.h(41) : error C2059: syntax error : '<'
d:\entwickeln\irrlicht\include\cvertexbuffer.h(70) : see reference to class template instantiation 'scene::CVertexBuffer::CSpecificVertexList<T>' being compiled
d:\entwickeln\irrlicht\include\cvertexbuffer.h(41) : error C2238: unexpected token(s) preceding ';'
d:\entwickeln\irrlicht\include\cvertexbuffer.h(70) : see reference to class template instantiation 'scene::CVertexBuffer::CSpecificVertexList<T>' being compiled
d:\entwickeln\irrlicht\include\cvertexbuffer.h(43) : error C2146: syntax error : missing ';' before identifier 'stride'
d:\entwickeln\irrlicht\include\cvertexbuffer.h(70) : see reference to class template instantiation 'scene::CVertexBuffer::CSpecificVertexList<T>' being compiled
d:\entwickeln\irrlicht\include\cvertexbuffer.h(43) : error C2433: 'u32' : 'virtual' not permitted on data declarations
d:\entwickeln\irrlicht\include\cvertexbuffer.h(70) : see reference to class template instantiation 'scene::CVertexBuffer::CSpecificVertexList<T>' being compiled
d:\entwickeln\irrlicht\include\cvertexbuffer.h(43) : error C2501: 'u32' : missing storage-class or type specifiers
d:\entwickeln\irrlicht\include\cvertexbuffer.h(70) : see reference to class template instantiation 'scene::CVertexBuffer::CSpecificVertexList<T>' being compiled
d:\entwickeln\irrlicht\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
d:\entwickeln\irrlicht\include\cvertexbuffer.h(19) : see declaration of 'IVertexList'
d:\entwickeln\irrlicht\include\cvertexbuffer.h(70) : see reference to class template instantiation 'scene::CVertexBuffer::CSpecificVertexList<T>' being compiled
d:\entwickeln\irrlicht\include\cvertexbuffer.h(43) : warning C4183: 'stride': member function definition looks like a ctor, but name does not match enclosing class
d:\entwickeln\irrlicht\include\cvertexbuffer.h(70) : see reference to class template instantiation 'scene::CVertexBuffer::CSpecificVertexList<T>' being compiled
d:\entwickeln\irrlicht\include\cvertexbuffer.h(45) : error C2146: syntax error : missing ';' before identifier 'size'
d:\entwickeln\irrlicht\include\cvertexbuffer.h(70) : see reference to class template instantiation 'scene::CVertexBuffer::CSpecificVertexList<T>' being compiled
d:\entwickeln\irrlicht\include\cvertexbuffer.h(45) : error C2433: 'u32' : 'virtual' not permitted on data declarations
d:\entwickeln\irrlicht\include\cvertexbuffer.h(70) : see reference to class template instantiation 'scene::CVertexBuffer::CSpecificVertexList<T>' being compiled
d:\entwickeln\irrlicht\include\cvertexbuffer.h(45) : error C2501: 'u32' : missing storage-class or type specifiers
d:\entwickeln\irrlicht\include\cvertexbuffer.h(70) : see reference to class template instantiation 'scene::CVertexBuffer::CSpecificVertexList<T>' being compiled
d:\entwickeln\irrlicht\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
d:\entwickeln\irrlicht\include\cvertexbuffer.h(19) : see declaration of 'IVertexList'
d:\entwickeln\irrlicht\include\cvertexbuffer.h(70) : see reference to class template instantiation 'scene::CVertexBuffer::CSpecificVertexList<T>' being compiled
d:\entwickeln\irrlicht\include\cvertexbuffer.h(45) : warning C4183: 'size': member function definition looks like a ctor, but name does not match enclosing class
d:\entwickeln\irrlicht\include\cvertexbuffer.h(70) : see reference to class template instantiation 'scene::CVertexBuffer::CSpecificVertexList<T>' being compiled
d:\entwickeln\irrlicht\include\cvertexbuffer.h(47) : error C2653: 'video' : is not a class or namespace name
d:\entwickeln\irrlicht\include\cvertexbuffer.h(70) : see reference to class template instantiation 'scene::CVertexBuffer::CSpecificVertexList<T>' being compiled
d:\entwickeln\irrlicht\include\cvertexbuffer.h(47) : error C2143: syntax error : missing ',' before '&'
d:\entwickeln\irrlicht\include\cvertexbuffer.h(70) : see reference to class template instantiation 'scene::CVertexBuffer::CSpecificVertexList<T>' being compiled
d:\entwickeln\irrlicht\include\cvertexbuffer.h(47) : error C2059: syntax error : '&'
d:\entwickeln\irrlicht\include\cvertexbuffer.h(70) : see reference to class template instantiation 'scene::CVertexBuffer::CSpecificVertexList<T>' being compiled
d:\entwickeln\irrlicht\include\cvertexbuffer.h(50) : error C2653: 'video' : is not a class or namespace name
d:\entwickeln\irrlicht\include\cvertexbuffer.h(70) : see reference to class template instantiation 'scene::CVertexBuffer::CSpecificVertexList<T>' being compiled
d:\entwickeln\irrlicht\include\cvertexbuffer.h(50) : error C2143: syntax error : missing ';' before '&'
d:\entwickeln\irrlicht\include\cvertexbuffer.h(70) : see reference to class template instantiation 'scene::CVertexBuffer::CSpecificVertexList<T>' being compiled
d:\entwickeln\irrlicht\include\cvertexbuffer.h(50) : error C2433: 'S3DVertex' : 'virtual' not permitted on data declarations
d:\entwickeln\irrlicht\include\cvertexbuffer.h(70) : see reference to class template instantiation 'scene::CVertexBuffer::CSpecificVertexList<T>' being compiled
d:\entwickeln\irrlicht\include\cvertexbuffer.h(50) : error C2501: 'S3DVertex' : missing storage-class or type specifiers
d:\entwickeln\irrlicht\include\cvertexbuffer.h(70) : see reference to class template instantiation 'scene::CVertexBuffer::CSpecificVertexList<T>' being compiled
d:\entwickeln\irrlicht\include\cvertexbuffer.h(50) : error C2146: syntax error : missing ',' before identifier 'index'
d:\entwickeln\irrlicht\include\cvertexbuffer.h(70) : see reference to class template instantiation 'scene::CVertexBuffer::CSpecificVertexList<T>' being compiled
d:\entwickeln\irrlicht\include\cvertexbuffer.h(50) : error C2061: syntax error : identifier 'index'
d:\entwickeln\irrlicht\include\cvertexbuffer.h(70) : see reference to class template instantiation 'scene::CVertexBuffer::CSpecificVertexList<T>' being compiled
d:\entwickeln\irrlicht\include\cvertexbuffer.h(51) : error C2501: '[]' : missing storage-class or type specifiers
d:\entwickeln\irrlicht\include\cvertexbuffer.h(70) : see reference to class template instantiation 'scene::CVertexBuffer::CSpecificVertexList<T>' being compiled
d:\entwickeln\irrlicht\include\cvertexbuffer.h(53) : error C2653: 'video' : is not a class or namespace name
d:\entwickeln\irrlicht\include\cvertexbuffer.h(70) : see reference to class template instantiation 'scene::CVertexBuffer::CSpecificVertexList<T>' being compiled
d:\entwickeln\irrlicht\include\cvertexbuffer.h(53) : error C2143: syntax error : missing ';' before '&'
d:\entwickeln\irrlicht\include\cvertexbuffer.h(70) : see reference to class template instantiation 'scene::CVertexBuffer::CSpecificVertexList<T>' being compiled
d:\entwickeln\irrlicht\include\cvertexbuffer.h(53) : error C2433: 'S3DVertex' : 'virtual' not permitted on data declarations
d:\entwickeln\irrlicht\include\cvertexbuffer.h(70) : see reference to class template instantiation 'scene::CVertexBuffer::CSpecificVertexList<T>' being compiled
d:\entwickeln\irrlicht\include\cvertexbuffer.h(53) : error C2501: 'S3DVertex' : missing storage-class or type specifiers
d:\entwickeln\irrlicht\include\cvertexbuffer.h(70) : see reference to class template instantiation 'scene::CVertexBuffer::CSpecificVertexList<T>' being compiled
d:\entwickeln\irrlicht\include\cvertexbuffer.h(54) : error C2501: 'getLast' : missing storage-class or type specifiers
d:\entwickeln\irrlicht\include\cvertexbuffer.h(70) : see reference to class template instantiation 'scene::CVertexBuffer::CSpecificVertexList<T>' being compiled
d:\entwickeln\irrlicht\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 conventi
on
d:\entwickeln\irrlicht\include\cvertexbuffer.h(19) : see declaration of 'IVertexList'
d:\entwickeln\irrlicht\include\cvertexbuffer.h(70) : see reference to class template instantiation 'scene::CVertexBuffer::CSpecificVertexList<T>' being compiled
d:\entwickeln\irrlicht\include\cvertexbuffer.h(54) : warning C4183: 'getLast': member function definition looks like a ctor, but name does not match enclosing class
d:\entwickeln\irrlicht\include\cvertexbuffer.h(70) : see reference to class template instantiation 'scene::CVertexBuffer::CSpecificVertexList<T>' being compiled
d:\entwickeln\irrlicht\include\cvertexbuffer.h(56) : error C2061: syntax error : identifier 'u32'
d:\entwickeln\irrlicht\include\cvertexbuffer.h(70) : see reference to class template instantiation 'scene::CVertexBuffer::CSpecificVertexList<T>' being compiled
d:\entwickeln\irrlicht\include\cvertexbuffer.h(59) : error C2061: syntax error : identifier 'u32'
d:\entwickeln\irrlicht\include\cvertexbuffer.h(70) : see reference to class template instantiation 'scene::CVertexBuffer::CSpecificVertexList<T>' being compiled
d:\entwickeln\irrlicht\include\cvertexbuffer.h(62) : error C2146: syntax error : missing ';' before identifier 'allocated_size'
d:\entwickeln\irrlicht\include\cvertexbuffer.h(70) : see reference to class template instantiation 'scene::CVertexBuffer::CSpecificVertexList<T>' being compiled
d:\entwickeln\irrlicht\include\cvertexbuffer.h(62) : error C2433: 'u32' : 'virtual' not permitted on data declarations
d:\entwickeln\irrlicht\include\cvertexbuffer.h(70) : see reference to class template instantiation 'scene::CVertexBuffer::CSpecificVertexList<T>' being compiled
d:\entwickeln\irrlicht\include\cvertexbuffer.h(62) : error C2501: 'u32' : missing storage-class or type specifiers
d:\entwickeln\irrlicht\include\cvertexbuffer.h(70) : see reference to class template instantiation 'scene::CVertexBuffer::CSpecificVertexList<T>' being compiled
d:\entwickeln\irrlicht\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 ca
lling convention
d:\entwickeln\irrlicht\include\cvertexbuffer.h(19) : see declaration of 'IVertexList'
d:\entwickeln\irrlicht\include\cvertexbuffer.h(70) : see reference to class template instantiation 'scene::CVertexBuffer::CSpecificVertexList<T>' being compiled
d:\entwickeln\irrlicht\include\cvertexbuffer.h(65) : warning C4183: 'allocated_size': member function definition looks like a ctor, but name does not match enclosing class
d:\entwickeln\irrlicht\include\cvertexbuffer.h(70) : see reference to class template instantiation 'scene::CVertexBuffer::CSpecificVertexList<T>' being compiled
d:\entwickeln\irrlicht\include\cvertexbuffer.h(67) : error C2653: 'video' : is not a class or namespace name
d:\entwickeln\irrlicht\include\cvertexbuffer.h(70) : see reference to class template instantiation 'scene::CVertexBuffer::CSpecificVertexList<T>' being compiled
d:\entwickeln\irrlicht\include\cvertexbuffer.h(67) : error C2143: syntax error : missing ';' before '*'
d:\entwickeln\irrlicht\include\cvertexbuffer.h(70) : see reference to class template instantiation 'scene::CVertexBuffer::CSpecificVertexList<T>' being compiled
d:\entwickeln\irrlicht\include\cvertexbuffer.h(67) : error C2433: 'S3DVertex' : 'virtual' not permitted on data declarations
d:\entwickeln\irrlicht\include\cvertexbuffer.h(70) : see reference to class template instantiation 'scene::CVertexBuffer::CSpecificVertexList<T>' being compiled
d:\entwickeln\irrlicht\include\cvertexbuffer.h(67) : error C2501: 'S3DVertex' : missing storage-class or type specifiers
d:\entwickeln\irrlicht\include\cvertexbuffer.h(70) : see reference to class template instantiation 'scene::CVertexBuffer::CSpecificVertexList<T>' being compiled
d:\entwickeln\irrlicht\include\cvertexbuffer.h(67) : error C2501: 'pointer' : missing storage-class or type specifiers
d:\entwickeln\irrlicht\include\cvertexbuffer.h(70) : see reference to class template instantiation 'scene::CVertexBuffer::CSpecificVertexList<T>' being compiled
d:\entwickeln\irrlicht\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 conventi
on
d:\entwickeln\irrlicht\include\cvertexbuffer.h(19) : see declaration of 'IVertexList'
d:\entwickeln\irrlicht\include\cvertexbuffer.h(70) : see reference to class template instantiation 'scene::CVertexBuffer::CSpecificVertexList<T>' being compiled
d:\entwickeln\irrlicht\include\cvertexbuffer.h(67) : warning C4183: 'pointer': member function definition looks like a ctor, but name does not match enclosing class
d:\entwickeln\irrlicht\include\cvertexbuffer.h(70) : see reference to class template instantiation 'scene::CVertexBuffer::CSpecificVertexList<T>' being compiled
d:\entwickeln\irrlicht\include\cvertexbuffer.h(69) : error C2653: 'video' : is not a class or namespace name
d:\entwickeln\irrlicht\include\cvertexbuffer.h(70) : see reference to class template instantiation 'scene::CVertexBuffer::CSpecificVertexList<T>' being compiled
d:\entwickeln\irrlicht\include\cvertexbuffer.h(69) : error C2146: syntax error : missing ';' before identifier 'getType'
d:\entwickeln\irrlicht\include\cvertexbuffer.h(70) : see reference to class template instantiation 'scene::CVertexBuffer::CSpecificVertexList<T>' being compiled
d:\entwickeln\irrlicht\include\cvertexbuffer.h(69) : error C2433: 'E_VERTEX_TYPE' : 'virtual' not permitted on data declarations
d:\entwickeln\irrlicht\include\cvertexbuffer.h(70) : see reference to class template instantiation 'scene::CVertexBuffer::CSpecificVertexList<T>' being compiled
d:\entwickeln\irrlicht\include\cvertexbuffer.h(69) : error C2501: 'E_VERTEX_TYPE' : missing storage-class or type specifiers
d:\entwickeln\irrlicht\include\cvertexbuffer.h(70) : see reference to class template instantiation 'scene::CVertexBuffer::CSpecificVertexList<T>' being compiled
d:\entwickeln\irrlicht\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 conventi
on
d:\entwickeln\irrlicht\include\cvertexbuffer.h(19) : see declaration of 'IVertexList'
d:\entwickeln\irrlicht\include\cvertexbuffer.h(70) : see reference to class template instantiation 'scene::CVertexBuffer::CSpecificVertexList<T>' being compiled
d:\entwickeln\irrlicht\include\cvertexbuffer.h(69) : warning C4183: 'getType': member function definition looks like a ctor, but name does not match enclosing class
d:\entwickeln\irrlicht\include\cvertexbuffer.h(70) : see reference to class template instantiation 'scene::CVertexBuffer::CSpecificVertexList<T>' being compiled
d:\entwickeln\irrlicht\include\cvertexbuffer.h(207) : fatal error C1506: unrecoverable block scoping error
Error executing cl.exe.
SkyBoxViewer.exe - 63 error(s), 6 warning(s)