Google

OgreDotNet Revival

Discussion regarding OgreDotNet, located in CVS at ogreaddons/ogredotnet

Moderators: OGRE Team, OgreDotNet Moderators

OgreDotNet Revival

Postby adjohn » Sat Jun 07, 2008 6:16 am

Just want to let everyone know that there has been an update of OgreDotNet. It has been moved to newer versions of bindings and such. You can find the updated project at http://code.google.com/p/ogredotnet/. It currently is working and confirmed in OS X and Linux platforms at the moment.

You can reach us on IRC (freenode) #ogredotnet channel

Thanks!
adjohn
Gnoblar
 
Posts: 4
Kudos: 0
Joined: 07 Jun 2008

Re: OgreDotNet Revival

Postby Vectrex » Sat Jun 07, 2008 5:49 pm

adjohn wrote:Just want to let everyone know that there has been an update of OgreDotNet. It has been moved to newer versions of bindings and such. You can find the updated project at http://code.google.com/p/ogredotnet/. It currently is working and confirmed in OS X and Linux platforms at the moment.

You can reach us on IRC (freenode) #ogredotnet channel

Thanks!


nice one. It's definately nice to have an osx/linux option for c#. I've used ODN before and had no problems with it, although I really didn't like Gangsta, so use MOgreNewt with MOgre. This is mainly for students and gangsta abstracted things a bit weirdly for them to 'get' it :)
Vectrex
Gremlin
 
Posts: 195
Kudos: 0
Joined: 26 Sep 2005
Location: Australia

Postby adjohn » Wed Jul 02, 2008 7:39 pm

Just an update. This is now tested and working in Windows XP, Linux, and OS X. :)
adjohn
Gnoblar
 
Posts: 4
Kudos: 0
Joined: 07 Jun 2008

Postby vitefalcon » Tue Jul 29, 2008 1:05 pm

Does this version of OgreDotNet use the latest version of OGRE???.. i.e. 1.4.9?
vitefalcon
Gnoblar
 
Posts: 19
Kudos: 0
Joined: 16 Apr 2008

Postby Whitebear » Wed Jul 30, 2008 7:24 am

Ogre.NET seems to be a dead body, that is being digged up from time to time.
Whitebear
Gnoblar
 
Posts: 12
Kudos: 0
Joined: 25 Jan 2006

Postby vitefalcon » Wed Jul 30, 2008 10:09 am

LOL... i did find that OgreDotNet are missing some classes as well... so i think it's fair to say that OgreDotNet is not up-to-date.
vitefalcon
Gnoblar
 
Posts: 19
Kudos: 0
Joined: 16 Apr 2008

Postby adjohn » Thu Jul 31, 2008 8:40 am

It is using the latest 1.4.9 version of Ogre. There are some things missing, but it is running cross platform for us without TOO many problems.
adjohn
Gnoblar
 
Posts: 4
Kudos: 0
Joined: 07 Jun 2008

Postby vitefalcon » Thu Jul 31, 2008 8:59 am

hmm... i believe the one i downloaded doesn't have WindowsListener which i badly need :( .... Correct me if i'm wrong
vitefalcon
Gnoblar
 
Posts: 19
Kudos: 0
Joined: 16 Apr 2008

Postby vitefalcon » Thu Jul 31, 2008 9:00 am

I tried compiling it from source. And i had an error where it could not find the class ColourValue in the custom Converter
vitefalcon
Gnoblar
 
Posts: 19
Kudos: 0
Joined: 16 Apr 2008

Postby mhutch » Thu Sep 04, 2008 8:29 pm

vitefalcon wrote:I tried compiling it from source. And i had an error where it could not find the class ColourValue in the custom Converter


IIRC to avoid this you have to do the SWIG step first using CMake, then the nant step.
mhutch
Gnoblar
 
Posts: 2
Kudos: 0
Joined: 04 Sep 2008

Postby Beauty » Wed Sep 17, 2008 10:55 pm

On the new host I just found a one year old binary download.
Maybe it would be good to add the current one as a download, too.

In the wiki I updated the front page of OgreDotNet.
Help to add information to the wiki. Also tiny edits will let it grow ... :idea:
Add your country to your profile ... it's interesting to know from where of the world you are.
IRC chat ... Mogre: irc://freenode/#mogre ... Ogre: irc://freenode/#ogre3d
User avatar
Beauty
OGRE Community Helper
 
Posts: 1601
Kudos: 35
Joined: 09 May 2007
Location: Germany

compiling in linux

Postby rdrey » Thu Oct 23, 2008 1:31 am

hey guys!

i'm in ubuntu, have working versions of g++ and mono

got myself a working version of:
cmake version 2.4-patch 7
SWIG Version 1.3.33

I run CMake:
rdrey@rdrey-laptop:~/workspace/mono/OgreDotNet$ cmake -G "Unix Makefiles"
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Check size of void*
-- Check size of void* - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Configuring done
-- Generating done
-- Build files have been written to: /home/rdrey/workspace/mono/OgreDotNet

I run make:
rdrey@rdrey-laptop:~/workspace/mono/OgreDotNet$ make
[ 50%] Swig source
/usr/local/include/OGRE/OgrePlane.h:63: Warning(302): Identifier 'Plane' redefined by %extend (ignored),
/home/rdrey/workspace/mono/OgreDotNet/OgreNet/OgrePlane.i:19: Warning(302): %extend definition of 'Plane'.
/usr/local/include/OGRE/OgreStringConverter.h:181: Warning(844): C# exception may not be thrown - no $excode or excode attribute in 'csout' typemap.
/usr/local/include/OGRE/OgreStringConverter.h:191: Warning(844): C# exception may not be thrown - no $excode or excode attribute in 'csout' typemap.
/usr/share/swig1.3/csharp/std_vector.i:373: Warning(844): C# exception may not be thrown - no $excode or excode attribute in 'csout' typemap.
/usr/local/include/OGRE/OgrePlane.h:123: Warning(844): C# exception may not be thrown - no $excode or excode attribute in 'csout' typemap.
/usr/local/include/OGRE/OgreMath.h:524: Warning(844): C# exception may not be thrown - no $excode or excode attribute in 'csout' typemap.
/usr/local/include/OGRE/OgreMath.h:527: Warning(844): C# exception may not be thrown - no $excode or excode attribute in 'csout' typemap.
/usr/local/include/OGRE/OgreMath.h:529: Warning(844): C# exception may not be thrown - no $excode or excode attribute in 'csout' typemap.
/usr/local/include/OGRE/OgreMath.h:531: Warning(844): C# exception may not be thrown - no $excode or excode attribute in 'csout' typemap.
/usr/local/include/OGRE/OgreMath.h:533: Warning(844): C# exception may not be thrown - no $excode or excode attribute in 'csout' typemap.
/usr/local/include/OGRE/OgreMath.h:535: Warning(844): C# exception may not be thrown - no $excode or excode attribute in 'csout' typemap.
/usr/local/include/OGRE/OgreMath.h:551: Warning(844): C# exception may not be thrown - no $excode or excode attribute in 'csout' typemap.
/usr/local/include/OGRE/OgreMath.h:551: Warning(844): C# exception may not be thrown - no $excode or excode attribute in 'csout' typemap.
/usr/local/include/OGRE/OgreDataStream.h:129: Warning(844): C# exception may not be thrown - no $excode or excode attribute in 'csout' typemap.
/usr/local/include/OGRE/OgreDataStream.h:129: Warning(844): C# exception may not be thrown - no $excode or excode attribute in 'csout' typemap.
/usr/local/include/OGRE/OgreDataStream.h:294: Warning(844): C# exception may not be thrown - no $excode or excode attribute in 'csout' typemap.
/usr/local/include/OGRE/OgreHardwarePixelBuffer.h:94: Warning(516): Overloaded method lock(size_t,size_t,Ogre::HardwareBuffer::LockOptions) ignored. Method lock(size_t,size_t,Ogre::HardwareBuffer::LockOptions) at /usr/local/include/OGRE/OgreHardwareBuffer.h:199 used.
/usr/local/include/OGRE/OgreHardwareVertexBuffer.h:182: Warning(844): C# exception may not be thrown - no $excode or excode attribute in 'csout' typemap.
/home/rdrey/workspace/mono/OgreDotNet/OgreNet/OgreMovableObject.i:151: Warning(833): Warning for Ogre::MovableObject proxy: Base Ogre::AnimableObject ignored. Multiple inheritance is not supported in C#.
/usr/local/include/OGRE/OgreAnimationState.h:220: Warning(516): Overloaded method getAnimationStateIterator() const ignored. Method getAnimationStateIterator() at /usr/local/include/OGRE/OgreAnimationState.h:213 used.
/home/rdrey/workspace/mono/OgreDotNet/OgreNet/new_std_multimap.i:41: Warning(844): C# exception may not be thrown - no $excode or excode attribute in 'csout' typemap.
/home/rdrey/workspace/mono/OgreDotNet/OgreNet/new_std_multimap.i:69: Warning(844): C# exception may not be thrown - no $excode or excode attribute in 'csout' typemap.
/home/rdrey/workspace/mono/OgreDotNet/OgreNet/new_std_multimap.i:80: Warning(844): C# exception may not be thrown - no $excode or excode attribute in 'csout' typemap.
/home/rdrey/workspace/mono/OgreDotNet/OgreNet/OgreMovablePlane.i:32: Warning(833): Warning for Ogre::MovablePlane proxy: Base Ogre::MovableObject ignored. Multiple inheritance is not supported in C#.
/usr/local/include/OGRE/OgreMaterial.h:248: Warning(844): C# exception may not be thrown - no $excode or excode attribute in 'csout' typemap.
/usr/local/include/OGRE/OgrePass.h:515: Warning(516): Overloaded method getTextureUnitState(Ogre::String const &) const ignored. Method getTextureUnitState(Ogre::String const &) at /usr/local/include/OGRE/OgrePass.h:508 used.
/usr/local/include/OGRE/OgreMesh.h:232: Warning(844): C# exception may not be thrown - no $excode or excode attribute in 'csout' typemap.
/usr/local/include/OGRE/OgreTextureUnitState.h:300: Warning(516): Overloaded method setCubicTextureName(Ogre::String const *const,bool) ignored. Method setCubicTextureName(Ogre::String const &,bool) at /usr/local/include/OGRE/OgreTextureUnitState.h:252 used.
/usr/local/include/OGRE/OgreTextureUnitState.h:300: Warning(516): Overloaded method setCubicTextureName(Ogre::String const *const) ignored. Method setCubicTextureName(Ogre::String const &) at /usr/local/include/OGRE/OgreTextureUnitState.h:252 used.
/usr/local/include/OGRE/OgreTextureUnitState.h:252: Warning(516): Overloaded method setCubicTextureName(Ogre::String const &,bool) ignored. Method setCubicTextureName(Ogre::String const *const,bool) at /usr/local/include/OGRE/OgreTextureUnitState.h:300 used.
/usr/local/include/OGRE/OgreTextureUnitState.h:346: Warning(516): Overloaded method setAnimatedTextureName(Ogre::String const *const,unsigned int,Ogre::Real) ignored. Method setAnimatedTextureName(Ogre::String const &,unsigned int,Ogre::Real) at /usr/local/include/OGRE/OgreTextureUnitState.h:323 used.
/usr/local/include/OGRE/OgreTextureUnitState.h:346: Warning(516): Overloaded method setAnimatedTextureName(Ogre::String const *const,unsigned int) ignored. Method setAnimatedTextureName(Ogre::String const &,unsigned int) at /usr/local/include/OGRE/OgreTextureUnitState.h:323 used.
/usr/local/include/OGRE/OgreTextureUnitState.h:323: Warning(516): Overloaded method setAnimatedTextureName(Ogre::String const &,unsigned int,Ogre::Real) ignored. Method setAnimatedTextureName(Ogre::String const *const,unsigned int,Ogre::Real) at /usr/local/include/OGRE/OgreTextureUnitState.h:346 used.
/usr/local/include/OGRE/OgreGpuProgramManager.h:142: Warning(844): C# exception may not be thrown - no $excode or excode attribute in 'csout' typemap.
/usr/local/include/OGRE/OgreGpuProgramManager.h:142: Warning(844): C# exception may not be thrown - no $excode or excode attribute in 'csout' typemap.
/usr/local/include/OGRE/OgreGpuProgramManager.h:142: Warning(844): C# exception may not be thrown - no $excode or excode attribute in 'csout' typemap.
/usr/local/include/OGRE/OgreGpuProgramManager.h:149: Warning(844): C# exception may not be thrown - no $excode or excode attribute in 'csout' typemap.
/usr/local/include/OGRE/OgreGpuProgramManager.h:149: Warning(844): C# exception may not be thrown - no $excode or excode attribute in 'csout' typemap.
/usr/local/include/OGRE/OgreMaterialManager.h:222: Warning(844): C# exception may not be thrown - no $excode or excode attribute in 'csout' typemap.
/home/rdrey/workspace/mono/OgreDotNet/OgreNet/OgreMeshManager.i:46: Warning(833): Warning for Ogre::MeshManager proxy: Base Ogre::ManualResourceLoader ignored. Multiple inheritance is not supported in C#.
/usr/local/include/OGRE/OgrePredefinedControllers.h:47: Warning(833): Warning for Ogre::FrameTimeControllerValue proxy: Base Ogre::FrameListener ignored. Multiple inheritance is not supported in C#.
/usr/local/include/OGRE/OgreSceneManager.h:1482: Warning(844): C# exception may not be thrown - no $excode or excode attribute in 'csout' typemap.
/usr/local/include/OGRE/OgreSceneManager.h:1497: Warning(844): C# exception may not be thrown - no $excode or excode attribute in 'csout' typemap.
/usr/local/include/OGRE/OgreSceneManager.h:1497: Warning(844): C# exception may not be thrown - no $excode or excode attribute in 'csout' typemap.
Scanning dependencies of target OgreBindings
[100%] Building CXX object CMakeFiles/OgreBindings.dir/OgreNet/OgreBindingsCSHARP_wrap.o
In file included from /usr/local/include/OGRE/OgreHardwareBufferManager.h:38,
from /usr/local/include/OGRE/OgreEntity.h:39,
from /usr/local/include/OGRE/Ogre.h:48,
from /home/rdrey/workspace/mono/OgreDotNet/OgreNet/OgreBindingsCSHARP_wrap.cxx:344:
/usr/local/include/OGRE/OgreRenderToVertexBuffer.h:144:7: warning: no newline at end of file
/home/rdrey/workspace/mono/OgreDotNet/OgreNet/OgreBindingsCSHARP_wrap.cxx: In function ‘Ogre::ChildNodeIteratorWrap* Ogre_Node_GetChildIterator(Ogre::Node*)’:
/home/rdrey/workspace/mono/OgreDotNet/OgreNet/OgreBindingsCSHARP_wrap.cxx:1807: warning: taking address of temporary
In file included from /home/rdrey/workspace/mono/OgreDotNet/OgreNet/OgreBindingsCSHARP_wrap.cxx:2146:
/home/rdrey/workspace/mono/OgreDotNet/OgreNet/MovableObjectExt.h: In member function ‘virtual const Ogre::String& Ogre::MovableObjectFactoryDirector::getType() const’:
/home/rdrey/workspace/mono/OgreDotNet/OgreNet/MovableObjectExt.h:70: warning: returning reference to temporary
In file included from /home/rdrey/workspace/mono/OgreDotNet/OgreNet/OgreBindingsCSHARP_wrap.cxx:2599:
/home/rdrey/workspace/mono/OgreDotNet/OgreNet/SimpleRenderableDirector.h: In member function ‘virtual const Ogre::Quaternion& Ogre::SimpleRenderableDirector::getWorldOrientation() const’:
/home/rdrey/workspace/mono/OgreDotNet/OgreNet/SimpleRenderableDirector.h:134: error: ‘getWorldOrientation’ is not a member of ‘Ogre::SimpleRenderable’
/home/rdrey/workspace/mono/OgreDotNet/OgreNet/SimpleRenderableDirector.h: In member function ‘virtual const Ogre::Vector3& Ogre::SimpleRenderableDirector::getWorldPosition() const’:
/home/rdrey/workspace/mono/OgreDotNet/OgreNet/SimpleRenderableDirector.h:142: error: ‘getWorldPosition’ is not a member of ‘Ogre::SimpleRenderable’
/home/rdrey/workspace/mono/OgreDotNet/OgreNet/SimpleRenderableDirector.h: In member function ‘const Ogre::Quaternion& Ogre::SimpleRenderableDirector::CallBase_getWorldOrientation() const’:
/home/rdrey/workspace/mono/OgreDotNet/OgreNet/SimpleRenderableDirector.h:224: error: ‘getWorldOrientation’ is not a member of ‘Ogre::SimpleRenderable’
/home/rdrey/workspace/mono/OgreDotNet/OgreNet/SimpleRenderableDirector.h: In member function ‘const Ogre::Vector3& Ogre::SimpleRenderableDirector::CallBase_getWorldPosition() const’:
/home/rdrey/workspace/mono/OgreDotNet/OgreNet/SimpleRenderableDirector.h:229: error: ‘getWorldPosition’ is not a member of ‘Ogre::SimpleRenderable’
/home/rdrey/workspace/mono/OgreDotNet/OgreNet/OgreBindingsCSHARP_wrap.cxx: In function ‘Ogre::RGMResourceDeclarationList* Ogre_ResourceGroupManager_GetResourceDeclarationList(Ogre::ResourceGroupManager*, const Ogre::String&)’:
/home/rdrey/workspace/mono/OgreDotNet/OgreNet/OgreBindingsCSHARP_wrap.cxx:3795: warning: taking address of temporary
/home/rdrey/workspace/mono/OgreDotNet/OgreNet/OgreBindingsCSHARP_wrap.cxx: In function ‘void* CSharp_Log_stream__SWIG_0(void*, int, unsigned int)’:
/home/rdrey/workspace/mono/OgreDotNet/OgreNet/OgreBindingsCSHARP_wrap.cxx:24399: error: no matching function for call to ‘Ogre::Log::Stream::Stream()’
/usr/local/include/OGRE/OgreLog.h:198: note: candidates are: Ogre::Log::Stream::Stream(const Ogre::Log::Stream&)
/usr/local/include/OGRE/OgreLog.h:192: note: Ogre::Log::Stream::Stream(Ogre::Log*, Ogre::LogMessageLevel, bool)
/usr/include/c++/4.2/bits/ios_base.h: In member function ‘std::basic_ios<char, std::char_traits<char> >& std::basic_ios<char, std::char_traits<char> >::operator=(const std::basic_ios<char, std::char_traits<char> >&)’:
/usr/include/c++/4.2/bits/ios_base.h:782: error: ‘std::ios_base& std::ios_base::operator=(const std::ios_base&)’ is private
/usr/include/c++/4.2/iosfwd:55: error: within this context
/usr/include/c++/4.2/iosfwd: In member function ‘std::basic_ostream<char, std::char_traits<char> >& std::basic_ostream<char, std::char_traits<char> >::operator=(const std::basic_ostream<char, std::char_traits<char> >&)’:
/usr/include/c++/4.2/iosfwd:64: note: synthesized method ‘std::basic_ios<char, std::char_traits<char> >& std::basic_ios<char, std::char_traits<char> >::operator=(const std::basic_ios<char, std::char_traits<char> >&)’ first required here
/usr/include/c++/4.2/iosfwd: In member function ‘std::basic_ostringstream<char, std::char_traits<char>, std::allocator<char> >& std::basic_ostringstream<char, std::char_traits<char>, std::allocator<char> >::operator=(const std::basic_ostringstream<char, std::char_traits<char>, std::allocator<char> >&)’:
/usr/include/c++/4.2/iosfwd:79: note: synthesized method ‘std::basic_ostream<char, std::char_traits<char> >& std::basic_ostream<char, std::char_traits<char> >::operator=(const std::basic_ostream<char, std::char_traits<char> >&)’ first required here
/usr/include/c++/4.2/streambuf: In member function ‘std::basic_stringbuf<char, std::char_traits<char>, std::allocator<char> >& std::basic_stringbuf<char, std::char_traits<char>, std::allocator<char> >::operator=(const std::basic_stringbuf<char, std::char_traits<char>, std::allocator<char> >&)’:
/usr/include/c++/4.2/streambuf:802: error: ‘std::basic_streambuf<_CharT, _Traits>& std::basic_streambuf<_CharT, _Traits>::operator=(const std::basic_streambuf<_CharT, _Traits>&) [with _CharT = char, _Traits = std::char_traits<char>]’ is private
/usr/include/c++/4.2/iosfwd:71: error: within this context
/usr/include/c++/4.2/iosfwd: In member function ‘std::basic_ostringstream<char, std::char_traits<char>, std::allocator<char> >& std::basic_ostringstream<char, std::char_traits<char>, std::allocator<char> >::operator=(const std::basic_ostringstream<char, std::char_traits<char>, std::allocator<char> >&)’:
/usr/include/c++/4.2/iosfwd:79: note: synthesized method ‘std::basic_stringbuf<char, std::char_traits<char>, std::allocator<char> >& std::basic_stringbuf<char, std::char_traits<char>, std::allocator<char> >::operator=(const std::basic_stringbuf<char, std::char_traits<char>, std::allocator<char> >&)’ first required here
/usr/local/include/OGRE/OgreLog.h: In member function ‘Ogre::Log::Stream& Ogre::Log::Stream::operator=(const Ogre::Log::Stream&)’:
/usr/local/include/OGRE/OgreLog.h:179: note: synthesized method ‘std::basic_ostringstream<char, std::char_traits<char>, std::allocator<char> >& std::basic_ostringstream<char, std::char_traits<char>, std::allocator<char> >::operator=(const std::basic_ostringstream<char, std::char_traits<char>, std::allocator<char> >&)’ first required here
/home/rdrey/workspace/mono/OgreDotNet/OgreNet/OgreBindingsCSHARP_wrap.cxx: In function ‘void* CSharp_Log_stream__SWIG_0(void*, int, unsigned int)’:
/home/rdrey/workspace/mono/OgreDotNet/OgreNet/OgreBindingsCSHARP_wrap.cxx:24404: note: synthesized method ‘Ogre::Log::Stream& Ogre::Log::Stream::operator=(const Ogre::Log::Stream&)’ first required here
/home/rdrey/workspace/mono/OgreDotNet/OgreNet/OgreBindingsCSHARP_wrap.cxx: In function ‘void* CSharp_Log_stream__SWIG_1(void*, int)’:
/home/rdrey/workspace/mono/OgreDotNet/OgreNet/OgreBindingsCSHARP_wrap.cxx:24414: error: no matching function for call to ‘Ogre::Log::Stream::Stream()’
/usr/local/include/OGRE/OgreLog.h:198: note: candidates are: Ogre::Log::Stream::Stream(const Ogre::Log::Stream&)
/usr/local/include/OGRE/OgreLog.h:192: note: Ogre::Log::Stream::Stream(Ogre::Log*, Ogre::LogMessageLevel, bool)
/home/rdrey/workspace/mono/OgreDotNet/OgreNet/OgreBindingsCSHARP_wrap.cxx: In function ‘void* CSharp_Log_stream__SWIG_2(void*)’:
/home/rdrey/workspace/mono/OgreDotNet/OgreNet/OgreBindingsCSHARP_wrap.cxx:24427: error: no matching function for call to ‘Ogre::Log::Stream::Stream()’
/usr/local/include/OGRE/OgreLog.h:198: note: candidates are: Ogre::Log::Stream::Stream(const Ogre::Log::Stream&)
/usr/local/include/OGRE/OgreLog.h:192: note: Ogre::Log::Stream::Stream(Ogre::Log*, Ogre::LogMessageLevel, bool)
/home/rdrey/workspace/mono/OgreDotNet/OgreNet/OgreBindingsCSHARP_wrap.cxx: In function ‘void CSharp_Technique_addGPUVendorRule__SWIG_1(void*, void*)’:
/home/rdrey/workspace/mono/OgreDotNet/OgreNet/OgreBindingsCSHARP_wrap.cxx:52341: error: ‘GPUVendorRule’ was not declared in this scope
/home/rdrey/workspace/mono/OgreDotNet/OgreNet/OgreBindingsCSHARP_wrap.cxx:52341: error: ‘arg2’ was not declared in this scope
/home/rdrey/workspace/mono/OgreDotNet/OgreNet/OgreBindingsCSHARP_wrap.cxx:52344: error: expected primary-expression before ‘)’ token
/home/rdrey/workspace/mono/OgreDotNet/OgreNet/OgreBindingsCSHARP_wrap.cxx:52344: error: expected `;' before ‘jarg2’
/home/rdrey/workspace/mono/OgreDotNet/OgreNet/OgreBindingsCSHARP_wrap.cxx:52349: error: expected `)' before ‘const’
/home/rdrey/workspace/mono/OgreDotNet/OgreNet/OgreBindingsCSHARP_wrap.cxx:52349: error: expected `)' before ‘;’ token
/home/rdrey/workspace/mono/OgreDotNet/OgreNet/OgreBindingsCSHARP_wrap.cxx: In function ‘void* CSharp_Technique_getGPUVendorRuleIterator(void*)’:
/home/rdrey/workspace/mono/OgreDotNet/OgreNet/OgreBindingsCSHARP_wrap.cxx:52372: error: ‘GPUVendorRule’ was not declared in this scope
/home/rdrey/workspace/mono/OgreDotNet/OgreNet/OgreBindingsCSHARP_wrap.cxx:52372: error: template argument 1 is invalid
/home/rdrey/workspace/mono/OgreDotNet/OgreNet/OgreBindingsCSHARP_wrap.cxx:52372: error: template argument 2 is invalid
/home/rdrey/workspace/mono/OgreDotNet/OgreNet/OgreBindingsCSHARP_wrap.cxx:52372: error: template argument 1 is invalid
/home/rdrey/workspace/mono/OgreDotNet/OgreNet/OgreBindingsCSHARP_wrap.cxx:52372: error: template argument 1 is invalid
/home/rdrey/workspace/mono/OgreDotNet/OgreNet/OgreBindingsCSHARP_wrap.cxx:52372: error: invalid type in declaration before ‘;’ token
/home/rdrey/workspace/mono/OgreDotNet/OgreNet/OgreBindingsCSHARP_wrap.cxx:52375: error: cannot convert ‘Ogre::ConstVectorIterator<std::vector<Ogre::Technique::GPUVendorRule, std::allocator<Ogre::Technique::GPUVendorRule> > >’ to ‘int’ in assignment
/home/rdrey/workspace/mono/OgreDotNet/OgreNet/OgreBindingsCSHARP_wrap.cxx: In function ‘void CSharp_Technique_addGPUDeviceNameRule__SWIG_2(void*, void*)’:
/home/rdrey/workspace/mono/OgreDotNet/OgreNet/OgreBindingsCSHARP_wrap.cxx:52419: error: ‘GPUDeviceNameRule’ was not declared in this scope
/home/rdrey/workspace/mono/OgreDotNet/OgreNet/OgreBindingsCSHARP_wrap.cxx:52419: error: ‘arg2’ was not declared in this scope
/home/rdrey/workspace/mono/OgreDotNet/OgreNet/OgreBindingsCSHARP_wrap.cxx:52422: error: expected primary-expression before ‘)’ token
/home/rdrey/workspace/mono/OgreDotNet/OgreNet/OgreBindingsCSHARP_wrap.cxx:52422: error: expected `;' before ‘jarg2’
/home/rdrey/workspace/mono/OgreDotNet/OgreNet/OgreBindingsCSHARP_wrap.cxx:52427: error: expected `)' before ‘const’
/home/rdrey/workspace/mono/OgreDotNet/OgreNet/OgreBindingsCSHARP_wrap.cxx:52427: error: expected `)' before ‘;’ token
/home/rdrey/workspace/mono/OgreDotNet/OgreNet/OgreBindingsCSHARP_wrap.cxx: In function ‘void* CSharp_Technique_getGPUDeviceNameRuleIterator(void*)’:
/home/rdrey/workspace/mono/OgreDotNet/OgreNet/OgreBindingsCSHARP_wrap.cxx:52449: error: ‘GPUDeviceNameRule’ was not declared in this scope
/home/rdrey/workspace/mono/OgreDotNet/OgreNet/OgreBindingsCSHARP_wrap.cxx:52449: error: template argument 1 is invalid
/home/rdrey/workspace/mono/OgreDotNet/OgreNet/OgreBindingsCSHARP_wrap.cxx:52449: error: template argument 2 is invalid
/home/rdrey/workspace/mono/OgreDotNet/OgreNet/OgreBindingsCSHARP_wrap.cxx:52449: error: template argument 1 is invalid
/home/rdrey/workspace/mono/OgreDotNet/OgreNet/OgreBindingsCSHARP_wrap.cxx:52449: error: template argument 1 is invalid
/home/rdrey/workspace/mono/OgreDotNet/OgreNet/OgreBindingsCSHARP_wrap.cxx:52449: error: invalid type in declaration before ‘;’ token
/home/rdrey/workspace/mono/OgreDotNet/OgreNet/OgreBindingsCSHARP_wrap.cxx:52452: error: cannot convert ‘Ogre::ConstVectorIterator<std::vector<Ogre::Technique::GPUDeviceNameRule, std::allocator<Ogre::Technique::GPUDeviceNameRule> > >’ to ‘int’ in assignment
/home/rdrey/workspace/mono/OgreDotNet/OgreNet/OgreBindingsCSHARP_wrap.cxx: In function ‘void* CSharp_LogManager_stream__SWIG_0(void*, int, unsigned int)’:
/home/rdrey/workspace/mono/OgreDotNet/OgreNet/OgreBindingsCSHARP_wrap.cxx:62015: error: no matching function for call to ‘Ogre::Log::Stream::Stream()’
/usr/local/include/OGRE/OgreLog.h:198: note: candidates are: Ogre::Log::Stream::Stream(const Ogre::Log::Stream&)
/usr/local/include/OGRE/OgreLog.h:192: note: Ogre::Log::Stream::Stream(Ogre::Log*, Ogre::LogMessageLevel, bool)
/home/rdrey/workspace/mono/OgreDotNet/OgreNet/OgreBindingsCSHARP_wrap.cxx: In function ‘void* CSharp_LogManager_stream__SWIG_1(void*, int)’:
/home/rdrey/workspace/mono/OgreDotNet/OgreNet/OgreBindingsCSHARP_wrap.cxx:62030: error: no matching function for call to ‘Ogre::Log::Stream::Stream()’
/usr/local/include/OGRE/OgreLog.h:198: note: candidates are: Ogre::Log::Stream::Stream(const Ogre::Log::Stream&)
/usr/local/include/OGRE/OgreLog.h:192: note: Ogre::Log::Stream::Stream(Ogre::Log*, Ogre::LogMessageLevel, bool)
/home/rdrey/workspace/mono/OgreDotNet/OgreNet/OgreBindingsCSHARP_wrap.cxx: In function ‘void* CSharp_LogManager_stream__SWIG_2(void*)’:
/home/rdrey/workspace/mono/OgreDotNet/OgreNet/OgreBindingsCSHARP_wrap.cxx:62043: error: no matching function for call to ‘Ogre::Log::Stream::Stream()’
/usr/local/include/OGRE/OgreLog.h:198: note: candidates are: Ogre::Log::Stream::Stream(const Ogre::Log::Stream&)
/usr/local/include/OGRE/OgreLog.h:192: note: Ogre::Log::Stream::Stream(Ogre::Log*, Ogre::LogMessageLevel, bool)
/home/rdrey/workspace/mono/OgreDotNet/OgreNet/OgreBindingsCSHARP_wrap.cxx: In function ‘void* CSharp_ResourceGroupManager_resourceModifiedTime__SWIG_1(void*, void*, char*)’:
/home/rdrey/workspace/mono/OgreDotNet/OgreNet/OgreBindingsCSHARP_wrap.cxx:64594: error: ‘ResourceGroup’ was not declared in this scope
/home/rdrey/workspace/mono/OgreDotNet/OgreNet/OgreBindingsCSHARP_wrap.cxx:64594: error: ‘arg2’ was not declared in this scope
/home/rdrey/workspace/mono/OgreDotNet/OgreNet/OgreBindingsCSHARP_wrap.cxx:64594: error: expected primary-expression before ‘)’ token
/home/rdrey/workspace/mono/OgreDotNet/OgreNet/OgreBindingsCSHARP_wrap.cxx:64594: error: expected `;' before numeric constant
/home/rdrey/workspace/mono/OgreDotNet/OgreNet/OgreBindingsCSHARP_wrap.cxx:64599: error: expected primary-expression before ‘)’ token
/home/rdrey/workspace/mono/OgreDotNet/OgreNet/OgreBindingsCSHARP_wrap.cxx:64599: error: expected `;' before ‘jarg2’
make[2]: *** [CMakeFiles/OgreBindings.dir/OgreNet/OgreBindingsCSHARP_wrap.o] Error 1
make[1]: *** [CMakeFiles/OgreBindings.dir/all] Error 2
make: *** [all] Error 2
rdrey@rdrey-laptop:~/workspace/mono/OgreDotNet$

