PagingLandscapeplugin2 & azatoth(VERY LONG ERROR LIST)

A place for users of OGRE to discuss ideas and experiences of utilitising OGRE in their games / demos / applications.
Post Reply
BlooDragoN
Kobold
Posts: 37
Joined: Wed Dec 22, 2004 7:57 pm

PagingLandscapeplugin2 & azatoth(VERY LONG ERROR LIST)

Post by BlooDragoN » Fri Feb 11, 2005 7:59 pm

I've problem compiling(better linking) PLV2 plugin with azatoth...I use VC6 SP6 here my Build result:
RELEASE

Code: Select all

//Release as active config
--------------------Configuration: Plugin_PagingLandScapeSceneManager2 - Win32 Release--------------------
Compiling...
DRGNURBSSurface.cpp
OgrePagingLandScapeCamera.cpp
OgrePagingLandScapeData2D.cpp
OgrePagingLandScapeData2D_HeightField.cpp
OgrePagingLandScapeData2D_HeightFieldN.cpp
OgrePagingLandScapeData2D_HeightFieldNTC.cpp
OgrePagingLandScapeData2D_HeightFieldRaw.cpp
OgrePagingLandScapeData2D_HeightFieldRawTC.cpp
OgrePagingLandScapeData2D_HeightFieldTC.cpp
OgrePagingLandScapeData2D_Spline.cpp
OgrePagingLandScapeData2DManager.cpp
OgrePagingLandScapeIndexBuffer.cpp
OgrePagingLandScapeIntersectionSceneQuery.cpp
OgrePagingLandScapeListener.cpp
C:\Documents and Settings\DrinkeR SouL\Desktop\TOX\ogre-win32-v1-0-0RC1\ogrenew\PlugIns\PagingLandScape2\src\OgrePagingLandScapeListener.cpp(31) : warning C4273: 'getSingletonPtr' : inconsistent dll linkage.  dllexport assumed.
C:\Documents and Settings\DrinkeR SouL\Desktop\TOX\ogre-win32-v1-0-0RC1\ogrenew\PlugIns\PagingLandScape2\src\OgrePagingLandScapeListener.cpp(35) : warning C4273: 'getSingleton' : inconsistent dll linkage.  dllexport assumed.
C:\Documents and Settings\DrinkeR SouL\Desktop\TOX\ogre-win32-v1-0-0RC1\ogrenew\PlugIns\PagingLandScape2\src\OgrePagingLandScapeListener.cpp(40) : warning C4273: 'addListener' : inconsistent dll linkage.  dllexport assumed.
C:\Documents and Settings\DrinkeR SouL\Desktop\TOX\ogre-win32-v1-0-0RC1\ogrenew\PlugIns\PagingLandScape2\src\OgrePagingLandScapeListener.cpp(45) : warning C4273: 'removeListener' : inconsistent dll linkage.  dllexport assumed.
C:\Documents and Settings\DrinkeR SouL\Desktop\TOX\ogre-win32-v1-0-0RC1\ogrenew\PlugIns\PagingLandScape2\src\OgrePagingLandScapeListener.cpp(59) : warning C4273: 'firePagePreloaded' : inconsistent dll linkage.  dllexport assumed.
C:\Documents and Settings\DrinkeR SouL\Desktop\TOX\ogre-win32-v1-0-0RC1\ogrenew\PlugIns\PagingLandScape2\src\OgrePagingLandScapeListener.cpp(70) : warning C4273: 'firePageLoaded' : inconsistent dll linkage.  dllexport assumed.
C:\Documents and Settings\DrinkeR SouL\Desktop\TOX\ogre-win32-v1-0-0RC1\ogrenew\PlugIns\PagingLandScape2\src\OgrePagingLandScapeListener.cpp(81) : warning C4273: 'firePageUnloaded' : inconsistent dll linkage.  dllexport assumed.
C:\Documents and Settings\DrinkeR SouL\Desktop\TOX\ogre-win32-v1-0-0RC1\ogrenew\PlugIns\PagingLandScape2\src\OgrePagingLandScapeListener.cpp(92) : warning C4273: 'firePagePostunloaded' : inconsistent dll linkage.  dllexport assumed.
C:\Documents and Settings\DrinkeR SouL\Desktop\TOX\ogre-win32-v1-0-0RC1\ogrenew\PlugIns\PagingLandScape2\src\OgrePagingLandScapeListener.cpp(103) : warning C4273: 'firePageShow' : inconsistent dll linkage.  dllexport assumed.
C:\Documents and Settings\DrinkeR SouL\Desktop\TOX\ogre-win32-v1-0-0RC1\ogrenew\PlugIns\PagingLandScape2\src\OgrePagingLandScapeListener.cpp(114) : warning C4273: 'firePageHide' : inconsistent dll linkage.  dllexport assumed.
C:\Documents and Settings\DrinkeR SouL\Desktop\TOX\ogre-win32-v1-0-0RC1\ogrenew\PlugIns\PagingLandScape2\src\OgrePagingLandScapeListener.cpp(125) : warning C4273: 'fireTileLoaded' : inconsistent dll linkage.  dllexport assumed.
C:\Documents and Settings\DrinkeR SouL\Desktop\TOX\ogre-win32-v1-0-0RC1\ogrenew\PlugIns\PagingLandScape2\src\OgrePagingLandScapeListener.cpp(136) : warning C4273: 'fireTileUnloaded' : inconsistent dll linkage.  dllexport assumed.
C:\Documents and Settings\DrinkeR SouL\Desktop\TOX\ogre-win32-v1-0-0RC1\ogrenew\PlugIns\PagingLandScape2\src\OgrePagingLandScapeListener.cpp(147) : warning C4273: 'fireTileDeformed' : inconsistent dll linkage.  dllexport assumed.
C:\Documents and Settings\DrinkeR SouL\Desktop\TOX\ogre-win32-v1-0-0RC1\ogrenew\PlugIns\PagingLandScape2\src\OgrePagingLandScapeListener.cpp(158) : warning C4273: 'fireTileShow' : inconsistent dll linkage.  dllexport assumed.
C:\Documents and Settings\DrinkeR SouL\Desktop\TOX\ogre-win32-v1-0-0RC1\ogrenew\PlugIns\PagingLandScape2\src\OgrePagingLandScapeListener.cpp(169) : warning C4273: 'fireTileHide' : inconsistent dll linkage.  dllexport assumed.
C:\Documents and Settings\DrinkeR SouL\Desktop\TOX\ogre-win32-v1-0-0RC1\ogrenew\PlugIns\PagingLandScape2\src\OgrePagingLandScapeListener.cpp(179) : warning C4273: 'fireTerrainReady' : inconsistent dll linkage.  dllexport assumed.
OgrePagingLandScapeOptions.cpp
OgrePagingLandScapePage.cpp
OgrePagingLandScapePageManager.cpp
OgrePagingLandScapeRaySceneQuery.cpp
OgrePagingLandScapeRenderable.cpp
OgrePagingLandScapeRenderableManager.cpp
Generating Code...
Compiling...
OgrePagingLandScapeSceneManager.cpp
OgrePagingLandScapeSceneManagerDll.cpp
C:\Documents and Settings\DrinkeR SouL\Desktop\TOX\ogre-win32-v1-0-0RC1\ogrenew\PlugIns\PagingLandScape2\src\OgrePagingLandScapeSceneManagerDll.cpp(30) : error C2491: 'dllStartPlugin' : definition of dllimport function not allowed
C:\Documents and Settings\DrinkeR SouL\Desktop\TOX\ogre-win32-v1-0-0RC1\ogrenew\PlugIns\PagingLandScape2\src\OgrePagingLandScapeSceneManagerDll.cpp(39) : error C2491: 'dllStopPlugin' : definition of dllimport function not allowed
OgrePagingLandScapeTexture.cpp
OgrePagingLandScapeTexture_BaseTexture.cpp
OgrePagingLandScapeTexture_BaseTexture2.cpp
OgrePagingLandScapeTexture_Image.cpp
OgrePagingLandScapeTexture_InstantBaseTexture.cpp
OgrePagingLandScapeTexture_Splatting.cpp
OgrePagingLandScapeTexture_Splatting2.cpp
OgrePagingLandScapeTexture_Splatting3.cpp
OgrePagingLandScapeTexture_Splatting4.cpp
OgrePagingLandScapeTexture_Splatting5.cpp
OgrePagingLandScapeTexture_Splatting6.cpp
OgrePagingLandScapeTexture_Splatting7.cpp
OgrePagingLandScapeTextureManager.cpp
OgrePagingLandScapeTile.cpp
OgrePagingLandScapeTileManager.cpp
Generating Code...
Error executing cl.exe.

Plugin_PagingLandScapeSceneManager2.dll - 2 error(s), 16 warning(s)
Changing manually dllimport with dllexport in OgrePagingLandScapeSceneManagerDll.cpp gave me 10 errors (unresolved external symbol mainly)..

---------------------------------------------

in DEBUG the linker search for OgreMain.lib and not for OgreMain_d.lib but with both config(changing Linker setting in order to search OgreMain_d or moving OgreMain.lib in debug dir) don't work...

Any help or Trick??
0 x

User avatar
tuan kuranes
OGRE Retired Moderator
OGRE Retired Moderator
Posts: 2653
Joined: Wed Sep 24, 2003 8:07 am
Location: Haute Garonne, France
Contact:

Post by tuan kuranes » Fri Feb 11, 2005 9:06 pm

It looks likes "_OgrePagingLandScapeExport" was not defined.

check if "PLUGIN_PAGINGLANDSCAPE2_EXPORTS" is defined in vc6 projects preprocessor settings of plsm2.

if not define it in debug and release settings.

You should aslo add "fileutils.cpp" (it's in the src dir) in the project plsm2 sources.

Please mail me the dsp so that I can update cvs.
(I don't have vc6 here.)
0 x

Post Reply