[HELP] trying to compil mapeditor

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:

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?

jacmoe

05-03-2006 15:38:25

<edit>Blind as a bat, am I.</edit>

CrxGames

05-03-2006 15:57:35

The CVS or SDK map editors don't work, and are months behind, anyways... You'll just have to wait for Falagard to finish GOOF and the map editor.

Technogenius

05-03-2006 18:12:14

thx guys, will I have to use the notepad to make my world ?

CrxGames

05-03-2006 20:08:33

Or... write a pligin for the up and coming MAGE editor.

HexiDave

05-03-2006 21:36:35

Or use XML or something similar and just export/import the location/rotation/node information of your objects. Look into tinyXML on Google.

Technogenius

05-03-2006 22:00:50

Look into tinyXML on Google.
I will