Luigi,

As far as the wrapping of osg::MixinVectors goes to support osg 2.6 and on
with osgswig, I did get a response from the swig maintainer William Fulton
on how to go about on this:

"... The easiest is probably to run SWIG -E on std_vector.i and copy paste
and change std to osg and vector to MixinVector. You'll see that there is a
lot of code developed for some of these target languages and you could
provide a much simpler cut down api, something similar to the Java approach,
see Lib/java/std_vector.i."

I'm not sure I find a timeslot to do this anytime soon.
Gerwin



On Fri, Nov 14, 2008 at 12:12 PM, Luigi Calori <[EMAIL PROTECTED]> wrote:

> Here
>
> http://virtualrome.googlecode.com/svn/trunk/py_code/py25_apps/PyPackages/osg.zip
>
> you can find an osgSwig (from some month ago, with some patches) I has been
> built with Visual Stusio 7.1 against OSG 2.5 (included with the zip)
> It has been tested with python 2.5 win32 binary, you can test by adding the
> folder where you extract the zip to the PYTHONPATH env variable
>
> I'm  trying to build osgSwig svn with OSG 2.6 (Viual Studio compiler)buth
> there is a still unsolved problem, reported in
> http://code.google.com/p/osgswig/issues/detail?id=12#c3
> due to substitution of std::vector with osg::MixinVectors   (this low level
> change prevents wrapper access to functions for building arrays)
> I also had to make some changes to build as reported in
> http://code.google.com/p/osgswig/issues/detail?id=13
>
> If interested, let me know
>
> Luigi
>
>
> Phan, Linh H ha scritto:
>
>> Hi,
>>    I'm having a real hard time compiling osgswig (gotten from osgswig svn)
>> for OpenSceneGraph 2.3.4 on Windows using MinGW or cygwin.  The README said
>> that it has been tested with OpenSceneGraph 2.3.4.  Does anyone have a
>> pre-built Windows binary for osgswig that they can make available?  I would
>> really appreciate it.
>>  Thank you,
>>  Linh
>>   ------------------------------------------------------------------------
>>
>> _______________________________________________
>> osg-users mailing list
>> [email protected]
>> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>>
>>
>
> _______________________________________________
> osg-users mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to