Problems with MHydrax Wrapper Samples

CorPetit09

11-11-2009 08:17:25

Hi,
At first, sorry for my bad english. I have problems to run Managed Hydrax Wrapper Examples. I'm using 1.6.4 Ogre version, 1.4.8 Mogre version and 0.5 Hydrax and MHydrax version. I compile without errors but when I try execute Samples.exe, appears this error:

---------------------------
An exception has occured!
---------------------------
System.IO.FileNotFoundException: Doesn't find specified module. (Excepción de HRESULT: 0x8007007E)

in Samples.ProjectedGridDemo.Unload()

in Samples.ProjectedGridDemo.Dispose() in C:\Blup\MHydrax 0.5\Samples\ProjectedGridDemo.vb:line 139

in Samples.Program.Main() in C:\Blup\MHydrax 0.5\Samples\Program.vb:line 36
---------------------------
Ok
---------------------------

Thanks

GantZ

11-11-2009 12:39:18

I'm using 1.6.4 Ogre version, 1.4.8 Mogre version

i don't understand what you mean here, you use either Mogre 1.4.8 or 1.6.4. the error you get usually appear when Mogre can't find OgreMain.dll.

CorPetit09

13-11-2009 08:16:42

I have installed Mogre 1.4.8.

When I execute the application, appears Ogre Engine Rendering Setup windows, Then I press OK button and appears that error, so OgreMain.dll is found. This is Ogre.log http://pastebin.com/f5abdc28.
I think the problem is with Hydrax, because myDemo.Dispose is executed in Program.vb, line 36, in a Finally block:



Dim result As Boolean = root.ShowConfigDialog()

' If the user clicks OK, continue.
If (result) Then
Dim myDemo As New ProjectedGridDemo(root)
Try
myDemo.CreateScene() ' Create the scene.
myDemo.Run() ' Display the island.
Finally
myDemo.Dispose() ' Clean up.
End Try
End If


I'm using 1.6.4 Ogre version, 1.4.8 Mogre version and 0.5 Hydrax and MHydrax version

In the other post, I wrote this because Hydrax was compiled under Ogre 1.6.4.
All my problem is because I'm working in a project with Ogre and Hydrax using C++, but now, I have to integrate my app in a VB.Net Form, so I have to use Mogre for get this, but I can't execute MHydrax example.

Thanks and sorry for my bad english.

CorPetit09

13-11-2009 11:18:11

Hi,

Now I'm tried to compile Hydrax and MHydrax with Mogre 1.4.8, but appears the same error.

GantZ

13-11-2009 13:20:29

In the other post, I wrote this because Hydrax was compiled under Ogre 1.6.4.

keep in mind that hydrax must be compiled against Mogre (use the lib provided in the sdk) in order to work with MHydrax (and mogre). Also, Hydrax and MHydrax must use the same version of Mogre

alternatively, you could use Mogre 1.6.4 and the MHydrax dll here : viewtopic.php?f=8&t=9229&start=30#p64634 with this version, you don't need a Hydrax dll.

CorPetit09

16-11-2009 07:00:31

Thanks, I have solved the problem!