rewb0rn
28-03-2008 00:37:39
Hey,
I am currently trying to build QuickGui in order to replace RBGui with it. Now I added this line to the library
and it compiles, though I get these warnings (havn't been there with eihort):
And a runtime assertion fails in ogresharedprt.h, expression pRep.
The program breaks in xutility.h at the end of this function
What do I have to do in order to make QuickGui work with Shoggoth?
I am currently trying to build QuickGui in order to replace RBGui with it. Now I added this line to the library
createManual("RttTex", "Default", TEX_TYPE_2D, 512, 512, 0, PF_R8G8B8, TU_RENDERTARGET)
and it compiles, though I get these warnings (havn't been there with eihort):
1>c:\program files\microsoft visual studio 8\vc\include\xutility(2949) : warning C4267: '=' : conversion from 'size_t' to 'unsigned int', possible loss of data
1> c:\program files\microsoft visual studio 8\vc\include\xutility(2977) : see reference to function template instantiation 'void std::_Fill<unsigned int*,_Ty>(_FwdIt,_FwdIt,const _Ty &)' being compiled
1> with
1> [
1> _Ty=size_t,
1> _FwdIt=unsigned int *
1> ]
1> c:\program files\microsoft visual studio 8\vc\include\vector(1187) : see reference to function template instantiation 'void std::fill<unsigned int*,_Ty>(_FwdIt,_FwdIt,const _Ty &)' being compiled
1> with
1> [
1> _Ty=size_t,
1> _FwdIt=unsigned int *
1> ]
1> c:\program files\microsoft visual studio 8\vc\include\vector(1117) : while compiling class template member function 'void std::vector<_Ty>::_Insert_n(std::_Vector_iterator<_Ty,_Alloc>,__w64 unsigned int,const _Ty &)'
1> with
1> [
1> _Ty=size_t,
1> _Alloc=std::allocator<unsigned int>
1> ]
1> f:\projekte\softwareentwicklung\zensen\ogresdk\include\ogreribbontrail.h(178) : see reference to class template instantiation 'std::vector<_Ty>' being compiled
1> with
1> [
1> _Ty=size_t
1> ]
1>c:\program files\microsoft visual studio 8\vc\include\xutility(2988) : warning C4267: '=' : conversion from 'size_t' to 'unsigned int', possible loss of data
1> c:\program files\microsoft visual studio 8\vc\include\xutility(3044) : see reference to function template instantiation 'void std::_Fill_n<unsigned int*,_Diff,_Ty>(_OutIt,_Diff,const _Ty &,std::_Range_checked_iterator_tag)' being compiled
1> with
1> [
1> _Diff=__w64 unsigned int,
1> _Ty=size_t,
1> _OutIt=unsigned int *
1> ]
1> c:\program files\microsoft visual studio 8\vc\include\xutility(3524) : see reference to function template instantiation 'void std::_Fill_n<_OutIt,_Diff,_Ty>(_OutIt,_Diff,const _Ty &,std::random_access_iterator_tag,std::_Range_checked_iterator_tag)' being compiled
1> with
1> [
1> _OutIt=unsigned int *,
1> _Diff=__w64 unsigned int,
1> _Ty=size_t
1> ]
1> c:\program files\microsoft visual studio 8\vc\include\memory(416) : see reference to function template instantiation 'void stdext::unchecked_fill_n<_FwdIt,_Diff,_Tval>(_OutIt,_Diff,const _Ty &)' being compiled
1> with
1> [
1> _FwdIt=unsigned int *,
1> _Diff=__w64 unsigned int,
1> _Tval=size_t,
1> _OutIt=unsigned int *,
1> _Ty=size_t
1> ]
1> c:\program files\microsoft visual studio 8\vc\include\memory(916) : see reference to function template instantiation 'void std::_Uninit_fill_n<_FwdIt,_Diff,_Tval,_Alloc>(_FwdIt,_Diff,const _Tval &,_Alloc &,std::_Scalar_ptr_iterator_tag,std::_Range_checked_iterator_tag)' being compiled
1> with
1> [
1> _FwdIt=unsigned int *,
1> _Diff=__w64 unsigned int,
1> _Tval=size_t,
1> _Alloc=std::allocator<unsigned int>
1> ]
1> c:\program files\microsoft visual studio 8\vc\include\vector(1208) : see reference to function template instantiation 'void stdext::unchecked_uninitialized_fill_n<unsigned int*,__w64 unsigned int,_Ty,std::allocator<_Ty>>(_FwdIt,_Diff,const _Tval &,_Alloc &)' being compiled
1> with
1> [
1> _Ty=size_t,
1> _FwdIt=unsigned int *,
1> _Diff=__w64 unsigned int,
1> _Tval=size_t,
1> _Alloc=std::allocator<unsigned int>
1> ]
1> c:\program files\microsoft visual studio 8\vc\include\vector(1207) : while compiling class template member function 'unsigned int *std::vector<_Ty>::_Ufill(unsigned int *,__w64 unsigned int,const _Ty &)'
1> with
1> [
1> _Ty=size_t
1> ]
And a runtime assertion fails in ogresharedprt.h, expression pRep.
The program breaks in xutility.h at the end of this function
void __CLR_OR_THIS_CALL _Adopt(const _Container_base *_Parent)
{ // adopt this iterator by parent
if (_Mycont != _Parent)
{ // change parentage
_Lockit _Lock(_LOCK_DEBUG);
_Orphan_me();
if (_Parent != 0 && _Parent->_Myfirstiter != _IGNORE_MYITERLIST)
{ // switch to new parent
_Mynextiter = _Parent->_Myfirstiter;
((_Container_base *)_Parent)->_Myfirstiter = this;
}
_Mycont = _Parent;
}
}
What do I have to do in order to make QuickGui work with Shoggoth?