Linh,
Make sure your OSG_FILE_PATH environment variable is set correctly to a
location where "cow.osg" can be found (e.g. a directory where you extracted
the OpenSceneGraph-Data file). You must be able to run the regular osgviewer
with this file as well ("osgviewer cow.osg").
Gerwin

On Fri, Nov 14, 2008 at 11:50 PM, Phan, Linh H <[EMAIL PROTECTED]>wrote:

> Hi Luigi,
>
>  thanks for your osg.zip!  However, whenever I run pickosg.py :
>
> [EMAIL PROTECTED] ~...examples/python]$ ./pickosg.py
> Warning: Could not find plugin to read objects from file "cow.osg".
>
> It seems that this line:
>
> loadedModel = osgDB.readNodeFile("cow.osg")
>
> always return None.  I then explicitly include the osgPlugins-2.6.0
> directory in pickosg.py via:
>
> #!c:/Python25/python.exe
> import sys;
> sys.path.append('c:\\cygwin-1.7\\usr\\local\\src\\osg\\osgPlugins-2.6.0');
>
> but it still could not find plugin.  Do you know what I'm doing wrong?
>
> Thank you Luigi,
>
> Linh
>
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:
> [EMAIL PROTECTED] On Behalf Of Luigi Calori
> Sent: Friday, November 14, 2008 3:12 AM
> To: OpenSceneGraph Users
> Subject: Re: [osg-users] osgswig binary release?
>
> 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
>
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to