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
[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