Technogenius
05-03-2006 12:03:11
Hi
I readed the wiki page : http://www.ogre3d.org/wiki/index.php/PGLM-MapEditor
at 'How do I install it?' I did the step 1 and 2 without any problem, at the step 3, I didn't found the sln file at '$OGRE_DIR$\ogrenew\samples\MapEditor' but I found it at '$OGRE_DIR$\ogrenew\samples\MapEditor\script' I opened it with Visual C++ 2005 Express edition and it proposed to me to convert it, i did it and tried to build Mapeditor, but i got 8 errors and 2 warnings:
whats wrong?
I readed the wiki page : http://www.ogre3d.org/wiki/index.php/PGLM-MapEditor
at 'How do I install it?' I did the step 1 and 2 without any problem, at the step 3, I didn't found the sln file at '$OGRE_DIR$\ogrenew\samples\MapEditor' but I found it at '$OGRE_DIR$\ogrenew\samples\MapEditor\script' I opened it with Visual C++ 2005 Express edition and it proposed to me to convert it, i did it and tried to build Mapeditor, but i got 8 errors and 2 warnings:
Output Window Compiling...
MapEditorListener.cpp
..\src\MapEditorListener.cpp(237) : error C2039: 'getDetailLevel' : is not a member of 'Ogre::Camera'
f:\ogre\ogrenew\ogremain\include\OgreCamera.h(76) : see declaration of 'Ogre::Camera'
..\src\MapEditorListener.cpp(237) : error C2065: 'SDL_SOLID' : undeclared identifier
..\src\MapEditorListener.cpp(239) : error C2039: 'setDetailLevel' : is not a member of 'Ogre::Camera'
f:\ogre\ogrenew\ogremain\include\OgreCamera.h(76) : see declaration of 'Ogre::Camera'
..\src\MapEditorListener.cpp(239) : error C2065: 'SDL_WIREFRAME' : undeclared identifier
..\src\MapEditorListener.cpp(243) : error C2039: 'setDetailLevel' : is not a member of 'Ogre::Camera'
f:\ogre\ogrenew\ogremain\include\OgreCamera.h(76) : see declaration of 'Ogre::Camera'
MapEditor.cpp
..\Libnoise\include\noise\noiseutils.h(620) : warning C4267: 'argument' : conversion from 'size_t' to 'int', possible loss of data
..\Libnoise\include\noise\noiseutils.h(1009) : warning C4267: 'argument' : conversion from 'size_t' to 'int', possible loss of data
..\src\MapEditor.cpp(39) : error C2664: 'CEGUI::OgreCEGUIRenderer::OgreCEGUIRenderer(Ogre::RenderWindow *,Ogre::uint8,bool,CEGUI::uint,Ogre::SceneManager *)' : cannot convert parameter 5 from 'Ogre::SceneType' to 'Ogre::SceneManager *'
Conversion from integral type to pointer type requires reinterpret_cast, C-style cast or function-style cast
..\src\MapEditor.cpp(79) : error C2664: 'Ogre::Root::getSceneManager' : cannot convert parameter 1 from 'Ogre::SceneType' to 'const Ogre::String &'
Reason: cannot convert from 'Ogre::SceneType' to 'const Ogre::String'
No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
MapVis.cpp
MapUtil.cpp
..\..\..\Tools\MapSplitter\src\MapUtil.cpp(233) : error C2059: syntax error : '{'
MapSplitter.cpp
MapSplatter.cpp
MapNormaler.cpp
MapLighter.cpp
MapInfinitizer.cpp
MapHorizon3.cpp
MapHorizon2.cpp
MapHorizon.cpp
MapEqualizer.cpp
MapBlurrer.cpp
MapBlender.cpp
filetutils.cpp
Generating Code...
Results Build log was saved at "file://f:\Ogre\ogrenew\Samples\MapEditor\obj\Release\BuildLog.htm"
MapEditor - 8 error(s), 2 warning(s)
whats wrong?