and when I run ./runprebuild.sh && nant I do manage to compile the Math3D.dll:
rdrey@rdrey-laptop:~/workspace/mono/OgreDotNet$ ./runprebuild.sh && nant
Prebuild v2.0.3
Copyright (c) 2004-2008
Matthew Holmes (matthew@wildfiregames.com),
Dan Moorehead (dan05a@gmail.com),
David Hudson (jendave@yahoo.com),
Rob Loach (http://www.robloach.net),
C.J. Adams-Collier (cjac@colliertech.org),
See 'prebuild /usage' for help

Creating NAnt build files
...Creating project: DemoSimple
...Creating project: DemoWinForms
...Creating project: Math3D
...Creating project: OgreDotNet

Prebuild v2.0.3
Copyright (c) 2004-2008
Matthew Holmes (matthew@wildfiregames.com),
Dan Moorehead (dan05a@gmail.com),
David Hudson (jendave@yahoo.com),
Rob Loach (http://www.robloach.net),
C.J. Adams-Collier (cjac@colliertech.org),
See 'prebuild /usage' for help

Creating Visual C# 2005 solution and project files
...Creating project: DemoSimple
...Creating project: DemoWinForms
...Creating project: Math3D
...Creating project: OgreDotNet

NAnt 0.85 (Build 0.85.2478.0; release; 2006/10/14)
Copyright (C) 2001-2006 Gerry Shaw
http://nant.sourceforge.net

Buildfile: file:///home/rdrey/workspace/mono/OgreDotNet/OgreDotNet.build
Target framework: Mono 2.0 Profile
Target(s) specified: build

[echo] Using 'mono-2.0' Framework

init:


Debug:

[echo] Platform unix

build:

[nant] /home/rdrey/workspace/mono/OgreDotNet/Math3D/Math3D.dll.build build
Buildfile: file:///home/rdrey/workspace/mono/OgreDotNet/Math3D/Math3D.dll.build
Target framework: Mono 2.0 Profile
Target(s) specified: build


build:

[echo] Build Directory is /home/rdrey/workspace/mono/OgreDotNet/Math3D/bin/Debug
[mkdir] Creating directory '/home/rdrey/workspace/mono/OgreDotNet/Math3D/bin/Debug'.
[csc] Compiling 7 files to '/home/rdrey/workspace/mono/OgreDotNet/Math3D/bin/Debug/Math3D.dll'.
[echo] Copying from [/home/rdrey/workspace/mono/OgreDotNet/Math3D/bin/Debug/] to [/home/rdrey/workspace/mono/OgreDotNet/Math3D/../bin/
[copy] Copying 2 files to '/home/rdrey/workspace/mono/OgreDotNet/Math3D/../bin/'.

BUILD SUCCEEDED

Total time: 1 seconds.

[nant] /home/rdrey/workspace/mono/OgreDotNet/OgreNet/OgreDotNet.dll.build build
Buildfile: file:///home/rdrey/workspace/mono/OgreDotNet/OgreNet/OgreDotNet.dll.build
Target framework: Mono 2.0 Profile
Target(s) specified: build


build:

[echo] Build Directory is /home/rdrey/workspace/mono/OgreDotNet/OgreNet/bin/Debug
[mkdir] Creating directory '/home/rdrey/workspace/mono/OgreDotNet/OgreNet/bin/Debug'.
[csc] Compiling 448 files to '/home/rdrey/workspace/mono/OgreDotNet/OgreNet/bin/Debug/OgreDotNet.dll'.
[csc] /home/rdrey/workspace/mono/OgreDotNet/OgreNet/build/MeshManager.cs(144,18): warning CS0114: `OgreDotNet.MeshManager.prepare(string, string)' hides inherited member `OgreDotNet.ResourceManager.prepare(string, string)'. To make the current member override that implementation, add the override keyword. Otherwise add the new keyword
[csc] /home/rdrey/workspace/mono/OgreDotNet/OgreNet/build/ResourceManager.cs(220,30): (Location of the symbol related to previous warning)
[csc] /home/rdrey/workspace/mono/OgreDotNet/OgreNet/build/MeshManager.cs(174,18): warning CS0114: `OgreDotNet.MeshManager.Load(string, string)' hides inherited member `OgreDotNet.ResourceManager.Load(string, string)'. To make the current member override that implementation, add the override keyword. Otherwise add the new keyword
[csc] /home/rdrey/workspace/mono/OgreDotNet/OgreNet/build/ResourceManager.cs(244,30): (Location of the symbol related to previous warning)
[csc] /home/rdrey/workspace/mono/OgreDotNet/OgreNet/build/MovablePlane.cs(74,24): error CS0115: `OgreDotNet.MovablePlane.visitRenderables(OgreDotNet.SWIGTYPE_p_Ogre__Renderable__Visitor, bool)' is marked as an override but no suitable method found to override
[csc] /home/rdrey/workspace/mono/OgreDotNet/OgreNet/build/MovablePlane.cs(78,24): error CS0115: `OgreDotNet.MovablePlane.visitRenderables(OgreDotNet.SWIGTYPE_p_Ogre__Renderable__Visitor)' is marked as an override but no suitable method found to override
[csc] /home/rdrey/workspace/mono/OgreDotNet/OgreNet/build/PanelOverlayElement.cs(49,35): warning CS0108: `OgreDotNet.PanelOverlayElement.GetChildTextArea(string)' hides inherited member `OgreDotNet.OverlayContainer.GetChildTextArea(string)'. Use the new keyword if hiding was intended
[csc] /home/rdrey/workspace/mono/OgreDotNet/OgreNet/build/OverlayContainer.cs(49,35): (Location of the symbol related to previous warning)
[csc] /home/rdrey/workspace/mono/OgreDotNet/OgreNet/build/PanelOverlayElement.cs(56,32): warning CS0108: `OgreDotNet.PanelOverlayElement.GetChildPanel(string)' hides inherited member `OgreDotNet.OverlayContainer.GetChildPanel(string)'. Use the new keyword if hiding was intended
[csc] /home/rdrey/workspace/mono/OgreDotNet/OgreNet/build/OverlayContainer.cs(56,32): (Location of the symbol related to previous warning)
[csc] /home/rdrey/workspace/mono/OgreDotNet/OgreNet/build/PanelOverlayElement.cs(63,29): warning CS0108: `OgreDotNet.PanelOverlayElement.GetChildContainer(string)' hides inherited member `OgreDotNet.OverlayContainer.GetChildContainer(string)'. Use the new keyword if hiding was intended
[csc] /home/rdrey/workspace/mono/OgreDotNet/OgreNet/build/OverlayContainer.cs(63,29): (Location of the symbol related to previous warning)
[csc] /home/rdrey/workspace/mono/OgreDotNet/OgreNet/build/SkeletonInstance.cs(148,20): warning CS0108: `OgreDotNet.SkeletonInstance.GetAnimation(string)' hides inherited member `OgreDotNet.Skeleton.GetAnimation(string)'. Use the new keyword if hiding was intended
[csc] /home/rdrey/workspace/mono/OgreDotNet/OgreNet/build/Skeleton.cs(282,27): (Location of the symbol related to previous warning)
[csc] /home/rdrey/workspace/mono/OgreDotNet/OgreNet/build/TextureManager.cs(153,46): warning CS0114: `OgreDotNet.TextureManager.prepare(string, string)' hides inherited member `OgreDotNet.ResourceManager.prepare(string, string)'. To make the current member override that implementation, add the override keyword. Otherwise add the new keyword
[csc] /home/rdrey/workspace/mono/OgreDotNet/OgreNet/build/ResourceManager.cs(220,30): (Location of the symbol related to previous warning)
[csc] /home/rdrey/workspace/mono/OgreDotNet/OgreNet/build/TextureManager.cs(195,46): warning CS0114: `OgreDotNet.TextureManager.Load(string, string)' hides inherited member `OgreDotNet.ResourceManager.Load(string, string)'. To make the current member override that implementation, add the override keyword. Otherwise add the new keyword
[csc] /home/rdrey/workspace/mono/OgreDotNet/OgreNet/build/ResourceManager.cs(244,30): (Location of the symbol related to previous warning)
[csc] Compilation failed: 2 error(s), 8 warnings

BUILD FAILED - 0 non-fatal error(s), 18 warning(s)

/home/rdrey/workspace/mono/OgreDotNet/OgreNet/OgreDotNet.dll.build(14,10):
External Program Failed: /usr/lib/mono/2.0/gmcs.exe (return code was 1)

Total time: 2.9 seconds.


BUILD FAILED

Nested build failed. Refer to build log for exact reason.

Total time: 4.1 seconds.

Any help? any other info you need?
rdrey
Gnoblar
 
Posts: 5
Kudos: 0
Joined: 22 Oct 2008

Postby rdrey » Thu Oct 23, 2008 1:35 am

and if i try to convert the rpm packages to deb packages I get tons of KEYNOTFOUND errors, till alien quits. So installing the rpm's won't work for me. Help please!
rdrey
Gnoblar
 
Posts: 5
Kudos: 0
Joined: 22 Oct 2008

Re: OgreDotNet Revival

Postby fog » Mon Mar 09, 2009 6:23 pm

Trying to compile it here and does not work. With swig 1.3.36 on a Debian Lenny fails as follows:

Code: Select all
$ make
[ 50%] Swig source
Unable to open file OgreNet/build/StringUtil.cs: No such file or directory
make[2]: *** [OgreNet/OgreBindingsCSHARP_wrap.cxx] Error 1
make[1]: *** [CMakeFiles/OgreBindings.dir/all] Error 2
make: *** [all] Error 2

Any idea?
fog
Halfling
 
Posts: 48
Kudos: 0
Joined: 22 Sep 2005

Re: OgreDotNet Revival

Postby boyamer » Thu Apr 23, 2009 10:40 am

what about Shoggoth 1.6.2?

would you update it please?
User avatar
boyamer
Greenskin
 
Posts: 141
Kudos: 2
Joined: 24 Jan 2009


Return to OgreDotNet

Who is online

Users browsing this forum: No registered users and 1 guest