[vtkusers] OSX on intel universal build import error for _glcanvas.so
Dan White
dan at chalkie.org.uk
Wed May 17 12:35:08 EDT 2006
Dear wxPython and VTK developers
while running our BioImageXD python application from the command line
on my MacBookPro OSX 10.4 with universal build installs of python2.4
and wxPython2.6-mac-unicode
I get an interesting error that looks like a problem with xwPython,
I can replicate the error with the following:
daniel-whites-computer:~ bioimagexd$ /usr/local/bin/python2.4
Python 2.4.3 (#1, Apr 7 2006, 10:54:33)
[GCC 4.0.1 (Apple Computer, Inc. build 5250)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import wx
>>> from wxPython.glcanvas import *
Traceback (most recent call last):
File "<stdin>", line 1, in ?
File "//Library/Frameworks/Python.framework/Versions/2.4/lib/
python2.4/site-packages/wx-2.6-mac-unicode/wxPython/glcanvas.py",
line 15, in ?
import wx.glcanvas
File "//Library/Frameworks/Python.framework/Versions/2.4/lib/
python2.4/site-packages/wx-2.6-mac-unicode/wx/glcanvas.py", line 8, in ?
import _glcanvas
ImportError: Failure linking new module: /Library/Frameworks/
Python.framework/Versions/2.4/lib/python2.4/site-packages/wx-2.6-mac-
unicode/wx/_glcanvas.so: Symbol not found:
__ZN11wxGLContext11SwapBuffersEv
Referenced from: /Library/Frameworks/Python.framework/Versions/2.4/
lib/python2.4/site-packages/wx-2.6-mac-unicode/wx/_glcanvas.so
Expected in: dynamic lookup
>>>
Is this a problem in xwPython?
I haven't noticed the same problem on a PowerMac PPC G5 with PPC
python 2.4 and wxPython2.5.5-mac-unicode
cheers
Dan
Dr. Daniel James White BSc. (Hons.) PhD
Bioimaging Coordinator
Nanoscience Centre and Department of Biological and Environmental
Sciences
Division of Molecular Recognition
Ambiotica C242
PO Box 35
University of Jyväskylä
Jyväskylä
FIN 40014
Finland
+358 14 260 4183 (work)
+358 468102840 (mobile)
http://www.bioimagexd.org
http://www.chalkie.org.uk
dan at chalkie.org.uk
white at cc.jyu.fi
More information about the vtkusers
mailing list