I can not compile my project with OGRE 0.15.2

Problems building or running the engine, queries about how to use features etc.
playerwing
Gnoblar
Posts: 20
Joined: Fri Nov 19, 2004 9:48 am

I can not compile my project with OGRE 0.15.2

Post by playerwing »

I have upgraded my OGRE to 0.15.2 and rebuild it in VC6.0.

then, I rebuild my project...... but, so many error occured:

( a part of error message )

Code: Select all


d:\my space\stlport\include\stlport\stl\debug\_tree.h(97) : warning C4503: 'begin' : decorated name length exceeded, name was truncated 
        d:\my space\stlport\include\stlport\stl\_map.h(75) : see reference to class template instantiation '_STL::_Rb_tree<class _STL::basic_string<char,class _STL::char_traits<char>,class _STL::allocator<char> >,struct _STL::pair<class _STL::basic_ 
string<char,class _STL::char_traits<char>,class _STL::allocator<char> > const ,struct _STL::_DBG_iter<class _STL::__list<struct Ogre::Profiler::ProfileHistory,class _STL::allocator<struct Ogre::Profiler::ProfileHistory> >,struct _STL::_Nonconst_trai 
ts<struct Ogre::Profiler::ProfileHistory> > >,struct _STL::_Select1st<struct _STL::pair<class _STL::basic_string<char,class _STL::char_traits<char>,class _STL::allocator<char> > const ,struct _STL::_DBG_iter<class _STL::__list<struct Ogre::Profiler: 
:ProfileHistory,class _STL::allocator<struct Ogre::Profiler::ProfileHistory> >,struct _STL::_Nonconst_traits<struct Ogre::Profiler::ProfileHistory> > > >,struct _STL::less<class _STL::basic_string<char,class _STL::char_traits<char>,class _STL::alloc 
ator<char> > >,class _STL::allocator<struct _STL::pair<class _STL::basic_string<char,class _STL::char_traits<char>,class _STL::allocator<char> > const ,struct _STL::_DBG_iter<class _STL::__list<struct Ogre::Profiler::ProfileHistory,class _STL::alloc 
ator<struct Ogre::Profiler::ProfileHistory> >,struct _STL::_Nonconst_traits<struct Ogre::Profiler::ProfileHistory> > > > >' being compiled 
        d:\my space\zracing\source\ogremain\include\ogreprofiler.h(344) : see reference to class template instantiation '_STL::map<class _STL::basic_string<char,class _STL::char_traits<char>,class _STL::allocator<char> >,struct _STL::_DBG_iter<class 
 _STL::__list<struct Ogre::Profiler::ProfileHistory,class _STL::allocator<struct Ogre::Profiler::ProfileHistory> >,struct _STL::_Nonconst_traits<struct Ogre::Profiler::ProfileHistory> >,struct _STL::less<class _STL::basic_string<char,class _STL::cha 
r_traits<char>,class _STL::allocator<char> > >,class _STL::allocator<struct _STL::pair<class _STL::basic_string<char,class _STL::char_traits<char>,class _STL::allocator<char> > const ,struct _STL::_DBG_iter<class _STL::__list<struct Ogre::Profiler:: 
ProfileHistory,class _STL::allocator<struct Ogre::Profiler::ProfileHistory> >,struct _STL::_Nonconst_traits<struct Ogre::Profiler::ProfileHistory> > > > >' being compiled 
d:\my space\stlport\include\stlport\stl\debug\_tree.h(98) : warning C4503: 'begin' : decorated name length exceeded, name was truncated 
        d:\my space\stlport\include\stlport\stl\_map.h(75) : see reference to class template instantiation '_STL::_Rb_tree<class _STL::basic_string<char,class _STL::char_traits<char>,class _STL::allocator<char> >,struct _STL::pair<class _STL::basic_ 
string<char,class _STL::char_traits<char>,class _STL::allocator<char> > const ,struct _STL::_DBG_iter<class _STL::__list<struct Ogre::Profiler::ProfileHistory,class _STL::allocator<struct Ogre::Profiler::ProfileHistory> >,struct _STL::_Nonconst_trai 
ts<struct Ogre::Profiler::ProfileHistory> > >,struct _STL::_Select1st<struct _STL::pair<class _STL::basic_string<char,class _STL::char_traits<char>,class _STL::allocator<char> > const ,struct _STL::_DBG_iter<class _STL::__list<struct Ogre::Profiler: 
:ProfileHistory,class _STL::allocator<struct Ogre::Profiler::ProfileHistory> >,struct _STL::_Nonconst_traits<struct Ogre::Profiler::ProfileHistory> > > >,struct _STL::less<class _STL::basic_string<char,class _STL::char_traits<char>,class _STL::alloc 
ator<char> > >,class _STL::allocator<struct _STL::pair<class _STL::basic_string<char,class _STL::char_traits<char>,class _STL::allocator<char> > const ,struct _STL::_DBG_iter<class _STL::__list<struct Ogre::Profiler::ProfileHistory,class _STL::alloc 
ator<struct Ogre::Profiler::ProfileHistory> >,struct _STL::_Nonconst_traits<struct Ogre::Profiler::ProfileHistory> > > > >' being compiled 

...... 

 
( my stlport is working ok before I upgrade my OGRE )
why?

please help me!
cmars
Gnoblar
Posts: 3
Joined: Wed Jan 12, 2005 5:53 am

Post by cmars »

I don't see any errors here, just warnings...
User avatar
pjcast
OGRE Retired Team Member
OGRE Retired Team Member
Posts: 2543
Joined: Fri Oct 24, 2003 2:53 am
Location: San Diego, Ca
x 2

Post by pjcast »

VC6 complains about templates names getting to long... But it is safe to ignore, and the warning's were previously turned off before, but I'm not sure if they are still off..

As cmars says.. they are just warnings :wink:
Have a question about Input? Video? WGE? Come on over... http://www.wreckedgames.com/forum/
playerwing
Gnoblar
Posts: 20
Joined: Fri Nov 19, 2004 9:48 am

Post by playerwing »

:shock: yes! They are not error, just warning ...

thank you ~~~ :oops:
User avatar
Banania
Gremlin
Posts: 150
Joined: Wed Oct 20, 2004 2:35 pm
Location: Paris, France

Post by Banania »

I think this warning (4503) is not disabled in Ogre configuration. I remember that I did it myself once. But, as it can be safely ignored, who cares...
Banania