Thanks Carsten

a bit closer. What version of OSG you are building osgswig against? I am on
3.1.6 and there are swig errors and some others so swig fails now on
parsing. Here is the log

1>------ Rebuild All started: Project: ZERO_CHECK, Configuration: Debug
Win32 ------
1>  Checking Build System
1>  CMake does not need to re-run because
D:/Development/osgswig/CMakeFiles/generate.stamp is up-to-date.
1>  CMake does not need to re-run because
D:/Development/osgswig/src/CMakeFiles/generate.stamp is up-to-date.
1>  CMake does not need to re-run because
D:/Development/osgswig/src/csharp/CMakeFiles/generate.stamp is up-to-date.
2>------ Rebuild All started: Project: osg, Configuration: Debug Win32
------
3>------ Rebuild All started: Project: osgViewer, Configuration: Debug
Win32 ------
4>------ Rebuild All started: Project: osgUtil, Configuration: Debug Win32
------
5>------ Rebuild All started: Project: osgText, Configuration: Debug Win32
------
2>  Building Custom Rule D:/Development/osgswig/src/csharp/CMakeLists.txt
2>  CMake does not need to re-run because
D:\Development\osgswig\src\csharp\CMakeFiles\generate.stamp is up-to-date.
2>  Swig source
4>  Building Custom Rule D:/Development/osgswig/src/csharp/CMakeLists.txt
4>  CMake does not need to re-run because
D:\Development\osgswig\src\csharp\CMakeFiles\generate.stamp is up-to-date.
4>  Swig source
3>  Building Custom Rule D:/Development/osgswig/src/csharp/CMakeLists.txt
5>  Building Custom Rule D:/Development/osgswig/src/csharp/CMakeLists.txt
3>  CMake does not need to re-run because
D:\Development\osgswig\src\csharp\CMakeFiles\generate.stamp is up-to-date.
5>  CMake does not need to re-run because
D:\Development\osgswig\src\csharp\CMakeFiles\generate.stamp is up-to-date.
3>  Swig source
5>  Swig source
3>..\osgGA.i(42): error : Unable to find 'osgGA\Event'
6>------ Rebuild All started: Project: osgSim, Configuration: Debug Win32
------
6>  Building Custom Rule D:/Development/osgswig/src/csharp/CMakeLists.txt
6>  CMake does not need to re-run because
D:\Development\osgswig\src\csharp\CMakeFiles\generate.stamp is up-to-date.
6>  Swig source
5>D:\Development\OpenSceneGraph\include\osg\Referenced(79): warning 314:
'ref' is a C# keyword, renaming to '_ref'
5>D:\Development\OpenSceneGraph\include\osg\observer_ptr(118): warning 314:
'lock' is a C# keyword, renaming to '_lock'
5>D:\Development\OpenSceneGraph\include\osg\BufferObject(298): error :
Syntax error in input(3).
2>D:\Development\OpenSceneGraph\include\osg\Referenced(79): warning 314:
'ref' is a C# keyword, renaming to '_ref'
2>D:\Development\OpenSceneGraph\include\osg\observer_ptr(118): warning 314:
'lock' is a C# keyword, renaming to '_lock'
4>D:\Development\OpenSceneGraph\include\osg\Referenced(79): warning 314:
'ref' is a C# keyword, renaming to '_ref'
4>D:\Development\OpenSceneGraph\include\osg\observer_ptr(118): warning 314:
'lock' is a C# keyword, renaming to '_lock'
4>D:\Development\OpenSceneGraph\include\osg\BufferObject(298): error :
Syntax error in input(3).
2>D:\Development\OpenSceneGraph\include\osg\BufferObject(298): error :
Syntax error in input(3).
7>------ Rebuild All started: Project: osgManipulator, Configuration: Debug
Win32 ------
8>------ Rebuild All started: Project: osgAnimation, Configuration: Debug
Win32 ------
9>------ Rebuild All started: Project: osgFX, Configuration: Debug Win32
------
7>  Building Custom Rule D:/Development/osgswig/src/csharp/CMakeLists.txt
9>  Building Custom Rule D:/Development/osgswig/src/csharp/CMakeLists.txt
7>  CMake does not need to re-run because
D:\Development\osgswig\src\csharp\CMakeFiles\generate.stamp is up-to-date.
7>  Swig source
8>  Building Custom Rule D:/Development/osgswig/src/csharp/CMakeLists.txt
9>  CMake does not need to re-run because
D:\Development\osgswig\src\csharp\CMakeFiles\generate.stamp is up-to-date.
8>  CMake does not need to re-run because
D:\Development\osgswig\src\csharp\CMakeFiles\generate.stamp is up-to-date.
8>  Swig source
9>  Swig source
6>D:\Development\OpenSceneGraph\include\osg\Referenced(79): warning 314:
'ref' is a C# keyword, renaming to '_ref'
6>D:\Development\OpenSceneGraph\include\osg\observer_ptr(118): warning 314:
'lock' is a C# keyword, renaming to '_lock'
6>D:\Development\OpenSceneGraph\include\osg\BufferObject(298): error :
Syntax error in input(3).
10>------ Rebuild All started: Project: osgDB, Configuration: Debug Win32
------
10>  Building Custom Rule D:/Development/osgswig/src/csharp/CMakeLists.txt
10>  CMake does not need to re-run because
D:\Development\osgswig\src\csharp\CMakeFiles\generate.stamp is up-to-date.
10>  Swig source
7>D:\Development\OpenSceneGraph\include\osg\Referenced(79): warning 314:
'ref' is a C# keyword, renaming to '_ref'
7>D:\Development\OpenSceneGraph\include\osg\observer_ptr(118): warning 314:
'lock' is a C# keyword, renaming to '_lock'
7>D:\Development\OpenSceneGraph\include\osg\BufferObject(298): error :
Syntax error in input(3).
9>D:\Development\OpenSceneGraph\include\osg\Referenced(79): warning 314:
'ref' is a C# keyword, renaming to '_ref'
9>D:\Development\OpenSceneGraph\include\osg\observer_ptr(118): warning 314:
'lock' is a C# keyword, renaming to '_lock'
9>D:\Development\OpenSceneGraph\include\osg\BufferObject(298): error :
Syntax error in input(3).
8>D:\Development\OpenSceneGraph\include\osg\Referenced(79): warning 314:
'ref' is a C# keyword, renaming to '_ref'
8>D:\Development\OpenSceneGraph\include\osg\observer_ptr(118): warning 314:
'lock' is a C# keyword, renaming to '_lock'
8>D:\Development\OpenSceneGraph\include\osg\BufferObject(298): error :
Syntax error in input(3).
11>------ Rebuild All started: Project: osgGA, Configuration: Debug Win32
------
12>------ Skipped Rebuild All: Project: uninstall, Configuration: Debug
Win32 ------
12>Project not selected to build for this solution configuration
11>  Building Custom Rule D:/Development/osgswig/src/csharp/CMakeLists.txt
11>  CMake does not need to re-run because
D:\Development\osgswig\src\csharp\CMakeFiles\generate.stamp is up-to-date.
11>  Swig source
11>..\osgGA.i(42): error : Unable to find 'osgGA\Event'
10>D:\Development\OpenSceneGraph\include\osg\Referenced(79): warning 314:
'ref' is a C# keyword, renaming to '_ref'
10>D:\Development\OpenSceneGraph\include\osg\observer_ptr(118): warning
314: 'lock' is a C# keyword, renaming to '_lock'
10>D:\Development\OpenSceneGraph\include\osg\BufferObject(298): error :
Syntax error in input(3).
13>------ Skipped Rebuild All: Project: ALL_BUILD, Configuration: Debug
Win32 ------
13>Project not selected to build for this solution configuration
========== Rebuild All: 1 succeeded, 10 failed, 2 skipped ==========


