Where are the native DLLs?

Passenger

22-04-2006 21:25:13

omg I'm feeling very noobish today :/

I successfully compiled OgreDotNet on Linux, but I can't find the compiled c++ files
CeguiBindings.dll
OgreBindings.dll
OgreBindings_Cegui.dll

In Bin/Debug there only are
CeguiDotNet.dll
Math3D.dll
OgreDotNet.Cegui.dll
OgreDotNet.dll

Where did I go wrong?
I can't use the precompiled DLLs from EagleEye (http://www.ogre3d.org/phpBB2addons/viewtopic.php?t=907), can I?

EagleEye

22-04-2006 21:35:18

If you got the OgreDotNet.DLL and others like it, then you obviously ran SWIG on the .i files as you were supposed to. That creates the .cs files for compiling the DLLs you have...

It also creates a .cxx file in the same project. That .cxx file must be compiled as well... it will be named $(projectname)_wrap.cxx

The best thing to do is simply compile each of the *Bindings projects themselves... the dependancies should be set up to run swig on the .i file, which creates the .cxx, and then the .cxx file is compiled in to the bindings.dll.

Passenger

22-04-2006 21:37:14

me again ;)

I guess the right files in Linux are
libOgreBindings.so
libCeguiBindings.so
libOgreDotNetCeguiBindings.so

they are in /usr/local/lib.
I guess I have to copy them to the bin7debug folder of my dotNet Project?

pepote

22-04-2006 21:41:24

And the Ogre bindings in Ogrenew/bin

EagleEye

22-04-2006 21:43:59

me again ;)

I guess the right files in Linux are
libOgreBindings.so
libCeguiBindings.so
libOgreDotNetCeguiBindings.so

they are in /usr/local/lib.
I guess I have to copy them to the bin7debug folder of my dotNet Project?


If you found the bindings files that were built, then they were likely not copied properly to the right folder in the post-build event. *shrugs*... it happens.

I'm not sure how linux works... If I remember correctly, .so = .dll files, so sure, see if those work.

Passenger

22-04-2006 22:01:47

Thanks for posting :)

Of course it's the lib[foobar].so files :)