[Insight-users] Python wrapping on mac?
Luis Ibanez
luis.ibanez@kitware.com
Thu May 20 19:13:06 EDT 2004
Hi Zach,
Python 2.3 is now linked to the gcc libraries.
You must therefore make sure that you are
compiling ITK wrapping with the exact *same*
compiler that was used for compiling Python.
You should see this information in the message
that is displayed when you start the python
interpreter
Something like:
Python 2.2.2 (#1, Feb 3 2003, 14:10:37)
[GCC 3.2 20020927 (prerelease)] on cygwin
Type "help", "copyright", "credits" or "license" for more information.
>>>
Please let us know what you find on your Mac.
Thanks
Luis
---------------------
Zachary Pincus wrote:
> So, I know I've asked this before, but now I'm wondering if anything has
> changed:
>
> Should python wrapping on macs work properly now? (For a while there
> were some problems between apple's linker and the enormous libraries
> generated by the wrapping process.)
>
> I recently tried to build the wrappers (following Luis's "perestroika"
> procedure just to be sure) on a new machine. Everything built fine, but
> when I tried to import the InsightToolkit from python, there was a bus
> error.
>
> Is this just me? With additional work should I be able to get this to
> work? Or are there still fundamental problems with python wrapping on macs?
>
> Thanks a lot,
> Zach
>
> PS. I was using OS X 10.3.3, with gcc 3.3 and the "c++" compiler.
>
> _______________________________________________
> Insight-users mailing list
> Insight-users@itk.org
> http://www.itk.org/mailman/listinfo/insight-users
>
More information about the Insight-users
mailing list