Re: [osg-users] osgswig binary release?

2008-11-17 Thread Hartmut Seichter

Luigi Calori wrote:
Hi Gerwin, I subscribed to SWIG list and read that response too, I' ll 
try to do some test on that because I really want to be able to run my 
python app code on more recent OSG
I' ll let you know if any success, I' m also applying some mod to make 
the latest svn compile under msvc 7.1.


If you have any suggestion, please let me know.

Is someone still working on osgSwig?
Yes, still working on it :) - I am actually hiring somebody to work on a 
new build system



Cheers,
H




Thanks
 Luigi


Gerwin de Haan ha scritto:

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] 
mailto:[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. 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
osg-users@lists.openscenegraph.org
mailto:osg-users@lists.openscenegraph.org

http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org 




___
osg-users mailing list
osg-users@lists.openscenegraph.org
mailto:osg-users@lists.openscenegraph.org

http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org 






___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org 

  


___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org



--
Hartmut Seichter, PhD (HKU), Dipl-Ing.(BUW), Postdoctoral Fellow, HITLabNZ

___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] osgswig binary release?

2008-11-17 Thread Luigi Calori

Hartmut Seichter ha scritto:

Luigi Calori wrote:
Hi Gerwin, I subscribed to SWIG list and read that response too, I' 
ll try to do some test on that because I really want to be able to 
run my python app code on more recent OSG
I' ll let you know if any success, I' m also applying some mod to 
make the latest svn compile under msvc 7.1.


If you have any suggestion, please let me know.

Is someone still working on osgSwig?
Yes, still working on it :) - I am actually hiring somebody to work on 
a new build system

Good to hear!
The new build system will still be based on CMake?
Do you have a preview? like a branch in svn or like?
In that case,please let we know, I'm confident the number of people 
willing to help is 0   :)

___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] osgswig binary release?

2008-11-15 Thread Gerwin de Haan
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
  osg-users@lists.openscenegraph.org
 
 http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
 

 ___
 osg-users mailing list
 osg-users@lists.openscenegraph.org
 http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
 ___
 osg-users mailing list
 osg-users@lists.openscenegraph.org
 http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] osgswig binary release?

2008-11-15 Thread Phan, Linh H
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
 osg-users@lists.openscenegraph.orgmailto:osg-users@lists.openscenegraph.org
 http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


___
osg-users mailing list
osg-users@lists.openscenegraph.orgmailto:osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
___
osg-users mailing list
osg-users@lists.openscenegraph.orgmailto:osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] osgswig binary release?

2008-11-15 Thread Luigi Calori

Phan, Linh H ha scritto:

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?
  

Not sure, but I have the osg in the PATH environment... like

import os
os.environ['PATH']='c:\\cygwin-1.7\\usr\\local\\src\\osg'+os.pathsep+os.environ['PATH']

if you have unzipped my stuff in c:\\cygwin-1.7\\usr\\local\\src  


hope it helps

Luigi


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
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org




___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


  


___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] osgswig binary release?

2008-11-14 Thread Luigi Calori

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
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
  


___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] osgswig binary release?

2008-11-14 Thread Gerwin de Haan
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
 osg-users@lists.openscenegraph.org
 http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org



 ___
 osg-users mailing list
 osg-users@lists.openscenegraph.org
 http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] osgswig binary release?

2008-11-14 Thread Luigi Calori
Hi Gerwin, I subscribed to SWIG list and read that response too, I' ll 
try to do some test on that because I really want to be able to run my 
python app code on more recent OSG
I' ll let you know if any success, I' m also applying some mod to make 
the latest svn compile under msvc 7.1.


If you have any suggestion, please let me know.

Is someone still working on osgSwig?

Thanks
 Luigi


Gerwin de Haan ha scritto:

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] 
mailto:[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. 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
osg-users@lists.openscenegraph.org
mailto:osg-users@lists.openscenegraph.org

http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
 



___
osg-users mailing list
osg-users@lists.openscenegraph.org
mailto:osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org




___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
  


___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] osgswig binary release?

2008-11-14 Thread Phan, Linh H
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
 osg-users@lists.openscenegraph.org
 http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] osgswig binary release?

