Can't compile PLSM2

Grom

04-02-2006 20:34:55

I'm using VC++2005. Ogre 1.1 Dagon. Just got the cvs of ogreaddons. Dagon compiles fine, samples run, my program runs.

Copied the ogreaddons->paginglandscape directory to the ogrenew directory, opened plsm2_vc8.sln and tried to batch build everything. I get a ton of warnings about size differences right away, then a load of errors.

Linking...
warning C4743: 'Ogre::MovableObject::`RTTI Base Class Array'' has different size in 'c:\Games\ogrenew\PlugIns\PagingLandScape2\src\OgrePagingLandScapeOctreeCamera.cpp' and 'c:\Downloads\ogreaddons\paginglandscape\PlugIns\PagingLandScape2\src\OgrePagingLandScapeOctree.cpp': 13 and 9 bytes
warning C4743: 'const Ogre::PagingLandScapeOctreeAxisAlignedBoxSceneQuery::`vftable'{for `Ogre::SceneQuery'}' has different size in 'c:\Downloads\ogreaddons\paginglandscape\PlugIns\PagingLandScape2\src\OgrePagingLandScapeOctreeAxisAlignedBoxSceneQuery.cpp' and 'c:\Games\ogrenew\PlugIns\PagingLandScape2\src\OgrePagingLandScapeOctreeSceneManager.cpp': 44 and 52 bytes
warning C4743: 'const Ogre::PagingLandScapeOctreePlaneBoundedVolumeListSceneQuery::`vftable'{for `Ogre::SceneQuery'}' has different size in 'c:\Downloads\ogreaddons\paginglandscape\PlugIns\PagingLandScape2\src\OgrePagingLandScapeOctreePlaneBoundedVolumeListSceneQuery.cpp' and 'c:\Games\ogrenew\PlugIns\PagingLandScape2\src\OgrePagingLandScapeOctreeSceneManager.cpp': 44 and 52 bytes
warning C4743: 'const Ogre::PagingLandScapeOctreeRaySceneQuery::`vftable'{for `Ogre::SceneQuery'}' has different size in 'c:\Downloads\ogreaddons\paginglandscape\PlugIns\PagingLandScape2\src\OgrePagingLandScapeOctreeRaySceneQuery.cpp' and 'c:\Games\ogrenew\PlugIns\PagingLandScape2\src\OgrePagingLandScapeOctreeSceneManager.cpp': 64 and 72 bytes
warning C4743: 'const Ogre::PagingLandScapeOctreeSphereSceneQuery::`vftable'{for `Ogre::SceneQuery'}' has different size in 'c:\Downloads\ogreaddons\paginglandscape\PlugIns\PagingLandScape2\src\OgrePagingLandScapeOctreeSphereSceneQuery.cpp' and 'c:\Games\ogrenew\PlugIns\PagingLandScape2\src\OgrePagingLandScapeOctreeSceneManager.cpp': 44 and 52 bytes
warning C4744: '_imp_?IDENTITY@Quaternion@Ogre@@2V12@B' has different type in 'c:\Games\ogrenew\PlugIns\PagingLandScape2\src\OgrePagingLandScapeOcclusionQuerySet.cpp' and 'c:\Downloads\ogreaddons\paginglandscape\PlugIns\PagingLandScape2\src\OgreOcclusionBoundingBox.cpp': 'union (16 bytes)' and 'struct (16 bytes)'
warning C4743: 'const Ogre::PagingLandScapeOctreeRaySceneQuery::`vftable'{for `Ogre::SceneQuery'}' has different size in 'c:\Downloads\ogreaddons\paginglandscape\PlugIns\PagingLandScape2\src\OgrePagingLandScapeSceneManager.cpp' and 'c:\Games\ogrenew\PlugIns\PagingLandScape2\src\OgrePagingLandScapeOctreeSceneManager.cpp': 64 and 72 bytes
warning C4744: '_imp_?IDENTITY@Quaternion@Ogre@@2V12@B' has different type in 'c:\Games\ogrenew\PlugIns\PagingLandScape2\src\OgrePagingLandScapeData2DManager.cpp' and 'c:\Downloads\ogreaddons\paginglandscape\PlugIns\PagingLandScape2\src\OgreOcclusionBoundingBox.cpp': 'union (16 bytes)' and 'struct (16 bytes)'
warning C4744: '_imp_?IDENTITY@Quaternion@Ogre@@2V12@B' has different type in 'c:\Games\ogrenew\PlugIns\PagingLandScape2\src\OgrePagingLandScapePage.cpp' and 'c:\Downloads\ogreaddons\paginglandscape\PlugIns\PagingLandScape2\src\OgreOcclusionBoundingBox.cpp': 'union (16 bytes)' and 'struct (16 bytes)'
warning C4743: 'Ogre::MovableObject::`RTTI Base Class Array'' has different size in 'c:\Games\ogrenew\PlugIns\PagingLandScape2\src\OgrePagingLandScapePageRenderable.cpp' and 'c:\Downloads\ogreaddons\paginglandscape\PlugIns\PagingLandScape2\src\OgrePagingLandScapeOctree.cpp': 13 and 9 bytes
warning C4744: '_imp_?IDENTITY@Quaternion@Ogre@@2V12@B' has different type in 'c:\Games\ogrenew\PlugIns\PagingLandScape2\src\OgrePagingLandScapePageRenderable.cpp' and 'c:\Downloads\ogreaddons\paginglandscape\PlugIns\PagingLandScape2\src\OgreOcclusionBoundingBox.cpp': 'union (16 bytes)' and 'struct (16 bytes)'
warning C4743: 'Ogre::MovableObject::`RTTI Base Class Array'' has different size in 'c:\Games\ogrenew\PlugIns\PagingLandScape2\src\OgrePagingLandScapeRenderable.cpp' and 'c:\Downloads\ogreaddons\paginglandscape\PlugIns\PagingLandScape2\src\OgrePagingLandScapeOctree.cpp': 13 and 9 bytes
warning C4744: '_imp_?IDENTITY@Quaternion@Ogre@@2V12@B' has different type in 'c:\Games\ogrenew\PlugIns\PagingLandScape2\src\OgrePagingLandScapeRenderable.cpp' and 'c:\Downloads\ogreaddons\paginglandscape\PlugIns\PagingLandScape2\src\OgreOcclusionBoundingBox.cpp': 'union (16 bytes)' and 'struct (16 bytes)'
warning C4744: '_imp_?IDENTITY@Quaternion@Ogre@@2V12@B' has different type in 'c:\Games\ogrenew\PlugIns\PagingLandScape2\src\OgrePagingLandScapeRenderableManager.cpp' and 'c:\Downloads\ogreaddons\paginglandscape\PlugIns\PagingLandScape2\src\OgreOcclusionBoundingBox.cpp': 'union (16 bytes)' and 'struct (16 bytes)'
warning C4743: 'const Ogre::PagingLandScapeOctreeIntersectionSceneQuery::`vftable'{for `Ogre::SceneQuery'}' has different size in 'c:\Downloads\ogreaddons\paginglandscape\PlugIns\PagingLandScape2\src\OgrePagingLandScapeIntersectionSceneQuery.cpp' and 'c:\Games\ogrenew\PlugIns\PagingLandScape2\src\OgrePagingLandScapeOctreeSceneManager.cpp': 44 and 52 bytes
warning C4743: 'const Ogre::PagingLandScapeOctreeRaySceneQuery::`vftable'{for `Ogre::SceneQuery'}' has different size in 'c:\Downloads\ogreaddons\paginglandscape\PlugIns\PagingLandScape2\src\OgrePagingLandScapeRaySceneQuery.cpp' and 'c:\Games\ogrenew\PlugIns\PagingLandScape2\src\OgrePagingLandScapeOctreeSceneManager.cpp': 64 and 72 bytes
warning C4743: 'Ogre::Camera::`RTTI Base Class Array'' has different size in 'c:\Downloads\ogreaddons\paginglandscape\PlugIns\PagingLandScape2\src\OgrePagingLandScapeCamera.cpp' and 'c:\Games\ogrenew\PlugIns\PagingLandScape2\src\OgrePagingLandScapeOctreeCamera.cpp': 21 and 25 bytes
warning C4743: 'Ogre::Frustum::`RTTI Base Class Array'' has different size in 'c:\Downloads\ogreaddons\paginglandscape\PlugIns\PagingLandScape2\src\OgrePagingLandScapeCamera.cpp' and 'c:\Games\ogrenew\PlugIns\PagingLandScape2\src\OgrePagingLandScapeOctreeCamera.cpp': 17 and 21 bytes
warning C4743: 'Ogre::PagingLandScapeOctreeCamera::`RTTI Base Class Array'' has different size in 'c:\Downloads\ogreaddons\paginglandscape\PlugIns\PagingLandScape2\src\OgrePagingLandScapeCamera.cpp' and 'c:\Games\ogrenew\PlugIns\PagingLandScape2\src\OgrePagingLandScapeOctreeCamera.cpp': 25 and 29 bytes
Creating library ..\bin\Release/Plugin_PagingLandScapeSceneManager2.lib and object ..\bin\Release/Plugin_PagingLandScapeSceneManager2.exp
OgrePagingLandScapeOctree.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: virtual class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const & __thiscall Ogre::SimpleRenderable::getName(void)const " (__imp_?getName@SimpleRenderable@Ogre@@UBEABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@XZ)
OgrePagingLandScapeOctree.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: virtual enum Ogre::RenderQueueGroupID __thiscall Ogre::MovableObject::getRenderQueueGroup(void)const " (__imp_?getRenderQueueGroup@MovableObject@Ogre@@UBE?AW4RenderQueueGroupID@2@XZ)
OgrePagingLandScapeOctree.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: virtual void __thiscall Ogre::MovableObject::setRenderQueueGroup(enum Ogre::RenderQueueGroupID)" (__imp_?setRenderQueueGroup@MovableObject@Ogre@@UAEXW4RenderQueueGroupID@2@@Z)
OgrePagingLandScapeOctree.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: virtual unsigned long __thiscall Ogre::MovableObject::getQueryFlags(void)const " (__imp_?getQueryFlags@MovableObject@Ogre@@UBEKXZ)
OgrePagingLandScapeOctree.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: virtual void __thiscall Ogre::MovableObject::addQueryFlags(unsigned long)" (__imp_?addQueryFlags@MovableObject@Ogre@@UAEXK@Z)
OgrePagingLandScapeOctree.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: virtual void __thiscall Ogre::MovableObject::setQueryFlags(unsigned long)" (__imp_?setQueryFlags@MovableObject@Ogre@@UAEXK@Z)
OgrePagingLandScapeOctreeAxisAlignedBoxSceneQuery.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: virtual unsigned long __thiscall Ogre::SceneQuery::getQueryMask(void)const " (__imp_?getQueryMask@SceneQuery@Ogre@@UBEKXZ)
OgrePagingLandScapeOctreeAxisAlignedBoxSceneQuery.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: virtual void __thiscall Ogre::SceneQuery::setQueryMask(unsigned long)" (__imp_?setQueryMask@SceneQuery@Ogre@@UAEXK@Z)
OgrePagingLandScapeOctreeRaySceneQuery.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: virtual class std::list<struct Ogre::RaySceneQueryResultEntry,class std::allocator<struct Ogre::RaySceneQueryResultEntry> > & __thiscall Ogre::RaySceneQuery::getLastResults(void)const " (__imp_?getLastResults@RaySceneQuery@Ogre@@UBEAAV?$list@URaySceneQueryResultEntry@Ogre@@V?$allocator@URaySceneQueryResultEntry@Ogre@@@std@@@std@@XZ)
OgrePagingLandScapeOctreeRaySceneQuery.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: virtual class std::list<struct Ogre::RaySceneQueryResultEntry,class std::allocator<struct Ogre::RaySceneQueryResultEntry> > & __thiscall Ogre::RaySceneQuery::execute(void)" (__imp_?execute@RaySceneQuery@Ogre@@UAEAAV?$list@URaySceneQueryResultEntry@Ogre@@V?$allocator@URaySceneQueryResultEntry@Ogre@@@std@@@std@@XZ)
OgrePagingLandScapeOptions.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class Ogre::SharedPtr<class Ogre::DataStream> __thiscall Ogre::ResourceGroupManager::openResource(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" (__imp_?openResource@ResourceGroupManager@Ogre@@QAE?AV?$SharedPtr@VDataStream@Ogre@@@2@ABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@0@Z)
OgrePagingLandScapeSceneManager.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: virtual void __thiscall Ogre::SceneManager::removeAllStaticGeometry(void)" (__imp_?removeAllStaticGeometry@SceneManager@Ogre@@UAEXXZ)
OgrePagingLandScapeSceneManager.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: virtual void __thiscall Ogre::SceneManager::removeStaticGeometry(class Ogre::StaticGeometry *)" (__imp_?removeStaticGeometry@SceneManager@Ogre@@UAEXPAVStaticGeometry@2@@Z)
OgrePagingLandScapeSceneManager.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: virtual void __thiscall Ogre::SceneManager::removeStaticGeometry(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" (__imp_?removeStaticGeometry@SceneManager@Ogre@@UAEXABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z)
OgrePagingLandScapeSceneManager.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: virtual enum Ogre::RenderQueueGroupID __thiscall Ogre::SceneManager::getWorldGeometryRenderQueue(void)" (__imp_?getWorldGeometryRenderQueue@SceneManager@Ogre@@UAE?AW4RenderQueueGroupID@2@XZ)
OgrePagingLandScapeSceneManager.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: virtual bool __thiscall Ogre::SceneManager::isRenderQueueToBeProcessed(enum Ogre::RenderQueueGroupID)" (__imp_?isRenderQueueToBeProcessed@SceneManager@Ogre@@UAE_NW4RenderQueueGroupID@2@@Z)

... etc.

jacmoe

04-02-2006 20:54:08

Did you add some directories to the Visual Studio include/lib folders?
It looks like your compiler is being confused about finding the same files in two different places.

Grom

04-02-2006 21:30:02

i looked at that, but they look like they should (i think)


jacmoe

04-02-2006 21:57:04

It looks good: remove them all. :)
They are setup on a per project basis, and that is the recommended way.

Check your project settings - maybe some of them are using absolute paths instead of relative paths.

Grom

05-02-2006 09:16:39

Alright following jacmoe's advice, I deleted all the listings in both the includes list and the libraries list. Then I tried to compile, and of course got a keelhaul of a lot of errors. (of course). So I went back and added them all in again by hand, using the images I posted as reference. I tried to compile again even though I was sure it would fail, and it... worked. So thanks jacmoe! 8)

maxwave

23-04-2006 16:29:21

I setup Ogre RC2 and latests PLSM2. When I add [PLSM2] paths in resources.cfg, I get error when run any application:

Error #: 7
Function: TextAreaOverlayElement::setFontName
Description: Could not find font TrebuchetMSBold.
File: d:\ogredev\dagon\ogremain\src\ogretextareaoverlayelement.cpp
Line: 337


Also, when I compile PLSM2, I have error when compiling is finished:

Plugin_PagingLandScapeSceneManager2 error PRJ0019: A tool returned an error code from "Performing Post-Build Event..."

But DLL's is created. Why?

OvermindDL1

24-04-2006 04:18:20

Considering the name of this thread, would probably be good to post my build problem in here as well.

I just updated Ogre from CVS, just updated PLSM2 from CVS, Ogre built perfect, PLSM2 failed building with these errors:
------ Rebuild All started: Project: Plugin_PagingLandScapeSceneManager2, Configuration: Release Win32 ------

Deleting intermediate files and output files for project 'Plugin_PagingLandScapeSceneManager2', configuration 'Release|Win32'.
Compiling...
OgrePagingLandScapeListenerManager.cpp
OgrePagingLandScapeOcclusionQuerySet.cpp
OgreOcclusionBoundingBox.cpp
\OgreSDK\ogreaddons\paginglandscape\PlugIns\PagingLandScape2\src\OgreOcclusionBoundingBox.cpp(155) : error C2664: 'void Ogre::VertexElement::baseVertexPointerToElement(void *,void ** ) const' : cannot convert parameter 2 from 'Ogre::Real **__w64 ' to 'void ** '
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
\OgreSDK\ogreaddons\paginglandscape\PlugIns\PagingLandScape2\src\OgreOcclusionBoundingBox.cpp(156) : error C2664: 'void Ogre::VertexElement::baseVertexPointerToElement(void *,void ** ) const' : cannot convert parameter 2 from 'Ogre::Real **__w64 ' to 'void ** '
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
\OgreSDK\ogreaddons\paginglandscape\PlugIns\PagingLandScape2\src\OgreOcclusionBoundingBox.cpp(157) : error C2664: 'void Ogre::VertexElement::baseVertexPointerToElement(void *,void ** ) const' : cannot convert parameter 2 from 'Ogre::Real **__w64 ' to 'void ** '
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
\OgreSDK\ogreaddons\paginglandscape\PlugIns\PagingLandScape2\src\OgreOcclusionBoundingBox.cpp(158) : error C2664: 'void Ogre::VertexElement::baseVertexPointerToElement(void *,void ** ) const' : cannot convert parameter 2 from 'Ogre::Real **__w64 ' to 'void ** '
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
\OgreSDK\ogreaddons\paginglandscape\PlugIns\PagingLandScape2\src\OgreOcclusionBoundingBox.cpp(159) : error C2664: 'void Ogre::VertexElement::baseVertexPointerToElement(void *,void ** ) const' : cannot convert parameter 2 from 'Ogre::Real **__w64 ' to 'void ** '
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
\OgreSDK\ogreaddons\paginglandscape\PlugIns\PagingLandScape2\src\OgreOcclusionBoundingBox.cpp(160) : error C2664: 'void Ogre::VertexElement::baseVertexPointerToElement(void *,void ** ) const' : cannot convert parameter 2 from 'Ogre::Real **__w64 ' to 'void ** '
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
\OgreSDK\ogreaddons\paginglandscape\PlugIns\PagingLandScape2\src\OgreOcclusionBoundingBox.cpp(161) : error C2664: 'void Ogre::VertexElement::baseVertexPointerToElement(void *,void ** ) const' : cannot convert parameter 2 from 'Ogre::Real **__w64 ' to 'void ** '
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
\OgreSDK\ogreaddons\paginglandscape\PlugIns\PagingLandScape2\src\OgreOcclusionBoundingBox.cpp(162) : error C2664: 'void Ogre::VertexElement::baseVertexPointerToElement(void *,void ** ) const' : cannot convert parameter 2 from 'Ogre::Real **__w64 ' to 'void ** '
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
OgreDebugRectangle2D.cpp
OgrePagingLandScapeOcclusionVFTraversal.cpp
OgrePagingLandScapeOcclusionTraversal.cpp
OgrePagingLandScapeOcclusionSWTraversal.cpp
OgrePagingLandScapeOcclusionDebugTraversal.cpp
OgrePagingLandScapeOcclusionCHCTraversal.cpp
OgrePagingLandScapeOcclusionCameraTraversal.cpp
OgrePagingLandScapeOcclusionElement.cpp
OgrePagingLandScapeOcclusion.cpp
OgrePagingLandScapeOctreeSphereSceneQuery.cpp
OgrePagingLandScapeOctreeRaySceneQuery.cpp
OgrePagingLandScapeOctreePlaneBoundedVolumeListSceneQuery.cpp
OgrePagingLandScapeOctreeIntersectionSceneQuery.cpp
OgrePagingLandScapeOctreeAxisAlignedBoxSceneQuery.cpp
OgrePagingLandScapeOctreeSceneManager.cpp
OgrePagingLandScapeOctreeNode.cpp
OgrePagingLandScapeOctreeCamera.cpp
Compiling...
OgrePagingLandScapeOctree.cpp
OgrePagingLandScapeTileManager.cpp
OgrePagingLandScapeTile.cpp
OgrePagingLandScapeTexture_SplattingShaderEdit.cpp
OgrePagingLandScapeTexture_SplattingShader.cpp
OgrePagingLandScapeTexture_Splatting7Edit.cpp
OgrePagingLandScapeTexture_Splatting7.cpp
OgrePagingLandScapeTexture_Splatting6.cpp
OgrePagingLandScapeTexture_Splatting5.cpp
OgrePagingLandScapeTexture_Splatting4.cpp
OgrePagingLandScapeTexture_Splatting3.cpp
OgrePagingLandScapeTexture_Splatting2Edit.cpp
OgrePagingLandScapeTexture_Splatting2.cpp
OgrePagingLandScapeTexture_Splatting.cpp
OgrePagingLandScapeTextureManager.cpp
OgrePagingLandScapeTexture_InstantBaseTextureShadowed.cpp
OgrePagingLandScapeTexture_InstantBaseTextureEdit.cpp
OgrePagingLandScapeTexture_InstantBaseTexture.cpp
OgrePagingLandScapeTexture_Image.cpp
OgrePagingLandScapeTexture_BaseTexture2.cpp
Compiling...
OgrePagingLandScapeTexture_BaseTexture.cpp
OgrePagingLandScapeTexture.cpp
OgrePagingLandScapeTextureCoordinatesManager.cpp
OgrePagingLandScapeRenderableManager.cpp
OgrePagingLandScapeRenderable.cpp
\OgreSDK\ogreaddons\paginglandscape\PlugIns\PagingLandScape2\src\OgrePagingLandScapeRenderable.cpp(371) : error C2664: 'void Ogre::VertexElement::baseVertexPointerToElement(void *,void ** ) const' : cannot convert parameter 2 from 'Ogre::Real **__w64 ' to 'void ** '
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
\OgreSDK\ogreaddons\paginglandscape\PlugIns\PagingLandScape2\src\OgrePagingLandScapeRenderable.cpp(382) : error C2664: 'void Ogre::VertexElement::baseVertexPointerToElement(void *,void ** ) const' : cannot convert parameter 2 from 'Ogre::Real **__w64 ' to 'void ** '
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
OgrePagingLandScapeIndexBuffer.cpp
OgrePagingLandScapePageRenderable.cpp
\OgreSDK\ogreaddons\paginglandscape\PlugIns\PagingLandScape2\src\OgrePagingLandScapePageRenderable.cpp(166) : error C2664: 'void Ogre::VertexElement::baseVertexPointerToElement(void *,void ** ) const' : cannot convert parameter 2 from 'Ogre::Real **__w64 ' to 'void ** '
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
\OgreSDK\ogreaddons\paginglandscape\PlugIns\PagingLandScape2\src\OgrePagingLandScapePageRenderable.cpp(173) : error C2664: 'void Ogre::VertexElement::baseVertexPointerToElement(void *,void ** ) const' : cannot convert parameter 2 from 'Ogre::Real **__w64 ' to 'void ** '
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
OgrePagingLandScapePageManager.cpp
OgrePagingLandScapePage.cpp
OgrePagingLandScapeData2D_Spline.cpp
\OgreSDK\ogreaddons\paginglandscape\PlugIns\PagingLandScape2\src\OgrePagingLandScapeData2D_Spline.cpp(111) : error C2664: 'CDRGNURBSSurface::Init' : cannot convert parameter 6 from 'Ogre::Real *' to 'float *'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
OgrePagingLandScapeData2D_HeightFieldTC.cpp
OgrePagingLandScapeData2D_HeightFieldRawTC.cpp
OgrePagingLandScapeData2D_HeightFieldRaw.cpp
OgrePagingLandScapeData2D_HeightFieldNTC.cpp
OgrePagingLandScapeData2D_HeightFieldN.cpp
OgrePagingLandScapeData2D_HeightFieldBlendNeighbor.cpp
OgrePagingLandScapeData2D_HeightField.cpp
DRGNURBSSurface.cpp
OgrePagingLandScapeData2DManager.cpp
OgrePagingLandScapeData2D.cpp
Compiling...
OgrePagingLandScapeSceneManagerDll.cpp
OgrePagingLandScapeSceneManager.cpp
\OgreSDK\ogreaddons\paginglandscape\PlugIns\PagingLandScape2\src\OgrePagingLandScapeSceneManager.cpp(1503) : error C2511: 'void Ogre::PagingLandScapeSceneManager::getWorldSize(float *,float *)' : overloaded member function not found in 'Ogre::PagingLandScapeSceneManager'
..\include\OgrePagingLandScapeSceneManager.h(48) : see declaration of 'Ogre::PagingLandScapeSceneManager'
OgrePagingLandScapeRaySceneQuery.cpp
OgrePagingLandScapeOptions.cpp
\OgreSDK\ogreaddons\paginglandscape\PlugIns\PagingLandScape2\src\OgrePagingLandScapeOptions.cpp(1288) : error C2664: 'Ogre::PagingLandScapeOptions::setReal' : cannot convert parameter 1 from 'float' to 'Ogre::Real &'
A reference that is not to 'const' cannot be bound to a non-lvalue
\OgreSDK\ogreaddons\paginglandscape\PlugIns\PagingLandScape2\src\OgrePagingLandScapeOptions.cpp(1289) : error C2664: 'Ogre::PagingLandScapeOptions::setReal' : cannot convert parameter 1 from 'float' to 'Ogre::Real &'
A reference that is not to 'const' cannot be bound to a non-lvalue
\OgreSDK\ogreaddons\paginglandscape\PlugIns\PagingLandScape2\src\OgrePagingLandScapeOptions.cpp(1290) : error C2664: 'Ogre::PagingLandScapeOptions::setReal' : cannot convert parameter 1 from 'float' to 'Ogre::Real &'
A reference that is not to 'const' cannot be bound to a non-lvalue
OgrePagingLandScapeHorizon.cpp
OgrePagingLandScapeCamera.cpp
filetutils.cpp

Build Time 1:52
Build log was saved at "file://g:\OgreSDK\ogreaddons\paginglandscape\PlugIns\PagingLandScape2\obj\Release\BuildLog.htm"
Plugin_PagingLandScapeSceneManager2 - 17 error(s), 0 warning(s)


------ Rebuild All started: Project: Plugin_PagingLandScapeSceneManager2, Configuration: Debug Win32 ------

Deleting intermediate files and output files for project 'Plugin_PagingLandScapeSceneManager2', configuration 'Debug|Win32'.
Compiling...
OgrePagingLandScapeListenerManager.cpp
OgrePagingLandScapeOcclusionQuerySet.cpp
OgreOcclusionBoundingBox.cpp
\OgreSDK\ogreaddons\paginglandscape\PlugIns\PagingLandScape2\src\OgreOcclusionBoundingBox.cpp(155) : error C2664: 'void Ogre::VertexElement::baseVertexPointerToElement(void *,void ** ) const' : cannot convert parameter 2 from 'Ogre::Real **__w64 ' to 'void ** '
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
\OgreSDK\ogreaddons\paginglandscape\PlugIns\PagingLandScape2\src\OgreOcclusionBoundingBox.cpp(156) : error C2664: 'void Ogre::VertexElement::baseVertexPointerToElement(void *,void ** ) const' : cannot convert parameter 2 from 'Ogre::Real **__w64 ' to 'void ** '
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
\OgreSDK\ogreaddons\paginglandscape\PlugIns\PagingLandScape2\src\OgreOcclusionBoundingBox.cpp(157) : error C2664: 'void Ogre::VertexElement::baseVertexPointerToElement(void *,void ** ) const' : cannot convert parameter 2 from 'Ogre::Real **__w64 ' to 'void ** '
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
\OgreSDK\ogreaddons\paginglandscape\PlugIns\PagingLandScape2\src\OgreOcclusionBoundingBox.cpp(158) : error C2664: 'void Ogre::VertexElement::baseVertexPointerToElement(void *,void ** ) const' : cannot convert parameter 2 from 'Ogre::Real **__w64 ' to 'void ** '
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
\OgreSDK\ogreaddons\paginglandscape\PlugIns\PagingLandScape2\src\OgreOcclusionBoundingBox.cpp(159) : error C2664: 'void Ogre::VertexElement::baseVertexPointerToElement(void *,void ** ) const' : cannot convert parameter 2 from 'Ogre::Real **__w64 ' to 'void ** '
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
\OgreSDK\ogreaddons\paginglandscape\PlugIns\PagingLandScape2\src\OgreOcclusionBoundingBox.cpp(160) : error C2664: 'void Ogre::VertexElement::baseVertexPointerToElement(void *,void ** ) const' : cannot convert parameter 2 from 'Ogre::Real **__w64 ' to 'void ** '
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
\OgreSDK\ogreaddons\paginglandscape\PlugIns\PagingLandScape2\src\OgreOcclusionBoundingBox.cpp(161) : error C2664: 'void Ogre::VertexElement::baseVertexPointerToElement(void *,void ** ) const' : cannot convert parameter 2 from 'Ogre::Real **__w64 ' to 'void ** '
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
\OgreSDK\ogreaddons\paginglandscape\PlugIns\PagingLandScape2\src\OgreOcclusionBoundingBox.cpp(162) : error C2664: 'void Ogre::VertexElement::baseVertexPointerToElement(void *,void ** ) const' : cannot convert parameter 2 from 'Ogre::Real **__w64 ' to 'void ** '
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
OgreDebugRectangle2D.cpp
\OgreSDK\ogreaddons\paginglandscape\PlugIns\PagingLandScape2\src\OgreDebugRectangle2D.cpp(115) : error C2664: 'void Ogre::VertexElement::baseVertexPointerToElement(void *,void ** ) const' : cannot convert parameter 2 from 'Ogre::Real **__w64 ' to 'void ** '
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
\OgreSDK\ogreaddons\paginglandscape\PlugIns\PagingLandScape2\src\OgreDebugRectangle2D.cpp(116) : error C2664: 'void Ogre::VertexElement::baseVertexPointerToElement(void *,void ** ) const' : cannot convert parameter 2 from 'Ogre::Real **__w64 ' to 'void ** '
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
\OgreSDK\ogreaddons\paginglandscape\PlugIns\PagingLandScape2\src\OgreDebugRectangle2D.cpp(117) : error C2664: 'void Ogre::VertexElement::baseVertexPointerToElement(void *,void ** ) const' : cannot convert parameter 2 from 'Ogre::Real **__w64 ' to 'void ** '
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
\OgreSDK\ogreaddons\paginglandscape\PlugIns\PagingLandScape2\src\OgreDebugRectangle2D.cpp(118) : error C2664: 'void Ogre::VertexElement::baseVertexPointerToElement(void *,void ** ) const' : cannot convert parameter 2 from 'Ogre::Real **__w64 ' to 'void ** '
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
OgrePagingLandScapeOcclusionVFTraversal.cpp
OgrePagingLandScapeOcclusionTraversal.cpp
OgrePagingLandScapeOcclusionSWTraversal.cpp
OgrePagingLandScapeOcclusionDebugTraversal.cpp
OgrePagingLandScapeOcclusionCHCTraversal.cpp
OgrePagingLandScapeOcclusionCameraTraversal.cpp
OgrePagingLandScapeOcclusionElement.cpp
OgrePagingLandScapeOcclusion.cpp
OgrePagingLandScapeOctreeSphereSceneQuery.cpp
OgrePagingLandScapeOctreeRaySceneQuery.cpp
OgrePagingLandScapeOctreePlaneBoundedVolumeListSceneQuery.cpp
OgrePagingLandScapeOctreeIntersectionSceneQuery.cpp
OgrePagingLandScapeOctreeAxisAlignedBoxSceneQuery.cpp
OgrePagingLandScapeOctreeSceneManager.cpp
OgrePagingLandScapeOctreeNode.cpp
OgrePagingLandScapeOctreeCamera.cpp
Generating Code...
Compiling...
OgrePagingLandScapeOctree.cpp
OgrePagingLandScapeTileManager.cpp
OgrePagingLandScapeTile.cpp
OgrePagingLandScapeTexture_SplattingShaderEdit.cpp
OgrePagingLandScapeTexture_SplattingShader.cpp
OgrePagingLandScapeTexture_Splatting7Edit.cpp
OgrePagingLandScapeTexture_Splatting7.cpp
OgrePagingLandScapeTexture_Splatting6.cpp
OgrePagingLandScapeTexture_Splatting5.cpp
OgrePagingLandScapeTexture_Splatting4.cpp
OgrePagingLandScapeTexture_Splatting3.cpp
OgrePagingLandScapeTexture_Splatting2Edit.cpp
OgrePagingLandScapeTexture_Splatting2.cpp
OgrePagingLandScapeTexture_Splatting.cpp
OgrePagingLandScapeTextureManager.cpp
OgrePagingLandScapeTexture_InstantBaseTextureShadowed.cpp
OgrePagingLandScapeTexture_InstantBaseTextureEdit.cpp
OgrePagingLandScapeTexture_InstantBaseTexture.cpp
OgrePagingLandScapeTexture_Image.cpp
OgrePagingLandScapeTexture_BaseTexture2.cpp
Generating Code...
Compiling...
OgrePagingLandScapeTexture_BaseTexture.cpp
OgrePagingLandScapeTexture.cpp
OgrePagingLandScapeTextureCoordinatesManager.cpp
OgrePagingLandScapeRenderableManager.cpp
\OgreSDK\ogreaddons\paginglandscape\PlugIns\PagingLandScape2\src\OgrePagingLandScapeRenderableManager.cpp(262) : warning C4267: 'argument' : conversion from 'size_t' to 'unsigned int', possible loss of data
OgrePagingLandScapeRenderable.cpp
\OgreSDK\ogreaddons\paginglandscape\PlugIns\PagingLandScape2\src\OgrePagingLandScapeRenderable.cpp(371) : error C2664: 'void Ogre::VertexElement::baseVertexPointerToElement(void *,void ** ) const' : cannot convert parameter 2 from 'Ogre::Real **__w64 ' to 'void ** '
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
\OgreSDK\ogreaddons\paginglandscape\PlugIns\PagingLandScape2\src\OgrePagingLandScapeRenderable.cpp(382) : error C2664: 'void Ogre::VertexElement::baseVertexPointerToElement(void *,void ** ) const' : cannot convert parameter 2 from 'Ogre::Real **__w64 ' to 'void ** '
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
OgrePagingLandScapeIndexBuffer.cpp
OgrePagingLandScapePageRenderable.cpp
\OgreSDK\ogreaddons\paginglandscape\PlugIns\PagingLandScape2\src\OgrePagingLandScapePageRenderable.cpp(166) : error C2664: 'void Ogre::VertexElement::baseVertexPointerToElement(void *,void ** ) const' : cannot convert parameter 2 from 'Ogre::Real **__w64 ' to 'void ** '
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
\OgreSDK\ogreaddons\paginglandscape\PlugIns\PagingLandScape2\src\OgrePagingLandScapePageRenderable.cpp(173) : error C2664: 'void Ogre::VertexElement::baseVertexPointerToElement(void *,void ** ) const' : cannot convert parameter 2 from 'Ogre::Real **__w64 ' to 'void ** '
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
OgrePagingLandScapePageManager.cpp
OgrePagingLandScapePage.cpp
OgrePagingLandScapeData2D_Spline.cpp
\OgreSDK\ogreaddons\paginglandscape\PlugIns\PagingLandScape2\src\OgrePagingLandScapeData2D_Spline.cpp(111) : error C2664: 'CDRGNURBSSurface::Init' : cannot convert parameter 6 from 'Ogre::Real *' to 'float *'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
OgrePagingLandScapeData2D_HeightFieldTC.cpp
OgrePagingLandScapeData2D_HeightFieldRawTC.cpp
OgrePagingLandScapeData2D_HeightFieldRaw.cpp
OgrePagingLandScapeData2D_HeightFieldNTC.cpp
OgrePagingLandScapeData2D_HeightFieldN.cpp
OgrePagingLandScapeData2D_HeightFieldBlendNeighbor.cpp
OgrePagingLandScapeData2D_HeightField.cpp
DRGNURBSSurface.cpp
OgrePagingLandScapeData2DManager.cpp
OgrePagingLandScapeData2D.cpp
Generating Code...
Compiling...
OgrePagingLandScapeSceneManagerDll.cpp
OgrePagingLandScapeSceneManager.cpp
\OgreSDK\ogreaddons\paginglandscape\PlugIns\PagingLandScape2\src\OgrePagingLandScapeSceneManager.cpp(1503) : error C2511: 'void Ogre::PagingLandScapeSceneManager::getWorldSize(float *,float *)' : overloaded member function not found in 'Ogre::PagingLandScapeSceneManager'
..\include\OgrePagingLandScapeSceneManager.h(48) : see declaration of 'Ogre::PagingLandScapeSceneManager'
OgrePagingLandScapeRaySceneQuery.cpp
OgrePagingLandScapeOptions.cpp
\OgreSDK\ogreaddons\paginglandscape\PlugIns\PagingLandScape2\src\OgrePagingLandScapeOptions.cpp(1288) : error C2664: 'Ogre::PagingLandScapeOptions::setReal' : cannot convert parameter 1 from 'float' to 'Ogre::Real &'
A reference that is not to 'const' cannot be bound to a non-lvalue
\OgreSDK\ogreaddons\paginglandscape\PlugIns\PagingLandScape2\src\OgrePagingLandScapeOptions.cpp(1289) : error C2664: 'Ogre::PagingLandScapeOptions::setReal' : cannot convert parameter 1 from 'float' to 'Ogre::Real &'
A reference that is not to 'const' cannot be bound to a non-lvalue
\OgreSDK\ogreaddons\paginglandscape\PlugIns\PagingLandScape2\src\OgrePagingLandScapeOptions.cpp(1290) : error C2664: 'Ogre::PagingLandScapeOptions::setReal' : cannot convert parameter 1 from 'float' to 'Ogre::Real &'
A reference that is not to 'const' cannot be bound to a non-lvalue
OgrePagingLandScapeHorizon.cpp
OgrePagingLandScapeCamera.cpp
filetutils.cpp
Generating Code...

Build Time 2:27
Build log was saved at "file://g:\OgreSDK\ogreaddons\paginglandscape\PlugIns\PagingLandScape2\obj\Debug\BuildLog.htm"
Plugin_PagingLandScapeSceneManager2 - 21 error(s), 1 warning(s)


------ Rebuild All started: Project: Demo_PagingLandScape2, Configuration: Release Win32 ------

Deleting intermediate files and output files for project 'Demo_PagingLandScape2', configuration 'Release|Win32'.
Compiling...
PagingLandScape.cpp
Linking...
Generating code
Finished generating code
Performing Post-Build Event...
1 file(s) copied.

Build Time 0:05
Build log was saved at "file://g:\OgreSDK\ogreaddons\paginglandscape\Samples\PagingLandScape2\obj\Release\BuildLog.htm"
Demo_PagingLandScape2 - 0 error(s), 0 warning(s)


------ Rebuild All started: Project: Demo_PagingLandScape2, Configuration: Debug Win32 ------

Deleting intermediate files and output files for project 'Demo_PagingLandScape2', configuration 'Debug|Win32'.
Compiling...
PagingLandScape.cpp
Linking...
Performing Post-Build Event...
1 file(s) copied.

Build Time 0:05
Build log was saved at "file://g:\OgreSDK\ogreaddons\paginglandscape\Samples\PagingLandScape2\obj\Debug\BuildLog.htm"
Demo_PagingLandScape2 - 0 error(s), 0 warning(s)


------ Rebuild All started: Project: Tool_MapSplitter, Configuration: Release Win32 ------

Deleting intermediate files and output files for project 'Tool_MapSplitter', configuration 'Release|Win32'.
Compiling...
MapSplitter.cpp
MapMergeModulater.cpp
MapInfinitizer.cpp
MapEqualizer.cpp
\OgreSDK\ogreaddons\paginglandscape\Tools\MapSplitter\src\MapEqualizer.cpp(114) : error C2664: 'Ogre::ErodeFault::ErodeOneDirection' : cannot convert parameter 1 from 'Ogre::Real *__w64 ' to 'float *const '
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
\OgreSDK\ogreaddons\paginglandscape\Tools\MapSplitter\src\MapEqualizer.cpp(122) : error C2664: 'Ogre::ErodeFault::ErodeOneDirection' : cannot convert parameter 1 from 'Ogre::Real *__w64 ' to 'float *const '
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
\OgreSDK\ogreaddons\paginglandscape\Tools\MapSplitter\src\MapEqualizer.cpp(130) : error C2664: 'Ogre::ErodeFault::ErodeOneDirection' : cannot convert parameter 1 from 'Ogre::Real *__w64 ' to 'float *const '
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
\OgreSDK\ogreaddons\paginglandscape\Tools\MapSplitter\src\MapEqualizer.cpp(138) : error C2664: 'Ogre::ErodeFault::ErodeOneDirection' : cannot convert parameter 1 from 'Ogre::Real *__w64 ' to 'float *const '
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
\OgreSDK\ogreaddons\paginglandscape\Tools\MapSplitter\src\MapEqualizer.cpp(477) : error C2511: 'void Ogre::ErodeFault::MakeTerrainPlasma(Ogre::Real *const ,const Ogre::uint,const float,const Ogre::Real) const' : overloaded member function not found in 'Ogre::ErodeFault'
..\include\MapEqualizer.h(72) : see declaration of 'Ogre::ErodeFault'
\OgreSDK\ogreaddons\paginglandscape\Tools\MapSplitter\src\MapEqualizer.cpp(652) : error C2511: 'void Ogre::ErodeFault::MakeTerrainDeposition(Ogre::Real *const ,const Ogre::uint,const Ogre::uint,const Ogre::uint,const Ogre::uint,const Ogre::uint,const float,const Ogre::Real) const' : overloaded member function not found in 'Ogre::ErodeFault'
..\include\MapEqualizer.h(72) : see declaration of 'Ogre::ErodeFault'
MapBlurrer.cpp
MapBlender.cpp
filetutils.cpp
OgrePagingLandScapeData2D_Spline.cpp
\OgreSDK\ogreaddons\paginglandscape\PlugIns\PagingLandScape2\src\OgrePagingLandScapeData2D_Spline.cpp(111) : error C2664: 'CDRGNURBSSurface::Init' : cannot convert parameter 6 from 'Ogre::Real *' to 'float *'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
OgrePagingLandScapeData2D_HeightFieldTC.cpp
OgrePagingLandScapeData2D_HeightFieldRawTC.cpp
OgrePagingLandScapeData2D_HeightFieldRaw.cpp
OgrePagingLandScapeData2D_HeightField.cpp
DRGNURBSSurface.cpp
OgrePagingLandScapeData2DManager.cpp
OgrePagingLandScapeData2D.cpp
MapVis.cpp
MapSplatter.cpp
MapLighter.cpp
MapHorizon3.cpp
\OgreSDK\ogreaddons\paginglandscape\Tools\MapSplitter\src\MapHorizon3.cpp(255) : error C2780: 'const _Ty &std::min(const _Ty &,const _Ty &,_Pr)' : expects 3 arguments - 2 provided
F:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\xutility(1265) : see declaration of 'std::min'
\OgreSDK\ogreaddons\paginglandscape\Tools\MapSplitter\src\MapHorizon3.cpp(255) : error C2782: 'const _Ty &std::min(const _Ty &,const _Ty &)' : template parameter '_Ty' is ambiguous
F:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\xutility(1257) : see declaration of 'std::min'
could be 'Ogre::Real'
or 'float'
\OgreSDK\ogreaddons\paginglandscape\Tools\MapSplitter\src\MapHorizon3.cpp(296) : error C2780: 'const _Ty &std::min(const _Ty &,const _Ty &,_Pr)' : expects 3 arguments - 2 provided
F:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\xutility(1265) : see declaration of 'std::min'
\OgreSDK\ogreaddons\paginglandscape\Tools\MapSplitter\src\MapHorizon3.cpp(296) : error C2782: 'const _Ty &std::min(const _Ty &,const _Ty &)' : template parameter '_Ty' is ambiguous
F:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\xutility(1257) : see declaration of 'std::min'
could be 'Ogre::Real'
or 'float'
MapHorizon2.cpp
\OgreSDK\ogreaddons\paginglandscape\Tools\MapSplitter\src\MapHorizon2.cpp(175) : error C2556: 'Ogre::Real Ogre::MapHorizon2::height_wrap(int,int)' : overloaded function differs only by return type from 'float Ogre::MapHorizon2::height_wrap(int,int)'
..\include\MapHorizon2.h(66) : see declaration of 'Ogre::MapHorizon2::height_wrap'
\OgreSDK\ogreaddons\paginglandscape\Tools\MapSplitter\src\MapHorizon2.cpp(175) : error C2371: 'Ogre::MapHorizon2::height_wrap' : redefinition; different basic types
..\include\MapHorizon2.h(66) : see declaration of 'Ogre::MapHorizon2::height_wrap'
\OgreSDK\ogreaddons\paginglandscape\Tools\MapSplitter\src\MapHorizon2.cpp(193) : error C2511: 'void Ogre::MapHorizon2::calcHorizon3DMap(Ogre::Real,Ogre::uint,Ogre::Real)' : overloaded member function not found in 'Ogre::MapHorizon2'
..\include\MapHorizon2.h(44) : see declaration of 'Ogre::MapHorizon2'
Compiling...
MapHorizon.cpp
\OgreSDK\ogreaddons\paginglandscape\Tools\MapSplitter\src\MapHorizon.cpp(231) : error C2440: '=' : cannot convert from 'Ogre::Real *' to 'float *'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
\OgreSDK\ogreaddons\paginglandscape\Tools\MapSplitter\src\MapHorizon.cpp(232) : error C2440: 'initializing' : cannot convert from 'float *' to 'Ogre::Real *'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
MapNormaler.cpp
OgrePagingLandScapeOptions.cpp
\OgreSDK\ogreaddons\paginglandscape\PlugIns\PagingLandScape2\src\OgrePagingLandScapeOptions.cpp(1288) : error C2664: 'Ogre::PagingLandScapeOptions::setReal' : cannot convert parameter 1 from 'float' to 'Ogre::Real &'
A reference that is not to 'const' cannot be bound to a non-lvalue
\OgreSDK\ogreaddons\paginglandscape\PlugIns\PagingLandScape2\src\OgrePagingLandScapeOptions.cpp(1289) : error C2664: 'Ogre::PagingLandScapeOptions::setReal' : cannot convert parameter 1 from 'float' to 'Ogre::Real &'
A reference that is not to 'const' cannot be bound to a non-lvalue
\OgreSDK\ogreaddons\paginglandscape\PlugIns\PagingLandScape2\src\OgrePagingLandScapeOptions.cpp(1290) : error C2664: 'Ogre::PagingLandScapeOptions::setReal' : cannot convert parameter 1 from 'float' to 'Ogre::Real &'
A reference that is not to 'const' cannot be bound to a non-lvalue
MapUtil.cpp
\OgreSDK\ogreaddons\paginglandscape\Tools\MapSplitter\src\MapUtil.cpp(172) : error C2780: 'const _Ty &std::max(const _Ty &,const _Ty &,_Pr)' : expects 3 arguments - 2 provided
F:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\xutility(1250) : see declaration of 'std::max'
\OgreSDK\ogreaddons\paginglandscape\Tools\MapSplitter\src\MapUtil.cpp(172) : error C2782: 'const _Ty &std::max(const _Ty &,const _Ty &)' : template parameter '_Ty' is ambiguous
F:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\xutility(1242) : see declaration of 'std::max'
could be 'Ogre::Real'
or 'float'
MapTool.cpp

Build Time 0:40
Build log was saved at "file://g:\OgreSDK\ogreaddons\paginglandscape\Tools\MapSplitter\obj\Release\BuildLog.htm"
Tool_MapSplitter - 21 error(s), 0 warning(s)


------ Rebuild All started: Project: Tool_MapSplitter, Configuration: Debug Win32 ------

Deleting intermediate files and output files for project 'Tool_MapSplitter', configuration 'Debug|Win32'.
Compiling...
MapSplitter.cpp
MapMergeModulater.cpp
MapInfinitizer.cpp
MapEqualizer.cpp
\OgreSDK\ogreaddons\paginglandscape\Tools\MapSplitter\src\MapEqualizer.cpp(114) : error C2664: 'Ogre::ErodeFault::ErodeOneDirection' : cannot convert parameter 1 from 'Ogre::Real *__w64 ' to 'float *const '
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
\OgreSDK\ogreaddons\paginglandscape\Tools\MapSplitter\src\MapEqualizer.cpp(122) : error C2664: 'Ogre::ErodeFault::ErodeOneDirection' : cannot convert parameter 1 from 'Ogre::Real *__w64 ' to 'float *const '
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
\OgreSDK\ogreaddons\paginglandscape\Tools\MapSplitter\src\MapEqualizer.cpp(130) : error C2664: 'Ogre::ErodeFault::ErodeOneDirection' : cannot convert parameter 1 from 'Ogre::Real *__w64 ' to 'float *const '
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
\OgreSDK\ogreaddons\paginglandscape\Tools\MapSplitter\src\MapEqualizer.cpp(138) : error C2664: 'Ogre::ErodeFault::ErodeOneDirection' : cannot convert parameter 1 from 'Ogre::Real *__w64 ' to 'float *const '
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
\OgreSDK\ogreaddons\paginglandscape\Tools\MapSplitter\src\MapEqualizer.cpp(477) : error C2511: 'void Ogre::ErodeFault::MakeTerrainPlasma(Ogre::Real *const ,const Ogre::uint,const float,const Ogre::Real) const' : overloaded member function not found in 'Ogre::ErodeFault'
..\include\MapEqualizer.h(72) : see declaration of 'Ogre::ErodeFault'
\OgreSDK\ogreaddons\paginglandscape\Tools\MapSplitter\src\MapEqualizer.cpp(652) : error C2511: 'void Ogre::ErodeFault::MakeTerrainDeposition(Ogre::Real *const ,const Ogre::uint,const Ogre::uint,const Ogre::uint,const Ogre::uint,const Ogre::uint,const float,const Ogre::Real) const' : overloaded member function not found in 'Ogre::ErodeFault'
..\include\MapEqualizer.h(72) : see declaration of 'Ogre::ErodeFault'
MapBlurrer.cpp
MapBlender.cpp
filetutils.cpp
OgrePagingLandScapeData2D_Spline.cpp
\OgreSDK\ogreaddons\paginglandscape\PlugIns\PagingLandScape2\src\OgrePagingLandScapeData2D_Spline.cpp(111) : error C2664: 'CDRGNURBSSurface::Init' : cannot convert parameter 6 from 'Ogre::Real *' to 'float *'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
OgrePagingLandScapeData2D_HeightFieldTC.cpp
OgrePagingLandScapeData2D_HeightFieldRawTC.cpp
OgrePagingLandScapeData2D_HeightFieldRaw.cpp
OgrePagingLandScapeData2D_HeightField.cpp
DRGNURBSSurface.cpp
OgrePagingLandScapeData2DManager.cpp
OgrePagingLandScapeData2D.cpp
MapVis.cpp
MapSplatter.cpp
MapLighter.cpp
MapHorizon3.cpp
\OgreSDK\ogreaddons\paginglandscape\Tools\MapSplitter\src\MapHorizon3.cpp(255) : error C2780: 'const _Ty &std::min(const _Ty &,const _Ty &,_Pr)' : expects 3 arguments - 2 provided
F:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\xutility(1265) : see declaration of 'std::min'
\OgreSDK\ogreaddons\paginglandscape\Tools\MapSplitter\src\MapHorizon3.cpp(255) : error C2782: 'const _Ty &std::min(const _Ty &,const _Ty &)' : template parameter '_Ty' is ambiguous
F:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\xutility(1257) : see declaration of 'std::min'
could be 'Ogre::Real'
or 'float'
\OgreSDK\ogreaddons\paginglandscape\Tools\MapSplitter\src\MapHorizon3.cpp(296) : error C2780: 'const _Ty &std::min(const _Ty &,const _Ty &,_Pr)' : expects 3 arguments - 2 provided
F:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\xutility(1265) : see declaration of 'std::min'
\OgreSDK\ogreaddons\paginglandscape\Tools\MapSplitter\src\MapHorizon3.cpp(296) : error C2782: 'const _Ty &std::min(const _Ty &,const _Ty &)' : template parameter '_Ty' is ambiguous
F:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\xutility(1257) : see declaration of 'std::min'
could be 'Ogre::Real'
or 'float'
MapHorizon2.cpp
\OgreSDK\ogreaddons\paginglandscape\Tools\MapSplitter\src\MapHorizon2.cpp(175) : error C2556: 'Ogre::Real Ogre::MapHorizon2::height_wrap(int,int)' : overloaded function differs only by return type from 'float Ogre::MapHorizon2::height_wrap(int,int)'
..\include\MapHorizon2.h(66) : see declaration of 'Ogre::MapHorizon2::height_wrap'
\OgreSDK\ogreaddons\paginglandscape\Tools\MapSplitter\src\MapHorizon2.cpp(175) : error C2371: 'Ogre::MapHorizon2::height_wrap' : redefinition; different basic types
..\include\MapHorizon2.h(66) : see declaration of 'Ogre::MapHorizon2::height_wrap'
\OgreSDK\ogreaddons\paginglandscape\Tools\MapSplitter\src\MapHorizon2.cpp(193) : error C2511: 'void Ogre::MapHorizon2::calcHorizon3DMap(Ogre::Real,Ogre::uint,Ogre::Real)' : overloaded member function not found in 'Ogre::MapHorizon2'
..\include\MapHorizon2.h(44) : see declaration of 'Ogre::MapHorizon2'
Generating Code...
Compiling...
MapHorizon.cpp
\OgreSDK\ogreaddons\paginglandscape\Tools\MapSplitter\src\MapHorizon.cpp(231) : error C2440: '=' : cannot convert from 'Ogre::Real *' to 'float *'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
\OgreSDK\ogreaddons\paginglandscape\Tools\MapSplitter\src\MapHorizon.cpp(232) : error C2440: 'initializing' : cannot convert from 'float *' to 'Ogre::Real *'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
MapNormaler.cpp
OgrePagingLandScapeOptions.cpp
\OgreSDK\ogreaddons\paginglandscape\PlugIns\PagingLandScape2\src\OgrePagingLandScapeOptions.cpp(1288) : error C2664: 'Ogre::PagingLandScapeOptions::setReal' : cannot convert parameter 1 from 'float' to 'Ogre::Real &'
A reference that is not to 'const' cannot be bound to a non-lvalue
\OgreSDK\ogreaddons\paginglandscape\PlugIns\PagingLandScape2\src\OgrePagingLandScapeOptions.cpp(1289) : error C2664: 'Ogre::PagingLandScapeOptions::setReal' : cannot convert parameter 1 from 'float' to 'Ogre::Real &'
A reference that is not to 'const' cannot be bound to a non-lvalue
\OgreSDK\ogreaddons\paginglandscape\PlugIns\PagingLandScape2\src\OgrePagingLandScapeOptions.cpp(1290) : error C2664: 'Ogre::PagingLandScapeOptions::setReal' : cannot convert parameter 1 from 'float' to 'Ogre::Real &'
A reference that is not to 'const' cannot be bound to a non-lvalue
MapUtil.cpp
\OgreSDK\ogreaddons\paginglandscape\Tools\MapSplitter\src\MapUtil.cpp(172) : error C2780: 'const _Ty &std::max(const _Ty &,const _Ty &,_Pr)' : expects 3 arguments - 2 provided
F:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\xutility(1250) : see declaration of 'std::max'
\OgreSDK\ogreaddons\paginglandscape\Tools\MapSplitter\src\MapUtil.cpp(172) : error C2782: 'const _Ty &std::max(const _Ty &,const _Ty &)' : template parameter '_Ty' is ambiguous
F:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\xutility(1242) : see declaration of 'std::max'
could be 'Ogre::Real'
or 'float'
MapTool.cpp
Generating Code...

Build Time 0:51
Build log was saved at "file://g:\OgreSDK\ogreaddons\paginglandscape\Tools\MapSplitter\obj\Debug\BuildLog.htm"
Tool_MapSplitter - 21 error(s), 0 warning(s)


---------------------- Done ----------------------

Rebuild All: 2 succeeded, 4 failed, 0 skipped


And yes, I delete the original files before an update from cvs.

maxwave

25-04-2006 16:56:58

Anybody know, how to solve my problem???

tuan kuranes

26-04-2006 08:46:26

please post in your own thread to get/set max visibility of each error.

@maxwave : redownload plsm2 to get latest source (without trebuchet reference). About project error check in projects setting, postbuild tab which command doesn't work.

@OvermindDL1: Are you compiling it with DOUBLE ? If so you just have to add some casting where error showed you. Then send a patch for plsm2 cvs codebase...

OvermindDL1

26-04-2006 18:00:44

Yea, I deduced that, a few other Ogre 3rd' parties have the same issue. I was taught to basically not 'know' what Ogre::Real should be, and always cast whenever I use it with any other type anywhere. If I have time (I compiled as double for testing earlier, I can recompile as it later) I will go through and have it compile clean. Casting the pointers will probably involve temporaries though...

maxwave

29-04-2006 08:07:39

2 tuan kuranes

I install new VC8.0 and error with compile is not exist. But error with font Thebuchet is shownig! I download latest (21 april) version of PLSM2.
I have RC2 for VC8.0

maxwave

29-04-2006 08:38:04

Thats OK! Please fix fonts in PLSM2 overlays.

tuan kuranes

29-04-2006 17:28:59

@maxwave : just redownloaded plsm2 source zip and OgreSDK_PLSM2_source.zip\media\paginglandscape2\overlays\, all overlays use bluehighway... which overlay files are causing trouble over there ?