List Info

Thread: OSX on intel, wxpython universal build, import error for _glcanvas.so




OSX on intel, wxpython universal build, import error for _glcanvas.so
user name
2006-05-30 14:37:30
Hi Kevin,

any  luck with the
OSX on intel universal build import error for _glcanvas.so
problem?

cheers

Dan


On 18 May 2006, at 04:25, wxPython-users-digest- 
helplists.wxwidgets.org wrote:

> From: Kevin Ollivier <kevinotulane.edu>
> Date: 17 May 2006 20:18:57 GMT+03:00
> To: wxPython-userslists.wxwidgets.org
> Cc: vtkusersvtk.org, Kalle Pahajoki <kalpahast.jyu.fi>, Yves  
> Starreveld <ystarrevgmail.com>
> Subject: Re: [wxPython-users] OSX on intel universal
build import  
> error for _glcanvas.so
>
>
> Hi Dan,
>
> Many thanks for pointing this out. There were some
linker errors  
> with glcanvas on the Universal build that I tried to
fix, but  
> apparently my fix didn't work. I'll try and figure
out exactly what  
> is going on here, and I'll post an updated build once
I do.
>
> Thanks,
>
> Kevin
>
> On May 17, 2006, at 9:35 AM, Dan White wrote:
>
>> 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/li
b/ 
>>
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/li
b/ 
>>
python2.4/site-packages/wx-2.6-mac-unicode/wx/glcanvas.py&q
uot;, 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/_glcan
vas.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
danchalkie.org.uk
whitecc.jyu.fi



------------------------------------------------------------
---------
To unsubscribe, e-mail: wxPython-users-unsubscribelists.wxwidgets.org
For additional commands, e-mail: wxPython-users-helplists.wxwidgets.org

OSX on intel, wxpython universal build, import error for _glcanvas.so
user name
2006-05-31 16:25:45
Hi Dan,

Not yet. I really should have some time to sit down with
this over  
the weekend though.

Thanks,

Kevin

On May 30, 2006, at 7:37 AM, Dan White wrote:

> Hi Kevin,
>
> any  luck with the
> OSX on intel universal build import error for
_glcanvas.so problem?
>
> cheers
>
> Dan
>
>
> On 18 May 2006, at 04:25, wxPython-users-digest- 
> helplists.wxwidgets.org wrote:
>
>> From: Kevin Ollivier <kevinotulane.edu>
>> Date: 17 May 2006 20:18:57 GMT+03:00
>> To: wxPython-userslists.wxwidgets.org
>> Cc: vtkusersvtk.org, Kalle Pahajoki <kalpahast.jyu.fi>, Yves  
>> Starreveld <ystarrevgmail.com>
>> Subject: Re: [wxPython-users] OSX on intel
universal build import  
>> error for _glcanvas.so
>>
>>
>> Hi Dan,
>>
>> Many thanks for pointing this out. There were some
linker errors  
>> with glcanvas on the Universal build that I tried
to fix, but  
>> apparently my fix didn't work. I'll try and
figure out exactly  
>> what is going on here, and I'll post an updated
build once I do.
>>
>> Thanks,
>>
>> Kevin
>>
>> On May 17, 2006, at 9:35 AM, Dan White wrote:
>>
>>> 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/li
b/ 
>>>
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/li
b/ 
>>>
python2.4/site-packages/wx-2.6-mac-unicode/wx/glcanvas.py&q
uot;, 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/_glcan
vas.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
> danchalkie.org.uk
> whitecc.jyu.fi
>
>
>


------------------------------------------------------------
---------
To unsubscribe, e-mail: wxPython-users-unsubscribelists.wxwidgets.org
For additional commands, e-mail: wxPython-users-helplists.wxwidgets.org

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )