|
|
下载了ogreaddons/meshviewer 按说明.放到了我的ogrenew目录下..(ogrenew是我先下载的ogre原代码工程,编辑已通过)
然后编译报如下错..
Compiling...
StdAfx.cpp
Compiling...
Striper.cpp
RevisitedRadix.cpp
CustomArray.cpp
Adjacency.cpp
Win32Utils.cpp
TreeView.cpp
source\TreeView.cpp(581) : error C2039: 'iterator' : is not a member of 'Ogre::AnimationStateSet'
g:\Ogre_Resource\ogre-win32-v1-4-5\ogrenew\OgreMain\include\OgreAnimationState.h(130) : see declaration of 'Ogre::AnimationStateSet'
source\TreeView.cpp(581) : error C2065: 'iterator' : undeclared identifier
source\TreeView.cpp(581) : error C2146: syntax error : missing ';' before identifier 'i'
source\TreeView.cpp(582) : error C2039: 'begin' : is not a member of 'Ogre::AnimationStateSet'
g:\Ogre_Resource\ogre-win32-v1-4-5\ogrenew\OgreMain\include\OgreAnimationState.h(130) : see declaration of 'Ogre::AnimationStateSet'
source\TreeView.cpp(583) : error C2039: 'end' : is not a member of 'Ogre::AnimationStateSet'
g:\Ogre_Resource\ogre-win32-v1-4-5\ogrenew\OgreMain\include\OgreAnimationState.h(130) : see declaration of 'Ogre::AnimationStateSet'
source\TreeView.cpp(597) : error C2039: 'begin' : is not a member of 'Ogre::AnimationStateSet'
g:\Ogre_Resource\ogre-win32-v1-4-5\ogrenew\OgreMain\include\OgreAnimationState.h(130) : see declaration of 'Ogre::AnimationStateSet'
source\TreeView.cpp(597) : error C2039: 'end' : is not a member of 'Ogre::AnimationStateSet'
g:\Ogre_Resource\ogre-win32-v1-4-5\ogrenew\OgreMain\include\OgreAnimationState.h(130) : see declaration of 'Ogre::AnimationStateSet'
source\TreeView.cpp(599) : error C2227: left of '->first' must point to class/struct/union
type is 'int'
source\TreeView.cpp(599) : error C2228: left of '.c_str' must have class/struct/union type
source\TreeView.cpp(603) : error C2227: left of '->second' must point to class/struct/union
type is 'int'
SETDialog.cpp
OgreView.cpp
source\OgreView.cpp(26) : 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 constructor could take the source type, or constructor overload resolution was ambiguous
source\OgreView.cpp(91) : error C2039: 'setReady' : is not a member of 'Ogre: 3D9RenderWindow'
..\..\RenderSystems\Direct3D9\include\OgreD3D9RenderWindow.h(38) : see declaration of 'Ogre::D3D9RenderWindow'
source\OgreView.cpp(101) : error C2039: 'setReady' : is not a member of 'Ogre::D3D9RenderWindow'
..\..\RenderSystems\Direct3D9\include\OgreD3D9RenderWindow.h(38) : see declaration of 'Ogre::D3D9RenderWindow'
source\OgreView.cpp(406) : error C2039: 'isReady' : is not a member of 'Ogre::D3D9RenderWindow'
..\..\RenderSystems\Direct3D9\include\OgreD3D9RenderWindow.h(38) : see declaration of 'Ogre::D3D9RenderWindow'
source\OgreView.cpp(417) : error C2039: 'isReady' : is not a member of 'Ogre::D3D9RenderWindow'
..\..\RenderSystems\Direct3D9\include\OgreD3D9RenderWindow.h(38) : see declaration of 'Ogre::D3D9RenderWindow'
source\OgreView.cpp(428) : error C2039: 'isReady' : is not a member of 'Ogre::D3D9RenderWindow'
..\..\RenderSystems\Direct3D9\include\OgreD3D9RenderWindow.h(38) : see declaration of 'Ogre::D3D9RenderWindow'
source\OgreView.cpp(446) : error C2039: 'isReady' : is not a member of 'Ogre::D3D9RenderWindow'
..\..\RenderSystems\Direct3D9\include\OgreD3D9RenderWindow.h(38) : see declaration of 'Ogre::D3D9RenderWindow'
source\OgreView.cpp(485) : error C2039: 'enable32BitTextures' : is not a member of 'Ogre::TextureManager'
g:\Ogre_Resource\ogre-win32-v1-4-5\ogrenew\OgreMain\include\OgreTextureManager.h(55) : see declaration of 'Ogre::TextureManager'
source\OgreView.cpp(637) : error C2039: 'getRenderDetail' : is not a member of 'Ogre::SubEntity'
..\..\OgreMain\include\OgreSubEntity.h(56) : see declaration of 'Ogre::SubEntity'
source\OgreView.cpp(637) : error C2039: 'SDL_POINTS' : is not a member of 'Ogre'
source\OgreView.cpp(637) : error C2065: 'SDL_POINTS' : undeclared identifier
source\OgreView.cpp(653) : error C2039: 'getRenderDetail' : is not a member of 'Ogre::SubEntity'
..\..\OgreMain\include\OgreSubEntity.h(56) : see declaration of 'Ogre::SubEntity'
source\OgreView.cpp(653) : error C2039: 'SDL_SOLID' : is not a member of 'Ogre'
source\OgreView.cpp(653) : error C2065: 'SDL_SOLID' : undeclared identifier
source\OgreView.cpp(669) : error C2039: 'getRenderDetail' : is not a member of 'Ogre::SubEntity'
..\..\OgreMain\include\OgreSubEntity.h(56) : see declaration of 'Ogre::SubEntity'
source\OgreView.cpp(669) : error C2039: 'SDL_WIREFRAME' : is not a member of 'Ogre'
source\OgreView.cpp(669) : error C2065: 'SDL_WIREFRAME' : undeclared identifier
source\OgreView.cpp(686) : error C2039: 'setRenderDetail' : is not a member of 'Ogre::Entity'
..\..\OgreMain\include\OgreEntity.h(74) : see declaration of 'Ogre::Entity'
source\OgreView.cpp(686) : error C2039: 'SDL_POINTS' : is not a member of 'Ogre'
source\OgreView.cpp(686) : error C3861: 'SDL_POINTS': identifier not found, even with argument-dependent lookup
source\OgreView.cpp(688) : error C2039: 'setRenderDetail' : is not a member of 'Ogre::Entity'
..\..\OgreMain\include\OgreEntity.h(74) : see declaration of 'Ogre::Entity'
source\OgreView.cpp(688) : error C2039: 'SDL_SOLID' : is not a member of 'Ogre'
source\OgreView.cpp(688) : error C3861: 'SDL_SOLID': identifier not found, even with argument-dependent lookup
source\OgreView.cpp(705) : error C2039: 'setRenderDetail' : is not a member of 'Ogre::Entity'
..\..\OgreMain\include\OgreEntity.h(74) : see declaration of 'Ogre::Entity'
source\OgreView.cpp(705) : error C2039: 'SDL_WIREFRAME' : is not a member of 'Ogre'
source\OgreView.cpp(705) : error C3861: 'SDL_WIREFRAME': identifier not found, even with argument-dependent lookup
source\OgreView.cpp(707) : error C2039: 'setRenderDetail' : is not a member of 'Ogre::Entity'
..\..\OgreMain\include\OgreEntity.h(74) : see declaration of 'Ogre::Entity'
source\OgreView.cpp(707) : error C2039: 'SDL_SOLID' : is not a member of 'Ogre'
source\OgreView.cpp(707) : error C3861: 'SDL_SOLID': identifier not found, even with argument-dependent lookup
source\OgreView.cpp(723) : error C2039: 'setRenderDetail' : is not a member of 'Ogre::Entity'
..\..\OgreMain\include\OgreEntity.h(74) : see declaration of 'Ogre::Entity'
source\OgreView.cpp(723) : error C2039: 'SDL_SOLID' : is not a member of 'Ogre'
source\OgreView.cpp(723) : error C3861: 'SDL_SOLID': identifier not found, even with argument-dependent lookup
source\OgreView.cpp(845) : error C2039: 'removeAllEntities' : is not a member of 'Ogre::SceneManager'
g:\Ogre_Resource\ogre-win32-v1-4-5\ogrenew\OgreMain\include\OgreSceneManager.h(219) : see declaration of 'Ogre::SceneManager'
source\OgreView.cpp(942) : error C2660: 'Ogre::D3D9RenderWindow::update' : function does not take 0 arguments
source\OgreView.cpp(960) : error C2039: 'WindowMovedOrResized' : is not a member of 'Ogre::D3D9RenderWindow'
..\..\RenderSystems\Direct3D9\include\OgreD3D9RenderWindow.h(38) : see declaration of 'Ogre::D3D9RenderWindow'
OgreSystem.cpp
OgreConverter.cpp
MaterialEditor.cpp
MainForm.cpp
source\MainForm.cpp(1495) : error C2660: 'Ogre::Mesh::suggestTangentVectorBuildParams' : function does not take 2 arguments
source\MainForm.cpp(1497) : error C2664: 'Ogre::Mesh::buildTangentVectors' : cannot convert parameter 1 from 'unsigned short' to 'Ogre::VertexElementSemantic'
Conversion to enumeration type requires an explicit cast (static_cast, C-style cast or function-style cast)
LogView.cpp
LODDialog.cpp
IntInputDialog.cpp
GUIMeshUtil.cpp
AboutDialog.cpp
OgreXMLSkeletonSerializer.cpp
exOgreXMLParser\OgreXMLSkeletonSerializer.cpp(209) : error C2039: 'createTrack' : is not a member of 'Ogre::Animation'
..\..\OgreMain\include\OgreAnimation.h(53) : see declaration of 'Ogre::Animation'
exOgreXMLParser\OgreXMLSkeletonSerializer.cpp(240) : error C2039: 'setTranslate' : is not a member of 'Ogre::KeyFrame'
..\..\OgreMain\include\OgreKeyFrame.h(51) : see declaration of 'Ogre::KeyFrame'
exOgreXMLParser\OgreXMLSkeletonSerializer.cpp(259) : error C2039: 'setRotation' : is not a member of 'Ogre::KeyFrame'
..\..\OgreMain\include\OgreKeyFrame.h(51) : see declaration of 'Ogre::KeyFrame'
exOgreXMLParser\OgreXMLSkeletonSerializer.cpp(272) : error C2039: 'setScale' : is not a member of 'Ogre::KeyFrame'
..\..\OgreMain\include\OgreKeyFrame.h(51) : see declaration of 'Ogre::KeyFrame'
exOgreXMLParser\OgreXMLSkeletonSerializer.cpp(293) : error C2039: 'setScale' : is not a member of 'Ogre::KeyFrame'
..\..\OgreMain\include\OgreKeyFrame.h(51) : see declaration of 'Ogre::KeyFrame'
exOgreXMLParser\OgreXMLSkeletonSerializer.cpp(473) : error C2039: 'TrackIterator' : is not a member of 'Ogre::Animation'
..\..\OgreMain\include\OgreAnimation.h(53) : see declaration of 'Ogre::Animation'
exOgreXMLParser\OgreXMLSkeletonSerializer.cpp(473) : error C2065: 'TrackIterator' : undeclared identifier
exOgreXMLParser\OgreXMLSkeletonSerializer.cpp(473) : error C2146: syntax error : missing ';' before identifier 'trackIt'
exOgreXMLParser\OgreXMLSkeletonSerializer.cpp(473) : error C2065: 'trackIt' : undeclared identifier
exOgreXMLParser\OgreXMLSkeletonSerializer.cpp(473) : error C2039: 'getTrackIterator' : is not a member of 'Ogre::Animation'
..\..\OgreMain\include\OgreAnimation.h(53) : see declaration of 'Ogre::Animation'
exOgreXMLParser\OgreXMLSkeletonSerializer.cpp(474) : error C2228: left of '.hasMoreElements' must have class/struct/union type
type is ''unknown-type''
exOgreXMLParser\OgreXMLSkeletonSerializer.cpp(474) : error C3861: 'trackIt': identifier not found, even with argument-dependent lookup
exOgreXMLParser\OgreXMLSkeletonSerializer.cpp(474) : fatal error C1903: unable to recover from previous error(s); stopping compilation
OgreXMLMeshSerializer.cpp
tinyxmlparser.cpp
Compiling...
tinyxmlerror.cpp
tinyxml.cpp
tinystr.cpp
Build log was saved at "file://g:\Ogre_Resource\ogre-win32-v1-4-5\ogrenew\ogreaddons\meshviewer\Release\BuildLog.htm"
OgreMeshViewer - 60 error(s), 0 warning(s)
---------------------- Done ----------------------
Build: 1 succeeded, 1 failed, 0 skipped
自己也做了一个,不过功能不能强...想看看官网的工具的功能..
|
-
|