EagleEye
23-09-2005 16:37:23
I'm having an interesting time getting PLSM2 to work with OgreDotNet.
I'm using the Precompiled dlls, and I believe I know what the problem is, but I'm not sure what the solution may be.
OgreDotNet uses the OgreSDK version 1.0.4, but the PLSM2 plugin precompiled DLLs come with an ogremain.dll that is outdated by at least 5 or 6 months.
I could probably compile my own PLSM.dll, but that would require me getting the most current source of Ogre and PLSM to compile them. I'm afraid the most recent version would not work with OgreDotNet either.
It's a case of the PLSM plugin either being too early a version, or too late a version.
Anyone have any proposed solutions to this?
tuan kuranes
23-09-2005 16:41:43
EagleEye
23-09-2005 16:43:10
Oy, so this is a precompiled DLL for use with the Ogre 1.0.4 SDK?
Edit: Ohhh, I see, it has a copy of the 1.0.4 source with it, so I can compile the PLSM dll... very nice.
EagleEye
23-09-2005 17:22:37
I'm very confused.
There's no Ogre stuff in the zip, just a directory structure with CVS folders.
Do I need to do a CVS update here?
EagleEye
23-09-2005 17:31:51
Bah, I need to set up the PLSM project with the include path to the SDK includes and lib folder, right?
The Ogre SDK sets up an environment variable for that purpose, so you can distribute your projects and have them point to $(OGRE_HOME)\include and %(OGRE_HOME)\lib, and no matter where the SDK is installed on the user's system, the right folders will be referenced.
tuan kuranes
23-09-2005 17:35:12
It's the plsm2 source files tree, that does compile with ogre 1.0.4 SDK.
You have to compile it to get the plugin dll.
Media folders contains the files needed to run the demo.
Tools folder contains the mapsplitter source (toiols to make heightmaps in page)
etc..
You may have to change the projects properties according to your SDK installation.
btw you can read the plsm2 wiki page :
http://www.ogre3d.org/wiki/index.php/Pa ... stallation
EagleEye
23-09-2005 17:36:25
Thanks. I'm fully aware of the Wiki page. The installation part doesn't really help much.
I got it compiling right now.
tuan kuranes
23-09-2005 17:37:54
Good idea.
Could you send me a solution or/and updated projects files once you made it work ?
(I'm short of space to have both cvs and sdk right now.)
EagleEye
23-09-2005 18:07:40
Okay, the compile succeeded. I can now load the plugin without crashing ogremain.dll.
Let me work on this a bit... I had to use absolute paths to my Ogre SDK folders, rather than the ones with the environment variables. I'll work on getting it right later.
If you want, I can host a "PLSM for use with the Ogre 1.0.4 SDK" zip on my own domain.
EagleEye
23-09-2005 22:26:18
I'm having trouble, now, with compiling the mapsplitter.exe.
It can't find zzlib/zzlib.h - no such file or directory.
That's from OgreZip.h
tuan kuranes
24-09-2005 10:48:15
it should be in the ogre dependency pack.
EagleEye
24-09-2005 17:48:50
it should be in the ogre dependency pack.
Ahh, good fun.
Got the pack, told the project where to find the .h and .lib files, and it all went smoothly.