[Numpy-discussion] access ndarray in C++

Bill Spotz wfspotz@sandia....
Wed Apr 23 10:59:44 CDT 2008


On Apr 23, 2008, at 9:50 AM, Tommy Grav wrote:
>
> On Apr 23, 2008, at 11:26 AM, Joris De Ridder wrote:
>
>>
>> They are attached to the wiki page. Click on "Attachments" in the  
>> menu
>> on the left.
>>
>> Joris
>
> Thanks. Didn't know that wiki's had that :)
>
> I tried you example on a Mac OS X 10.5.2 (I am not using Scons) and  
> got
>
> [skathi:~/Work/myCode/pyCextensions] tgrav% gcc -dynamiclib
> myextension.cpp -o libmyextension.dylibUndefined symbols:
>   "___gxx_personality_v0", referenced from:
>       ___gxx_personality_v0$non_lazy_ptr in cct0CmDB.o
> ld: symbol(s) not found
> collect2: ld returned 1 exit status
>
> Anyone have any idea what I am doing wrong?


These "personality" errors indicate a version mismatch with the gcc  
compiilers.

** Bill Spotz                                              **
** Sandia National Laboratories  Voice: (505)845-0170      **
** P.O. Box 5800                 Fax:   (505)284-0154      **
** Albuquerque, NM 87185-0370    Email: wfspotz@sandia.gov **








More information about the Numpy-discussion mailing list