Problems inside the dll hell

Bahamut

06-03-2006 15:35:29

i've some problems getting ogredotnet to run. i downloaded ogresdk 1.0.6 and ogredotnet (i needed already 1 day for that). today i made it to compile the 4 dlls (ceguidotnet.dll, math3d.dll, ogredotnet.cegui.dll and ogredotnet.dll). i hope this 4 are the only ones i have to compile.
after that i wanted to try all that stuff by compiling the particle example. so i added the references of the dlls. the result of that is this exception:

An unhandled exception of type 'System.DllNotFoundException' occurred in ogredotnet.dll

Additional information: Unable to load DLL (OgreBindings).

i searched in the forum and i found some things about missing ogrebindings.dll and something about a ogrenet.dll and i read thru the wiki instructions about 10 times but all of that couldn't help me.

the_cX

06-03-2006 17:04:11

did you pick up the OgreBindings.dll?

rastaman said that its suppose to copy it to the same folder where you fuond the others, but it doesnt for me. i found the dll in:

ogreaddons\ogredotnet\OgreNet\Debug\OgreBindings.dll

not saying that will fix your problem, but having that dll is a necessary condition to get it working ay...

Bahamut

07-03-2006 08:12:01

exactly that is my problem. there is no ogrebindings.dll on my harddrive, nowhere.
but there exists a project called gangstanet that trows an error when i want to compile it. may that have anything to do with that?

----
first edit:

got the ogrebindings dll. but now i got a problem with the demo i want to test this stuff with. i get an visual c++ runtime error in one of the libraries.
text:
This application has requested the Runtime to terminate it in an unusual way. Please contact the application's support team for more information.

----
second edit:

it's running. after studying the ogre.log file in the debug directory i found out that it was looking for some zip archives and other files in c:\OgreSDK\media\ (i installed it on drive d:)
then he was looking for a directory in ..\..\Samples\Media
i found it in the ogredotnet directory.
after copying all these files to the right places everything works fine.

i'd suggest that the wiki instruction of building and using ogredotnet should be written for dummies. :D