alphabeta
09-01-2006 23:49:50
Well, since it's been released in its finalized form, I figured I'd ask again if anyones had any luck with getting ogredotnet compiling/working? Last time I tried, I got nothing but errors similiar (maybe exactly the same, don't quite remember) as
http://www.ogre3d.org/phpBB2addons/viewtopic.php?t=130 this. They only solved the problem by installing vs2003 instead (which honestly doesn't sound like much of a solution).
Anyone?
nolver
13-01-2006 11:54:03
Here, we are currently using 1.1 compiled binaries within a 2.0 application. Works fine, so far.
Unlike Java (as far as I know) and other modern languages, .NET allow transparent compatability with previous binaries version. So you can still consume 1.0 and 1.1 compiled dlls from any 2.0 application without problems.
alphabeta
14-01-2006 00:19:28
are you using the ogredotnet binaries in 2.0? I know it SHOULDN'T cause any problems, but for whatever reason it is. There are two other threads with the same problem, without anyone giving any solutions.
I've tried a full recompile (including swigging) of the wrapper to a .net2.0 library too, with the same problem.
CyberMan
14-01-2006 16:04:23
I have some problem here. But I have obly MSVS 2005 and cannot compile ODN myself from CVS snapshot. Could someone please compile latest snapshot .NET 1.1 binaries and upload it somwhere? The precompiled binaries topic contain very outdated version of ODN (september 2005)...
alphabeta
23-01-2006 01:08:12
any luck with the new 1.1 binaries?
nolver
06-02-2006 13:11:55
alphabeta:
you were right, I'm finding some strange problems that maybe related to versioning (suddlenly a call to setskybox crashes OGRE). ¿which are the post talking about 1.1 - 2.0 usege problems? just can't find them.
I'm not able to use the latest compiled binaries post in the forum here (
http://www.ogre3d.org/phpBB2addons/viewtopic.php?t=326) as the give me runtime errors on all calls, maybe I'm using worng versions of bindings, or ogre binaries, or whatever. I'm really confused! :S
This are a few question a can't find answered anywhere in the forum: What is the actual stage of ODN? It's possible to use it against Ogre 1.0.6 binaries? It's possible, or will it be possible to compile ODN to 2.0 binaries?
I will keep developing in 2.0 against 1.1 and try to avoid any crashing call as far as is possible...
alphabeta
07-02-2006 03:36:10
rastaman
07-02-2006 22:49:27
ogredotnet builds and runs with mono's .Net 2.0
We need somone with VS 8 and knows .Net 2.0 to help find the problem.
makeshiftwings
14-02-2006 10:50:24
I just got VS.NET 2005 today, and it builds and runs fine for me. For those who are using the Ogre prebuilt SDK, make sure you get the VS 2005 one, not the VS 2003 one. That is what was causing the "can't find OgreBindings.dll" for me.
alberts
14-02-2006 20:28:39
ODN also compiles and runs with the EXPRESS edition of VS.NET 2005. You have to "swig" and build the bindings dlls with the C++ version of the ide and then compile ODN with the C# version. There is only a minor problem with the file Line3d.h, that you have to convert from mac to windows or unix codification.
makeshiftwings
14-02-2006 20:40:48
ogredotnet builds and runs with mono's .Net 2.0
We need somone with VS 8 and knows .Net 2.0 to help find the problem.
I would be willing to look into this if someone can tell me the steps they took to get the error, but as I said, it seems to work fine for me. I did take the "ultra-paranoid" route though after changing from VS 2003 to VS 2005:
- Uninstalled and reinstalled the OgreSDK using the 1.0.6 VS 2005 version.
- Deleted and redownloaded the latest ogredotnet from CVS.
- Rebuilt the .cs's with SWIG in VS 2005 (as in the walkthrough), closed VS and re-opened after it was done.
- Built the whole solution, copied the OgreSDK DLL's into ogredotnet/Bin, fixed up my resources.cfg to point to the right places, and debugged the samples from the ogredotnet/bin folder.
alphabeta
15-02-2006 02:17:34
would you mind posting the files you built? it could at least help determine the problem, and if they work for everyone than the problem is irrelevant to most of us anyway
makeshiftwings
15-02-2006 20:13:34
would you mind posting the files you built? it could at least help determine the problem, and if they work for everyone than the problem is irrelevant to most of us anyway
Sure, here is what it built:
http://home.comcast.net/~tcarroll777/OgreDotNet.rar
I actually encountered the error in the linked post ("Unable to load DLL 'OgreBindings'") in VS 2003, when I had accidentally installed the Ogre VS 2005 SDK and tried to compile and run OgreDotNet. After removing that VS 2005 Ogre SDK and replacing it with the VS 2003 SDK, it worked fine. That's why I think it's possible that replacing the Ogre SDK with the VS 2005 one if building in VS 2005 might help. I'm not entirely sure why it would, perhaps the debug information built into the DLL's has changed between VS versions, or maybe the headers in the two SDK versions are slightly different.
c.y.p.h.e.r
04-03-2006 20:55:54
i Just downloaded the zip file u posted, when i try to run any of the examples, i still get the same exception like i get from the ones i compiled.