I just upgraded to Ogre 1.6.2 and now when I try to compile my project I get this error output:
Code: Select all
1>------ Build started: Project: herbert_game, Configuration: Debug Win32 ------
1>Compiling...
1>cl : Command line warning D9035 : option 'Wp64' has been deprecated and will be removed in a future release
1>herbert_game.cpp
1>c:\ogresdk\include\cegui\ceguistring.h(644) : error C2059: syntax error : 'constant'
1>c:\ogresdk\include\cegui\ceguistring.h(645) : error C2334: unexpected token(s) preceding '{'; skipping apparent function body
1>c:\ogresdk\include\cegui\ceguistring.h(860) : error C2059: syntax error : 'constant'
1>c:\ogresdk\include\cegui\ceguistring.h(863) : error C2039: 'len' : is not a member of 'std::basic_string<_Elem,_Traits,_Ax>'
1> with
1> [
1> _Elem=char,
1> _Traits=std::char_traits<char>,
1> _Ax=std::allocator<char>
1> ]
1>c:\ogresdk\include\cegui\ceguistring.h(863) : error C2597: illegal reference to non-static member 'std::basic_string<_Elem,_Traits,_Ax>::npos'
1> with
1> [
1> _Elem=char,
1> _Traits=std::char_traits<char>,
1> _Ax=std::allocator<char>
1> ]
1>c:\ogresdk\include\cegui\ceguistring.h(863) : error C3867: 'std::basic_string<_Elem,_Traits,_Ax>::npos': function call missing argument list; use '&std::basic_string<_Elem,_Traits,_Ax>::npos' to create a pointer to member
1> with
1> [
1> _Elem=char,
1> _Traits=std::char_traits<char>,
1> _Ax=std::allocator<char>
1> ]
1>c:\ogresdk\include\cegui\ceguistring.h(863) : error C2568: '==' : unable to resolve function overload
1>Build log was saved at "file://c:\Documents and Settings\Simon Bakkevig\Mine dokumenter\Skole\Hovedoppgave 08-09\herbert_game\herbert_game\obj\Debug\BuildLog.htm"
1>herbert_game - 7 error(s), 1 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
I posted here because the error concerned a CGUI header file.
I hope someone can help me.