2008-11-14 Thread Phan, Linh H
Hi Gerwin,

  I finally got the osgswig svn compiled with osg 2.4 using MinGW but I can't
seem to import the resulting DLLs (eg _osg.pyd) with python 2.5 win32 binary:

 import sys; 
 sys.path.append('c:\\cygwin-1.7\\usr\\local\\src\\buildosgswig\\lib\\python')
 import osg
Traceback (most recent call last):
  File pyshell#3, line 1, in module
import osg
  File /usr/local/src/buildosgswig/lib/python/osg.py, line 7, in module
import _osg
ImportError: DLL load failed: The specified module could not be found.

But the _osg.pyd is in the python sys.path:
[EMAIL PROTECTED] ...src/osg]$ cygcheck 
c:/cygwin-1.7/usr/local/src/buildosgswig/lib/python/_osg.pyd
C:\cygwin-1.7\usr\local\src\buildosgswig\lib\python\_osg.pyd
  C:\WINDOWS\system32\KERNEL32.dll
C:\WINDOWS\system32\ntdll.dll
  C:\WINDOWS\system32\msvcrt.dll
  C:\WINDOWS\system32\OPENGL32.DLL
C:\WINDOWS\system32\ADVAPI32.dll
  C:\WINDOWS\system32\RPCRT4.dll
C:\WINDOWS\system32\Secur32.dll
C:\WINDOWS\system32\GDI32.dll
  C:\WINDOWS\system32\USER32.dll
C:\WINDOWS\system32\GLU32.dll
C:\WINDOWS\system32\DDRAW.dll
  C:\WINDOWS\system32\DCIMAN32.dll
  C:\e\cg\osg\buildosg\lib\libOpenThreads.dll
  C:\e\cg\osg\buildosg\lib\libosg.dll
  C:\WINDOWS\system32\python25.dll
C:\WINDOWS\system32\SHELL32.dll
  C:\WINDOWS\system32\SHLWAPI.dll
C:\cygwin-1.7\usr\local\src\osg\MSVCR71.dll

I can compile a simple hello world python extension using
the MinGW g++ compiler and loaded into the python 2.5 win32 binary but
I don't know why it's not working for the osgswig extensions.

Thank you Gerwin,

Linh
PS  I also posted the problem on the osgswig google code site.


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Gerwin de Haan
Sent: Thursday, November 13, 2008 11:48 PM
To: OpenSceneGraph Users
Subject: Re: [osg-users] osgswig binary release?

Dear Linh,

I'm not sure the osgswig svn still builds on and is tested on osg 2.3.4 (even 
when using more mainstream linux compilers or MS visual studio). I personally 
am still stuck on osg 2.4 (linux), other report that osg 2.6 and up works ok 
with some known limtiations. We as osgswig contributors have not yet put clear 
mechanisms in place to keep up with the various osg versions. Please post the 
versions, error messages and other details of your findings on the osgswig 
google code site, so we might be able to assist you.

regards,
Gerwin
On Fri, Nov 14, 2008 at 2:11 AM, Phan, Linh H [EMAIL PROTECTED]mailto:[EMAIL 
PROTECTED] wrote:
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
osg-users@lists.openscenegraph.orgmailto:osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


[osg-users] osgswig binary release?

2008-11-13 Thread Phan, Linh H
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
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] osgswig binary release?

2008-11-13 Thread Gerwin de Haan
Dear Linh,

I'm not sure the osgswig svn still builds on and is tested on osg 2.3.4
(even when using more mainstream linux compilers or MS visual studio). I
personally am still stuck on osg 2.4 (linux), other report that osg 2.6 and
up works ok with some known limtiations. We as osgswig contributors have not
yet put clear mechanisms in place to keep up with the various osg versions.
Please post the versions, error messages and other details of your findings
on the osgswig google code site, so we might be able to assist you.

regards,
Gerwin

On Fri, Nov 14, 2008 at 2:11 AM, Phan, Linh H [EMAIL PROTECTED]wrote:

  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
 osg-users@lists.openscenegraph.org
 http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org