Hi again,
I managed to compile a working Release version of MHydrax (now with Hydrax v0.5.1, but I didn't update all the version texts) against Mogre 1.7.1.
Unfortunately I couldn't compile Hydrax in Debug mode and stopped trying after a while. The references all got mixed up and I got frustrated.
Anyway, here's how I compiled the Release version:
First thing to do is to get Hydrax compiled in C++. You've got to adjust some lines as listed here:
viewtopic.php?f=20&t=11089
Then I switched off OGRE_USE_BOOST (to 0) in OgreBuildSettings.h because I don't have Boost and didn't want to bother.
One very important thing I stumbled upon is setting ALL projects to compile against x86 (or win32). Until then I always got a BadImageFormatException.
The other strange thing was, that the Samples project now needs the Hydrax.dll to run, otherwise it'll fail with a FileNotFoundException. I didn't have that issue last time...
Like I said, I'm not a C++ guy, so I might have set a lot of wrong compiler variables in my C++/CLI projects.
Here's the working version. You need the Media-folder from the original Hydrax and the following Release (!) files from the Mogre 1.7.1 SDK to run it:
Mogre.dll, OgreMain.dll, MOIS.dll, cg.dll, Plugin_CgProgramManager.dll, Plugin_OctreeSceneManager.dll, RenderSystemDirect3D9.dll, RenderSystem_GL.dll
This is due to the maximum upload size of 256KB.
[attachment=0]MHydrax 0.5.1 Release Sample.zip[/attachment]
I also added the current source code for MHydrax 0.5.1. I didn't really change the actual source code, I only updated all the references and compiler settings.
[attachment=1]MHydrax 0.5.1 source.zip[/attachment]
There's still one problem you'll see in the Sample which makes it unusable at the moment: scene flickering when moving the camera; sometimes the scene is alright, sometimes it's corrupted.
I guess it's only a minor camera issue (maybe only in the Sample code) which could be fixed by someone with experience. I don't remember having this issue with Mogre 1.4.x
I hope this helps and it'll be a new starting point, either to fix it or create a new wrapper for Hydrax.
Cheers,
raygeee