[solved]Need Plugin_PagingLandScapeSceneManager2.lib file

Druha

03-11-2005 14:38:00

I tried to compile demo - it needs Plugin_PagingLandScapeSceneManager2.lib. Than I tried to compile plsm2, but get about 800 errors!

Can anybody give me this .lib or say how can I get it myself?

tuan kuranes

03-11-2005 14:41:25

You should read wiki page http://www.ogre3d.org/wiki/index.php/Pa ... ne_Manager about getting source, binary or even how to compile.

Jon

03-11-2005 20:04:05

I've ran both the precompiled demo, and built the plugin from scratch. So I'll add a few comments.

The binary demo may be extracted into its own folder and ran as-is. You'll need to download map data (from the same page as the binary files) and place it in the datasrcs folder, and then run mapsplitter.exe. I don't recall needing to do anything else to get the demo to run.

Compiling the plugin wasn't all that bad. It would help to know what errors you are getting, and where you obtained the source. I used the source which is compatible with 1.0.5 (that is, I did NOT use the CVS code). The biggest problem I ran into was setting paths for the include/library directories and copying the .exes/.dlls into a target directory. This obviously depends on where you unpacked the source, and have the rest of Ogre installed.

If you don't need to build the plugin and just want to play around with it, I strongly suggest getting the binary version. Note that this is built for Dagon (v1.1) and not Azathoth (v1.0.5).

Druha

05-11-2005 08:57:03

I have found my mistakes.
Because I use Azathoth, not Dagon, and can't find it in cvs I need to build it.
In files of OctreeSceneManager there are many errors, that I can't correct myself. There is build log:Compiling...
OgreOctreeCamera.cpp
C:\ogre\paginglandscape\paginglandscape\PlugIns\PagingLandScape2\src\OgreOctreeCamera.cpp(60) : error C2065: 'updateFrustumPlanes' : undeclared identifier
OgreOctreeSceneManager.cpp
OgreOctreeSceneQuery.cpp
C:\ogre\paginglandscape\paginglandscape\PlugIns\PagingLandScape2\src\OgreOctreeSceneQuery.cpp(46) : warning C4273: 'OctreeIntersectionSceneQuery::OctreeIntersectionSceneQuery' : inconsistent dll linkage. dllexport assumed.
C:\ogre\paginglandscape\paginglandscape\PlugIns\PagingLandScape2\src\OgreOctreeSceneQuery.cpp(52) : warning C4273: 'OctreeIntersectionSceneQuery::~OctreeIntersectionSceneQuery' : inconsistent dll linkage. dllexport assumed.
C:\ogre\paginglandscape\paginglandscape\PlugIns\PagingLandScape2\src\OgreOctreeSceneQuery.cpp(55) : warning C4273: 'execute' : inconsistent dll linkage. dllexport assumed.
C:\ogre\paginglandscape\paginglandscape\PlugIns\PagingLandScape2\src\OgreOctreeSceneQuery.cpp(63) : error C2039: 'MovableObjectFactoryIterator' : is not a member of 'Root'
..\include\OgreRoot.h(61) : see declaration of 'Root'
C:\ogre\paginglandscape\paginglandscape\PlugIns\PagingLandScape2\src\OgreOctreeSceneQuery.cpp(63) : error C2065: 'MovableObjectFactoryIterator' : undeclared identifier
C:\ogre\paginglandscape\paginglandscape\PlugIns\PagingLandScape2\src\OgreOctreeSceneQuery.cpp(63) : error C2146: syntax error : missing ';' before identifier 'factIt'
C:\ogre\paginglandscape\paginglandscape\PlugIns\PagingLandScape2\src\OgreOctreeSceneQuery.cpp(63) : error C2065: 'factIt' : undeclared identifier
C:\ogre\paginglandscape\paginglandscape\PlugIns\PagingLandScape2\src\OgreOctreeSceneQuery.cpp(64) : error C2039: 'getMovableObjectFactoryIterator' : is not a member of 'Root'
..\include\OgreRoot.h(61) : see declaration of 'Root'
C:\ogre\paginglandscape\paginglandscape\PlugIns\PagingLandScape2\src\OgreOctreeSceneQuery.cpp(65) : error C2228: left of '.hasMoreElements' must have class/struct/union type
C:\ogre\paginglandscape\paginglandscape\PlugIns\PagingLandScape2\src\OgreOctreeSceneQuery.cpp(65) : fatal error C1903: unable to recover from previous error(s); stopping compilation
OgrePagingLandscapeListener.cpp
fatal error C1083: Cannot open source file: 'C:\ogre\paginglandscape\paginglandscape\PlugIns\PagingLandScape2\src\OgrePagingLandscapeListener.cpp': No such file or directory
OgrePagingLandScapeOptions.cpp
C:\ogre\paginglandscape\paginglandscape\PlugIns\PagingLandScape2\src\OgrePagingLandScapeOptions.cpp(66) : error C2374: 'i' : redefinition; multiple initialization
C:\ogre\paginglandscape\paginglandscape\PlugIns\PagingLandScape2\src\OgrePagingLandScapeOptions.cpp(62) : see declaration of 'i'
Generating Code...
Error executing cl.exe.

Plugin_PagingLandScapeSceneManager2.dll - 10 error(s), 3 warning(s)
The following environment variables were not found
$(ConfigurationName)

tuan kuranes

05-11-2005 10:00:20

There shouldn't be an OgreOctreeCamera.cpp but only an OgrePagingLandScapeOctreeCamera.cpp.

Druha

05-11-2005 10:48:36

If I delete OgreOctreeCamera.cpp , appears an error - "can't find file!"
Is it normal to compile plsm without needed (as I think) file or I can ignore this error?

*added*
I deleted octree files from project, compiles good.
But appears unresolved externals. What to do?

tuan kuranes

05-11-2005 11:55:52

is this cvs or ogreplsm2sdksource.7z ?

Druha

05-11-2005 12:06:41

I am sure this isn't ogrepls2sdksource.7z.
Looks like this is cvs
(I am not sure cause,I downloaded it from tuan.kuranes.free.fr)

tuan kuranes

05-11-2005 14:13:18

OgreSDKplsm2source.7z is from tuan.kuranes.free.fr, and there's no OgreOctreeCamera.cpp in it. (this file is in Ogre OctreeScenemanager)

Druha

05-11-2005 14:17:52

I downloaded this file( OgreOctreeCamera ) from CVS. I thought, plsm need it, but it works without Octree.

Now I need to link plsm correctly, but I have unresolved externals in it
Need Help!!!

tuan kuranes

07-11-2005 13:06:11

what compiler ?

if VC6, you have to update dsp files.
Open vcproj files using notepad, and check file in projects, that should be in dsp.

once you synchronized list it should work.
then sends us modified dsp so that we can distrubutes them, helping next vc6 users.

Druha

07-11-2005 17:57:39

Thanks !!!!!!!!!
Where should I send modified .dsp?

tuan kuranes

07-11-2005 18:09:09

tuan.kuranes@free.fr

thanks