Hi Gerwin, osgviewer cow.osg works for me. I did have OSG_FILE_PATH set and I also tried to used absolute path to the cow.osg but it for some reason it just couldn't find the mingw_osgdb_osg.dll and mingw_osgdb_rgb.dll files I think. The osgviewer could find those files ok (I could see it in gdb osgviewer). I copy those osgdb_osg.dll and osgdb_rgb.dll (and all the osgPlugins dll) to many places and and tried setting OSG_LIBRARY_PATH etc but still osgswig couldn't find the plugin.
Thanks Gerwin, Linh ________________________________ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Gerwin de Haan Sent: Saturday, November 15, 2008 3:47 AM To: OpenSceneGraph Users Subject: Re: [osg-users] osgswig binary release? 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]<mailto:[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]> [mailto:[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.<http://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]<mailto:[email protected]> > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > _______________________________________________ osg-users mailing list [email protected]<mailto:[email protected]> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org _______________________________________________ osg-users mailing list [email protected]<mailto:[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

