3 Oct 12:12
Problème pour construire les tests Numpy-Swig
From: Michel Dupront <michel.dupront <at> hotmail.fr>
Subject: Problème pour construire les tests Numpy-Swig
Newsgroups: gmane.comp.python.numeric.general
Date: 2008-10-03 10:13:26 GMT
Subject: Problème pour construire les tests Numpy-Swig
Newsgroups: gmane.comp.python.numeric.general
Date: 2008-10-03 10:13:26 GMT
Bonjour, Je viens d'installer Numpy. Je suis intéressé par l'utilisation de swig. Lorsque je tente de construire les tests j'ai cette erreur: """ swig -c++ -python Array.i :9: Error: Macro '%typecheck' expects 1 argument :36: Error: Macro '%typecheck' expects 1 argument :64: Error: Macro '%typecheck' expects 1 argument :92: Error: Macro '%typecheck' expects 1 argument :119: Error: Macro '%typecheck' expects 1 argument :148: Error: Macro '%typecheck' expects 1 argument :177: Error: Macro '%typecheck' expects 1 argument :206: Error: Macro '%typecheck' expects 1 argument :235: Error: Macro '%typecheck' expects 1 argument ....... """ Il semble que ca provienne des directives %numpy_typemaps a la fin du fichier numpy.i: """ /* Concrete instances of the %numpy_typemaps() macro: Each invocation * below applies all of the typemaps above to the specified data type. */ %numpy_typemaps(signed char , NPY_BYTE , int) %numpy_typemaps(unsigned char , NPY_UBYTE , int)*/ %numpy_typemaps(short , NPY_SHORT , int) /*%numpy_typemaps(unsigned short , NPY_USHORT , int)(Continue reading)
RSS Feed