virtual void chooseSceneManager(void)
{
// Get the SceneManager, in this case a generic one
mSceneMgr = mRoot->getSceneManager(ST_GENERIC);
}
The error is:
1>c:\programming\mmtest\mmtest\include\BaseApplication.h(124) : error C2664: 'Ogre::Root::getSceneManager' : cannot convert parameter 1 from 'Ogre::SceneType' to 'const Ogre::String &'
1> Reason: cannot convert from 'Ogre::SceneType' to 'const Ogre::String'
1> No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
Ok I've been having this error everywhere with my old apps. Is there something new to ogre that needs a change to this?
It was suppose to notify me about the post on your forum pjcast??? I had dagon, and problem fixed. Thanks. I better notify wallaber, because the cvs version i got from him had its own example application, it would be better if he uses the one in the ogrenew/commons. as he already has a directory setup in his requirements.
Sorry about that, my SMTP server is offline (as it was bouncing over a 1GBs of Spam email from spammers to other servers) - and will be till I have the time to configure it properly (and figure out SMTP settings, not exactly easy for me as a Linux SysAdmin n00b).
Its ok good luck with that. But you wouldn't know how to solve the outstream error? Should I try building cegui and compiling ois directly with cegui or should i never mind about it? FFOgre is the only ois demo that wont compile.
1>------ Build started: Project: Demo_FFOgre, Configuration: Release Win32 ------
1>Compiling...
1>FFgui.cpp
1>c:\programming\ogre\ogrenew\dependencies\include\cegui\CEGUIFont.h(1037) : error C2061: syntax error : identifier 'OutStream'
1>c:\programming\ois\includes\OISEffect.h(174) : warning C4800: 'int' : forcing value to bool 'true' or 'false' (performance warning)
1>..\..\demos\ogre\FFgui.cpp(198) : error C2259: 'CEGUI::ListboxTextItem' : cannot instantiate abstract class
1> due to following members:
1> 'void CEGUI::ListboxItem::draw(CEGUI::RenderCache &,const CEGUI::Rect &,float,float,const CEGUI::Rect *) const' : is abstract
1> C:\Programming\Ogre\ogrenew\Dependencies\include\CEGUI\elements/CEGUIListboxItem.h(389) : see declaration of 'CEGUI::ListboxItem::draw'
1>..\..\demos\ogre\FFgui.cpp(406) : warning C4267: 'initializing' : conversion from 'size_t' to 'int', possible loss of data
1>..\..\demos\ogre\FFgui.cpp(423) : error C2259: 'CEGUI::ListboxTextItem' : cannot instantiate abstract class
1> due to following members:
1> 'void CEGUI::ListboxItem::draw(CEGUI::RenderCache &,const CEGUI::Rect &,float,float,const CEGUI::Rect *) const' : is abstract
1> C:\Programming\Ogre\ogrenew\Dependencies\include\CEGUI\elements/CEGUIListboxItem.h(389) : see declaration of 'CEGUI::ListboxItem::draw'
1>Build Time 0:04
1>Build log was saved at "file://c:\Programming\ois\Win32\DemoFFOgre\Release\BuildLog.htm"
1>Demo_FFOgre - 3 error(s), 2 warning(s)
========== Build: 0 succeeded, 1 failed, 1 up-to-date, 0 skipped ==========