On Fri, May 23, 2014 at 3:43 PM, Carsten Scharfe <cscha...@dspace.de> wrote:

>  Hi Nick,
>
>
>
> I forgot those. Please copy the missing .i files from the python folder to
> the csharp folder.
>
> They are redirecting to the ones one directory level above (the ones i've
> sent you).
>
>
>
> Carsten
>
>
>
> _________________________
>
>
>
> Carsten Scharfe
>
> Software Developer
>
> Experiment Software ESIM
>
>
>
> dSPACE GmbH
>
> Rathenaustraße 26
>
> 33102 Paderborn
>
> Germany
>
>
>
> Tel.:  +49 5251 1638-1920
>
> http://www.dspace.com
>
> mailto:cscha...@dspace.de <cscha...@dspace.de>
>
> _________________________
>
>
>
> *From:* osg-users [mailto:osg-users-boun...@lists.openscenegraph.org] *On
> Behalf Of *Trajce Nikolov NICK
> *Sent:* Friday, May 23, 2014 11:12 AM
>
> *To:* OpenSceneGraph Users
> *Subject:* Re: [osg-users] OSG and .NET (C#)
>
>
>
> Hi Carsten
>
>
>
> Thanks a bunch! At least some progress. I had to remove from
> src/csharp/CMakeLists.txt at ln 121 osgdSPACE to get it generated and now
> configure is complaining (see the attached log). You are sending these
> files in the zip file, shell I copy them in the csharp folder?
>
>
>
> OSG VERSION 3.1.6
>
> Configuring done
>
> CMake Error in src/csharp/CMakeLists.txt:
> Cannot find source file:
>
> D:/Development/osgswig/src/csharp/osg.i
>
> Tried extensions .c .C .c++ .cc .cpp .cxx .m .M .mm .h .hh .h++ .hm .hpp
> .hxx .in .txx
>
> CMake Error in src/csharp/CMakeLists.txt:
> Cannot find source file:
>
> D:/Development/osgswig/src/csharp/osgAnimation.i
>
> Tried extensions .c .C .c++ .cc .cpp .cxx .m .M .mm .h .hh .h++ .hm .hpp
> .hxx .in .txx
>
> CMake Error in src/csharp/CMakeLists.txt:
> Cannot find source file:
>
> D:/Development/osgswig/src/csharp/osgDB.i
>
> Tried extensions .c .C .c++ .cc .cpp .cxx .m .M .mm .h .hh .h++ .hm .hpp
> .hxx .in .txx
>
> CMake Error in src/csharp/CMakeLists.txt:
> Cannot find source file:
>
> D:/Development/osgswig/src/csharp/osgFX.i
>
> Tried extensions .c .C .c++ .cc .cpp .cxx .m .M .mm .h .hh .h++ .hm .hpp
> .hxx .in .txx
>
> CMake Error in src/csharp/CMakeLists.txt:
> Cannot find source file:
>
> D:/Development/osgswig/src/csharp/osgGA.i
>
> Tried extensions .c .C .c++ .cc .cpp .cxx .m .M .mm .h .hh .h++ .hm .hpp
> .hxx .in .txx
>
> CMake Error in src/csharp/CMakeLists.txt:
> Cannot find source file:
>
> D:/Development/osgswig/src/csharp/osgManipulator.i
>
> Tried extensions .c .C .c++ .cc .cpp .cxx .m .M .mm .h .hh .h++ .hm .hpp
> .hxx .in .txx
>
> CMake Error in src/csharp/CMakeLists.txt:
> Cannot find source file:
>
> D:/Development/osgswig/src/csharp/osgSim.i
>
> Tried extensions .c .C .c++ .cc .cpp .cxx .m .M .mm .h .hh .h++ .hm .hpp
> .hxx .in .txx
>
> CMake Error in src/csharp/CMakeLists.txt:
> Cannot find source file:
>
> D:/Development/osgswig/src/csharp/osgText.i
>
> Tried extensions .c .C .c++ .cc .cpp .cxx .m .M .mm .h .hh .h++ .hm .hpp
> .hxx .in .txx
>
> CMake Error in src/csharp/CMakeLists.txt:
> Cannot find source file:
>
> D:/Development/osgswig/src/csharp/osgUtil.i
>
> Tried extensions .c .C .c++ .cc .cpp .cxx .m .M .mm .h .hh .h++ .hm .hpp
> .hxx .in .txx
>
> CMake Error in src/csharp/CMakeLists.txt:
> Cannot find source file:
>
> D:/Development/osgswig/src/csharp/osgViewer.i
>
> Tried extensions .c .C .c++ .cc .cpp .cxx .m .M .mm .h .hh .h++ .hm .hpp
> .hxx .in .txx
>
> Generating done
>
>
>
> On Fri, May 23, 2014 at 9:19 AM, Carsten Scharfe <cscha...@dspace.de>
> wrote:
>
> Try the ones in the attached zip file
>
>
>
> _________________________
>
>
>
> Carsten Scharfe
>
> Software Developer
>
> Experiment Software ESIM
>
>
>
> dSPACE GmbH
>
> Rathenaustraße 26
>
> 33102 Paderborn
>
> Germany
>
>
>
> Tel.:  +49 5251 1638-1920
>
> http://www.dspace.com
>
> mailto:cscha...@dspace.de <cscha...@dspace.de>
>
> _________________________
>
>
>
> *From:* osg-users [mailto:osg-users-boun...@lists.openscenegraph.org] *On
> Behalf Of *Trajce Nikolov NICK
> *Sent:* Wednesday, May 21, 2014 10:11 PM
>
>
> *To:* OpenSceneGraph Users
> *Subject:* Re: [osg-users] OSG and .NET (C#)
>
>
>
> Hi Carsten,
>
>
>
> again on this topic, I decided to not give up on this. I am wondering how
> you actually build osgswig from the current source available. I have
> examined the CMakeLists.txt files in the project and all I can say this is
> available for python, perl and java only, from my little understanding of
> CMake configuration.
>
>
>
> In the main CMakeLists.txt line 174 is adding the src folder for the core
>
> And this is the src CMakeLists
>
>
>
> IF   (BUILD_OSGPYTHON)
>
>     ADD_SUBDIRECTORY(python)
>
> ENDIF(BUILD_OSGPYTHON)
>
> IF   (BUILD_OSGPERL)
>
>     ADD_SUBDIRECTORY(perl)
>
> ENDIF(BUILD_OSGPERL)
>
> IF   (BUILD_OSGJAVA)
>
>     ADD_SUBDIRECTORY(java)
>
> ENDIF(BUILD_OSGJAVA)
>
>
>
> since I dont build it for any of these I am not surprised I am ending up
> with empty project
>
>
>
> Can you share the build setting for CMake? Thanks again
>
>
>
> Nick
>
>
>
> On Wed, May 21, 2014 at 3:54 PM, Trajce Nikolov NICK <
> trajce.nikolov.n...@gmail.com> wrote:
>
> Thanks Robert, I will give it a try. Actually all I care for now is to see
> the Viewer into .NET control, do not care to much of the underlying
> approach - but simplier, better.
>
>
>
> > I had thought C# was going out of fashion with the advent of tablet
> and phones taking midshare and developer time...
>
>
>
> Nah, at least not in Macedonia. Here you can not find C++ job, all is
> .NET, C#, Java .. suddenly
>
>
>
> Thanks again,
>
> Nick
>
>
>
> On Wed, May 21, 2014 at 3:49 PM, Robert Osfield <robert.osfi...@gmail.com>
> wrote:
>
> Hi Nick et. al,
>
> I had thought C# was going out of fashion with the advent of tablet
> and phones taking midshare and developer time...
>
> If you really need C# integration then perhaps just integrating the
> top level classes like Viewer would be sufficient.
>
> Another possible route you could consider is writing C# integration
> via the new osgDB::PropertyInterface class that I have written to
> assist with scripting integration.  This class provides mechanisms for
> interface discovery, property get/setting and method invocation, and
> uses the new serializers under the hood. It's much lighter weight than
> osgIntrospection as has a pretty mature scripting implementation in
> the form of the new lua plugin.  The lua plugin could form as descent
> example of how to use the new PropertyInterface class.
>
> Robert.
>
> _______________________________________________
> osg-users mailing list
> osg-users@lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
>
>
>
>
> --
> trajce nikolov nick
>
>
>
>
>
> --
> trajce nikolov nick
>
>
> _______________________________________________
> osg-users mailing list
> osg-users@lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
>
>
>
>
> --
> trajce nikolov nick
>
> _______________________________________________
> osg-users mailing list
> osg-users@lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
>


-- 
trajce nikolov nick
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to