Building OgreDotNet

Nachtwind

02-10-2005 11:07:53

Hi!

I've got a small question, in which library do i find the types or namespaces [WhatEver]delegate (MouseEvent......).

I ask because i cant compile via VC# and therefore cant load the projectfile.

Maleficus

02-10-2005 20:55:10

Hi!

I've got a small question, in which library do i find the types or namespaces [WhatEver]delegate (MouseEvent......).


I'm afraid you'll need to be a tad more specific :P .


I ask because i cant compile via VC# and therefore cant load the projectfile.


If you're using visual c# you won't be able to build OgreDotNet at all, because you also need a c++ compiler. Use the prebuilt binaries instead:

http://www.ogre3d.org/phpBB2addons/viewtopic.php?t=15

Nachtwind

03-10-2005 00:30:52

well, therefore i try to use a batchfile *g* And if i go into the process of building OgreNet (from CVS) i got messages concerning the missing of "types or namespaces" like MouseEventDelegate and others. Somehow they don't sound .NET like and therefore i think that they are in some libraries from Ogre or OgreDotNet supplying DLLs.

To be somehow even MORE specific: I download Ogre and OgreNet from CVS, try to compile both and try to pack them into ZIP files to make them available for the community. Unfortunately I only got Math3d.dll and SWIG (OgreNet) to work yet (I didnt Download Ogre yet, due to the fact that i tried the other things to work first)

Maleficus

03-10-2005 00:39:01

well, therefore i try to use a batchfile *g* And if i go into the process of building OgreNet (from CVS) i got messages concerning the missing of "types or namespaces" like MouseEventDelegate and others. Somehow they don't sound .NET like and therefore i think that they are in some libraries from Ogre or OgreDotNet supplying DLLs.

MouseEventDelegate is in the OgreDotNet namespace, the physical location of the source file is /ogredotnet/ogrenet/custom/MouseEvent.cs

MouseEventDelegate, is just well, a delegate :) . Nothing un-.NET about that :)

To be somehow even MORE specific: I download Ogre and OgreNet from CVS, try to compile both and try to pack them into ZIP files to make them available for the community. Unfortunately I only got Math3d.dll and SWIG (OgreNet) to work yet (I didnt Download Ogre yet, due to the fact that i tried the other things to work first)

It sounds like you're going about it very incorrectly. You need to have Ogre installed before you build OgreDotNet, as swig needs to look at Ogre's headers. Please refer to EagleEye's excellent wiki page:

http://www.ogre3d.org/wiki/index.php/OgreDotNet

PS: why do you find it necessary to "make them available to the community"? Anyone can obtain the source from cvs, or use the prebuilt binaries I've provided.

Nachtwind

03-10-2005 00:47:57

well, of couse i do have ogre available on my pc, but not as a cvs compiled version (but an older stable).

This "available for the community" is only the second thought about it.
I think of it as a - hmm - dont know how to say in english, but something i give back to the community if i cant help in other ways with the source or something. This code is good and therefore i need to 'pay' something if i going to use it...
And well, some friends of mine are going to use OgreNet for a project and are going to need this files as well so therefore i began all this ;)