[Insight-users] Python wrapping on mac?
Zachary Pincus
zpincus@stanford.edu
Sat May 22 00:01:02 EDT 2004
Luis,
Sorry for the late reply; I've been out of town.
Unfortunately, gcc -v gives:
gcc version 3.3 20030304 (Apple Computer, Inc. build 1495)
And python gives:
[GCC 3.3 20030304 (Apple Computer, Inc. build 1495)] on darwin
So it looks like they're the same. I could try building python from
scratch instead of using the Apple python (or the Fink python, which I
also tried with no luck).
Does the cmake build type matter for the wrapping?
Thanks,
Zach
On May 20, 2004, at 11:13 AM, Luis Ibanez wrote:
>
> 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
>
>
>
> _______________________________________________
> Insight-users mailing list
> Insight-users@itk.org
> http://www.itk.org/mailman/listinfo/insight-users
>
More information about the Insight-users
mailing list