Znn3bq.jpeg
±±¾©Ê¯ÓÍ»¯¹¤Ñ§Ôº2026ÄêÑо¿ÉúÕÐÉú½ÓÊÕµ÷¼Á¹«¸æ
²é¿´: 863  |  »Ø¸´: 0

sddxwytxfh

½ð³æ (СÓÐÃûÆø)

[ÇóÖú] ÔÚUbuntuϵͳÀォCº¯Êý°ü´ò°ü³ÉPYTHON

ÔÚÉúÀíÐźŴ¦ÀíÁìÓò£¬ÓÐÒ»¸öWFDBÈí¼þ°ü£¬½«³£¼ûÉúÀíÐźŵÄÂ˲¨µÈÐźŴ¦ÀíËã·¨ÓÃC£¨C++£©×«Ð´²¢¹«¿ª£¬ÔÚÒµÄÚÈϿɶȼ«¸ß¡£

¸ÃÈí¼þ°üÓÐÒ»¸öÅäÌ×µÄWFDB-SWIG wrappers¹¤¾ß£¬¿ÉÒÔ½«Cº¯Êýת»»ÎªPYTHONÓïÑÔ£¬½øÐе÷Óá£

¸ù¾Ý°²×°Ìáʾ£¬ÎÒÓÃWFDB-SWIG wrappersÀïÃæµÄ×ÓÎļþ¼ÐWFDB-PYTHON£¨¸Ã×ÓÎļþ¼ÐרÃÅÕë¶Ôת»»ÎªPYTHON£©ÖеÄmakeÃüÁÔÚUbuntuÖն˽øÐУ¬±¨´íÁË£¬´íÎóÄÚÈÝÈçÏ£º
$ make£¨ÕâÊÇÃüÁÏÂÃæµÄбÌ岿·ÖÊDZ¨´íÄÚÈÝ£¬±È½Ï³¤£©

WFDB_HOME=/usr/local CFLAGS=-I/usr/local/include python setup.py build
running build
running build_py
running build_ext
building '_wfdb' extension
C compiler: i686-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -I/usr/local/include -fPIC

compile options: '-I/usr/local/include -I/usr/lib/python2.7/dist-packages/numpy/core/include -I/usr/include/python2.7 -c'
i686-linux-gnu-gcc: wfdb_python_wrap.c
In file included from /usr/lib/python2.7/dist-packages/numpy/core/include/numpy/ndarraytypes.h:1761:0,
                 from /usr/lib/python2.7/dist-packages/numpy/core/include/numpy/ndarrayobject.h:17,
                 from /usr/lib/python2.7/dist-packages/numpy/core/include/numpy/arrayobject.h:4,
                 from wfdb_python_wrap.c:3451:
/usr/lib/python2.7/dist-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2: warning: #warning "Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp]
#warning "Using deprecated NumPy API, disable it by " \
  ^
wfdb_python_wrap.c:3457:5: warning: function declaration isn¡¯t a prototype [-Wstrict-prototypes]
int spy_nvsig()
     ^
wfdb_python_wrap.c:3464:5: warning: function declaration isn¡¯t a prototype [-Wstrict-prototypes]
int spy_nsamps()
     ^
wfdb_python_wrap.c: In function ¡®_wrap_WFDB_Siginfo_fname_set¡¯:
wfdb_python_wrap.c:3967:11: error: dereferencing pointer to incomplete type
   if (arg1->fname) free((char*)arg1->fname);
           ^
wfdb_python_wrap.c:3967:36: error: dereferencing pointer to incomplete type
   if (arg1->fname) free((char*)arg1->fname);
                                    ^
wfdb_python_wrap.c:3970:9: error: dereferencing pointer to incomplete type
     arg1->fname = (char *)(char *)memcpy((char *)malloc((size)*sizeof(char)), (const char *)(arg2), sizeof(char)*(size));
         ^
wfdb_python_wrap.c:3972:9: error: dereferencing pointer to incomplete type
     arg1->fname = 0;
         ^
wfdb_python_wrap.c: In function ¡®_wrap_WFDB_Siginfo_fname_get¡¯:
wfdb_python_wrap.c:3997:28: error: dereferencing pointer to incomplete type
   result = (char *) ((arg1)->fname);
                            ^
wfdb_python_wrap.c: In function ¡®_wrap_WFDB_Siginfo_desc_set¡¯:
wfdb_python_wrap.c:4028:11: error: dereferencing pointer to incomplete type
   if (arg1->desc) free((char*)arg1->desc);
           ^
wfdb_python_wrap.c:4028:35: error: dereferencing pointer to incomplete type
   if (arg1->desc) free((char*)arg1->desc);
                                   ^
wfdb_python_wrap.c:4031:9: error: dereferencing pointer to incomplete type
     arg1->desc = (char *)(char *)memcpy((char *)malloc((size)*sizeof(char)), (const char *)(arg2), sizeof(char)*(size));
         ^
wfdb_python_wrap.c:4033:9: error: dereferencing pointer to incomplete type
     arg1->desc = 0;
         ^
wfdb_python_wrap.c: In function ¡®_wrap_WFDB_Siginfo_desc_get¡¯:
wfdb_python_wrap.c:4058:28: error: dereferencing pointer to incomplete type
   result = (char *) ((arg1)->desc);
                            ^
wfdb_python_wrap.c: In function ¡®_wrap_WFDB_Siginfo_units_set¡¯:
wfdb_python_wrap.c:4089:11: error: dereferencing pointer to incomplete type
   if (arg1->units) free((char*)arg1->units);
           ^
wfdb_python_wrap.c:4089:36: error: dereferencing pointer to incomplete type
   if (arg1->units) free((char*)arg1->units);
                                    ^
wfdb_python_wrap.c:4092:9: error: dereferencing pointer to incomplete type
     arg1->units = (char *)(char *)memcpy((char *)malloc((size)*sizeof(char)), (const char *)(arg2), sizeof(char)*(size));
         ^
wfdb_python_wrap.c:4094:9: error: dereferencing pointer to incomplete type
     arg1->units = 0;
         ^
wfdb_python_wrap.c: In function ¡®_wrap_WFDB_Siginfo_units_get¡¯:
wfdb_python_wrap.c:4119:28: error: dereferencing pointer to incomplete type
   result = (char *) ((arg1)->units);
                            ^
wfdb_python_wrap.c: In function ¡®_wrap_WFDB_Siginfo_gain_set¡¯:
wfdb_python_wrap.c:4149:19: error: dereferencing pointer to incomplete type
   if (arg1) (arg1)->gain = arg2;
                   ^
wfdb_python_wrap.c: In function ¡®_wrap_WFDB_Siginfo_gain_get¡¯:
wfdb_python_wrap.c:4171:31: error: dereferencing pointer to incomplete type
   result = (WFDB_Gain) ((arg1)->gain);
                               ^
wfdb_python_wrap.c: In function ¡®_wrap_WFDB_Siginfo_initval_set¡¯:
wfdb_python_wrap.c:4201:19: error: dereferencing pointer to incomplete type
   if (arg1) (arg1)->initval = arg2;
                   ^
wfdb_python_wrap.c: In function ¡®_wrap_WFDB_Siginfo_initval_get¡¯:
wfdb_python_wrap.c:4223:33: error: dereferencing pointer to incomplete type
   result = (WFDB_Sample) ((arg1)->initval);
                                 ^
wfdb_python_wrap.c: In function ¡®_wrap_WFDB_Siginfo_group_set¡¯:
wfdb_python_wrap.c:4253:19: error: dereferencing pointer to incomplete type
   if (arg1) (arg1)->group = arg2;
                   ^
wfdb_python_wrap.c: In function ¡®_wrap_WFDB_Siginfo_group_get¡¯:
wfdb_python_wrap.c:4275:32: error: dereferencing pointer to incomplete type
   result = (WFDB_Group) ((arg1)->group);
                                ^
wfdb_python_wrap.c: In function ¡®_wrap_WFDB_Siginfo_fmt_set¡¯:
wfdb_python_wrap.c:4305:19: error: dereferencing pointer to incomplete type
   if (arg1) (arg1)->fmt = arg2;
                   ^
wfdb_python_wrap.c: In function ¡®_wrap_WFDB_Siginfo_fmt_get¡¯:
wfdb_python_wrap.c:4327:25: error: dereferencing pointer to incomplete type
   result = (int) ((arg1)->fmt);
                         ^
wfdb_python_wrap.c: In function ¡®_wrap_WFDB_Siginfo_spf_set¡¯:
wfdb_python_wrap.c:4357:19: error: dereferencing pointer to incomplete type
   if (arg1) (arg1)->spf = arg2;
                   ^
wfdb_python_wrap.c: In function ¡®_wrap_WFDB_Siginfo_spf_get¡¯:
wfdb_python_wrap.c:4379:25: error: dereferencing pointer to incomplete type
   result = (int) ((arg1)->spf);
                         ^
wfdb_python_wrap.c: In function ¡®_wrap_WFDB_Siginfo_bsize_set¡¯:
wfdb_python_wrap.c:4409:19: error: dereferencing pointer to incomplete type
   if (arg1) (arg1)->bsize = arg2;
                   ^
wfdb_python_wrap.c: In function ¡®_wrap_WFDB_Siginfo_bsize_get¡¯:
wfdb_python_wrap.c:4431:25: error: dereferencing pointer to incomplete type
   result = (int) ((arg1)->bsize);
                         ^
wfdb_python_wrap.c: In function ¡®_wrap_WFDB_Siginfo_adcres_set¡¯:
wfdb_python_wrap.c:4461:19: error: dereferencing pointer to incomplete type
   if (arg1) (arg1)->adcres = arg2;
                   ^
wfdb_python_wrap.c: In function ¡®_wrap_WFDB_Siginfo_adcres_get¡¯:
wfdb_python_wrap.c:4483:25: error: dereferencing pointer to incomplete type
   result = (int) ((arg1)->adcres);
                         ^
wfdb_python_wrap.c: In function ¡®_wrap_WFDB_Siginfo_adczero_set¡¯:
wfdb_python_wrap.c:4513:19: error: dereferencing pointer to incomplete type
   if (arg1) (arg1)->adczero = arg2;
                   ^
wfdb_python_wrap.c: In function ¡®_wrap_WFDB_Siginfo_adczero_get¡¯:
wfdb_python_wrap.c:4535:25: error: dereferencing pointer to incomplete type
   result = (int) ((arg1)->adczero);
                         ^
wfdb_python_wrap.c: In function ¡®_wrap_WFDB_Siginfo_baseline_set¡¯:
wfdb_python_wrap.c:4565:19: error: dereferencing pointer to incomplete type
   if (arg1) (arg1)->baseline = arg2;
                   ^
wfdb_python_wrap.c: In function ¡®_wrap_WFDB_Siginfo_baseline_get¡¯:
wfdb_python_wrap.c:4587:25: error: dereferencing pointer to incomplete type
   result = (int) ((arg1)->baseline);
                         ^
wfdb_python_wrap.c: In function ¡®_wrap_WFDB_Siginfo_nsamp_set¡¯:
wfdb_python_wrap.c:4617:19: error: dereferencing pointer to incomplete type
   if (arg1) (arg1)->nsamp = arg2;
                   ^
wfdb_python_wrap.c: In function ¡®_wrap_WFDB_Siginfo_nsamp_get¡¯:
wfdb_python_wrap.c:4639:26: error: dereferencing pointer to incomplete type
   result = (long) ((arg1)->nsamp);
                          ^
wfdb_python_wrap.c: In function ¡®_wrap_WFDB_Siginfo_cksum_set¡¯:
wfdb_python_wrap.c:4669:19: error: dereferencing pointer to incomplete type
   if (arg1) (arg1)->cksum = arg2;
                   ^
wfdb_python_wrap.c: In function ¡®_wrap_WFDB_Siginfo_cksum_get¡¯:
wfdb_python_wrap.c:4691:25: error: dereferencing pointer to incomplete type
   result = (int) ((arg1)->cksum);
                         ^
wfdb_python_wrap.c: In function ¡®_wrap_new_WFDB_Siginfo¡¯:
wfdb_python_wrap.c:4704:52: error: invalid application of ¡®sizeof¡¯ to incomplete type ¡®struct WFDB_Siginfo¡¯
   result = (struct WFDB_Siginfo *)calloc(1, sizeof(struct WFDB_Siginfo));
                                                    ^
wfdb_python_wrap.c: In function ¡®_wrap_WFDB_Calinfo_low_set¡¯:
wfdb_python_wrap.c:4762:19: error: dereferencing pointer to incomplete type
   if (arg1) (arg1)->low = arg2;
                   ^
wfdb_python_wrap.c: In function ¡®_wrap_WFDB_Calinfo_low_get¡¯:
wfdb_python_wrap.c:4784:28: error: dereferencing pointer to incomplete type
   result = (double) ((arg1)->low);
                            ^
wfdb_python_wrap.c: In function ¡®_wrap_WFDB_Calinfo_high_set¡¯:
wfdb_python_wrap.c:4814:19: error: dereferencing pointer to incomplete type
   if (arg1) (arg1)->high = arg2;
                   ^
wfdb_python_wrap.c: In function ¡®_wrap_WFDB_Calinfo_high_get¡¯:
wfdb_python_wrap.c:4836:28: error: dereferencing pointer to incomplete type
   result = (double) ((arg1)->high);
                            ^
wfdb_python_wrap.c: In function ¡®_wrap_WFDB_Calinfo_scale_set¡¯:
wfdb_python_wrap.c:4866:19: error: dereferencing pointer to incomplete type
   if (arg1) (arg1)->scale = arg2;
                   ^
wfdb_python_wrap.c: In function ¡®_wrap_WFDB_Calinfo_scale_get¡¯:
wfdb_python_wrap.c:4888:28: error: dereferencing pointer to incomplete type
   result = (double) ((arg1)->scale);
                            ^
wfdb_python_wrap.c: In function ¡®_wrap_WFDB_Calinfo_sigtype_set¡¯:
wfdb_python_wrap.c:4919:11: error: dereferencing pointer to incomplete type
   if (arg1->sigtype) free((char*)arg1->sigtype);
           ^
wfdb_python_wrap.c:4919:38: error: dereferencing pointer to incomplete type
   if (arg1->sigtype) free((char*)arg1->sigtype);
                                      ^
wfdb_python_wrap.c:4922:9: error: dereferencing pointer to incomplete type
     arg1->sigtype = (char *)(char *)memcpy((char *)malloc((size)*sizeof(char)), (const char *)(arg2), sizeof(char)*(size));
         ^
wfdb_python_wrap.c:4924:9: error: dereferencing pointer to incomplete type
     arg1->sigtype = 0;
         ^
wfdb_python_wrap.c: In function ¡®_wrap_WFDB_Calinfo_sigtype_get¡¯:
wfdb_python_wrap.c:4949:28: error: dereferencing pointer to incomplete type
   result = (char *) ((arg1)->sigtype);
                            ^
wfdb_python_wrap.c: In function ¡®_wrap_WFDB_Calinfo_units_set¡¯:
wfdb_python_wrap.c:4980:11: error: dereferencing pointer to incomplete type
   if (arg1->units) free((char*)arg1->units);
           ^
wfdb_python_wrap.c:4980:36: error: dereferencing pointer to incomplete type
   if (arg1->units) free((char*)arg1->units);
                                    ^
wfdb_python_wrap.c:4983:9: error: dereferencing pointer to incomplete type
     arg1->units = (char *)(char *)memcpy((char *)malloc((size)*sizeof(char)), (const char *)(arg2), sizeof(char)*(size));
         ^
wfdb_python_wrap.c:4985:9: error: dereferencing pointer to incomplete type
     arg1->units = 0;
         ^
wfdb_python_wrap.c: In function ¡®_wrap_WFDB_Calinfo_units_get¡¯:
wfdb_python_wrap.c:5010:28: error: dereferencing pointer to incomplete type
   result = (char *) ((arg1)->units);
                            ^
wfdb_python_wrap.c: In function ¡®_wrap_WFDB_Calinfo_caltype_set¡¯:
wfdb_python_wrap.c:5040:19: error: dereferencing pointer to incomplete type
   if (arg1) (arg1)->caltype = arg2;
                   ^
wfdb_python_wrap.c: In function ¡®_wrap_WFDB_Calinfo_caltype_get¡¯:
wfdb_python_wrap.c:5062:25: error: dereferencing pointer to incomplete type
   result = (int) ((arg1)->caltype);
                         ^
wfdb_python_wrap.c: In function ¡®_wrap_new_WFDB_Calinfo¡¯:
wfdb_python_wrap.c:5075:52: error: invalid application of ¡®sizeof¡¯ to incomplete type ¡®struct WFDB_Calinfo¡¯
   result = (struct WFDB_Calinfo *)calloc(1, sizeof(struct WFDB_Calinfo));
                                                    ^
wfdb_python_wrap.c: In function ¡®_wrap_WFDB_Anninfo_name_set¡¯:
wfdb_python_wrap.c:5134:11: error: dereferencing pointer to incomplete type
   if (arg1->name) free((char*)arg1->name);
           ^
wfdb_python_wrap.c:5134:35: error: dereferencing pointer to incomplete type
   if (arg1->name) free((char*)arg1->name);
                                   ^
wfdb_python_wrap.c:5137:9: error: dereferencing pointer to incomplete type
     arg1->name = (char *)(char *)memcpy((char *)malloc((size)*sizeof(char)), (const char *)(arg2), sizeof(char)*(size));
         ^
wfdb_python_wrap.c:5139:9: error: dereferencing pointer to incomplete type
     arg1->name = 0;
         ^
wfdb_python_wrap.c: In function ¡®_wrap_WFDB_Anninfo_name_get¡¯:
wfdb_python_wrap.c:5164:28: error: dereferencing pointer to incomplete type
   result = (char *) ((arg1)->name);
                            ^
wfdb_python_wrap.c: In function ¡®_wrap_WFDB_Anninfo_stat_set¡¯:
wfdb_python_wrap.c:5194:19: error: dereferencing pointer to incomplete type
   if (arg1) (arg1)->stat = arg2;
                   ^
wfdb_python_wrap.c: In function ¡®_wrap_WFDB_Anninfo_stat_get¡¯:
wfdb_python_wrap.c:5216:25: error: dereferencing pointer to incomplete type
   result = (int) ((arg1)->stat);
                         ^
wfdb_python_wrap.c: In function ¡®_wrap_new_WFDB_Anninfo¡¯:
wfdb_python_wrap.c:5229:52: error: invalid application of ¡®sizeof¡¯ to incomplete type ¡®struct WFDB_Anninfo¡¯
   result = (struct WFDB_Anninfo *)calloc(1, sizeof(struct WFDB_Anninfo));
                                                    ^
wfdb_python_wrap.c: In function ¡®_wrap_WFDB_Annotation_time_set¡¯:
wfdb_python_wrap.c:5287:19: error: dereferencing pointer to incomplete type
   if (arg1) (arg1)->time = arg2;
                   ^
wfdb_python_wrap.c: In function ¡®_wrap_WFDB_Annotation_time_get¡¯:
wfdb_python_wrap.c:5309:31: error: dereferencing pointer to incomplete type
   result = (WFDB_Time) ((arg1)->time);
                               ^
wfdb_python_wrap.c: In function ¡®_wrap_WFDB_Annotation_anntyp_set¡¯:
wfdb_python_wrap.c:5339:19: error: dereferencing pointer to incomplete type
   if (arg1) (arg1)->anntyp = arg2;
                   ^
wfdb_python_wrap.c: In function ¡®_wrap_WFDB_Annotation_anntyp_get¡¯:
wfdb_python_wrap.c:5361:25: error: dereferencing pointer to incomplete type
   result = (int) ((arg1)->anntyp);
                         ^
wfdb_python_wrap.c: In function ¡®_wrap_WFDB_Annotation_subtyp_set¡¯:
wfdb_python_wrap.c:5391:19: error: dereferencing pointer to incomplete type
   if (arg1) (arg1)->subtyp = arg2;
                   ^
wfdb_python_wrap.c: In function ¡®_wrap_WFDB_Annotation_subtyp_get¡¯:
wfdb_python_wrap.c:5413:25: error: dereferencing pointer to incomplete type
   result = (int) ((arg1)->subtyp);
                         ^
wfdb_python_wrap.c: In function ¡®_wrap_WFDB_Annotation_chan_set¡¯:
wfdb_python_wrap.c:5443:19: error: dereferencing pointer to incomplete type
   if (arg1) (arg1)->chan = arg2;
                   ^
wfdb_python_wrap.c: In function ¡®_wrap_WFDB_Annotation_chan_get¡¯:
wfdb_python_wrap.c:5465:25: error: dereferencing pointer to incomplete type
   result = (int) ((arg1)->chan);
                         ^
wfdb_python_wrap.c: In function ¡®_wrap_WFDB_Annotation_num_set¡¯:
wfdb_python_wrap.c:5495:19: error: dereferencing pointer to incomplete type
   if (arg1) (arg1)->num = arg2;
                   ^
wfdb_python_wrap.c: In function ¡®_wrap_WFDB_Annotation_num_get¡¯:
wfdb_python_wrap.c:5517:25: error: dereferencing pointer to incomplete type
   result = (int) ((arg1)->num);
                         ^
wfdb_python_wrap.c: In function ¡®_wrap_WFDB_Annotation_aux_set¡¯:
wfdb_python_wrap.c:5548:11: error: dereferencing pointer to incomplete type
   if (arg1->aux) free((char*)arg1->aux);
           ^
wfdb_python_wrap.c:5548:34: error: dereferencing pointer to incomplete type
   if (arg1->aux) free((char*)arg1->aux);
                                  ^
wfdb_python_wrap.c:5551:9: error: dereferencing pointer to incomplete type
     arg1->aux = (char *)(char *)memcpy((char *)malloc((size)*sizeof(char)), (const char *)(arg2), sizeof(char)*(size));
         ^
wfdb_python_wrap.c:5553:9: error: dereferencing pointer to incomplete type
     arg1->aux = 0;
         ^
wfdb_python_wrap.c: In function ¡®_wrap_WFDB_Annotation_aux_get¡¯:
wfdb_python_wrap.c:5578:28: error: dereferencing pointer to incomplete type
   result = (char *) ((arg1)->aux);
                            ^
wfdb_python_wrap.c: In function ¡®_wrap_new_WFDB_Annotation¡¯:
wfdb_python_wrap.c:5591:55: error: invalid application of ¡®sizeof¡¯ to incomplete type ¡®struct WFDB_Annotation¡¯
   result = (struct WFDB_Annotation *)calloc(1, sizeof(struct WFDB_Annotation));
                                                       ^
In file included from /usr/lib/python2.7/dist-packages/numpy/core/include/numpy/ndarraytypes.h:1761:0,
                 from /usr/lib/python2.7/dist-packages/numpy/core/include/numpy/ndarrayobject.h:17,
                 from /usr/lib/python2.7/dist-packages/numpy/core/include/numpy/arrayobject.h:4,
                 from wfdb_python_wrap.c:3451:
/usr/lib/python2.7/dist-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2: warning: #warning "Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp]
#warning "Using deprecated NumPy API, disable it by " \
  ^
wfdb_python_wrap.c:3457:5: warning: function declaration isn¡¯t a prototype [-Wstrict-prototypes]
int spy_nvsig()
     ^
wfdb_python_wrap.c:3464:5: warning: function declaration isn¡¯t a prototype [-Wstrict-prototypes]
int spy_nsamps()
     ^
wfdb_python_wrap.c: In function ¡®_wrap_WFDB_Siginfo_fname_set¡¯:
wfdb_python_wrap.c:3967:11: error: dereferencing pointer to incomplete type
   if (arg1->fname) free((char*)arg1->fname);
           ^
wfdb_python_wrap.c:3967:36: error: dereferencing pointer to incomplete type
   if (arg1->fname) free((char*)arg1->fname);
                                    ^
wfdb_python_wrap.c:3970:9: error: dereferencing pointer to incomplete type
     arg1->fname = (char *)(char *)memcpy((char *)malloc((size)*sizeof(char)), (const char *)(arg2), sizeof(char)*(size));
         ^
wfdb_python_wrap.c:3972:9: error: dereferencing pointer to incomplete type
     arg1->fname = 0;
         ^
wfdb_python_wrap.c: In function ¡®_wrap_WFDB_Siginfo_fname_get¡¯:
wfdb_python_wrap.c:3997:28: error: dereferencing pointer to incomplete type
   result = (char *) ((arg1)->fname);
                            ^
wfdb_python_wrap.c: In function ¡®_wrap_WFDB_Siginfo_desc_set¡¯:
wfdb_python_wrap.c:4028:11: error: dereferencing pointer to incomplete type
   if (arg1->desc) free((char*)arg1->desc);
           ^
wfdb_python_wrap.c:4028:35: error: dereferencing pointer to incomplete type
   if (arg1->desc) free((char*)arg1->desc);
                                   ^
wfdb_python_wrap.c:4031:9: error: dereferencing pointer to incomplete type
     arg1->desc = (char *)(char *)memcpy((char *)malloc((size)*sizeof(char)), (const char *)(arg2), sizeof(char)*(size));
         ^
wfdb_python_wrap.c:4033:9: error: dereferencing pointer to incomplete type
     arg1->desc = 0;
         ^
wfdb_python_wrap.c: In function ¡®_wrap_WFDB_Siginfo_desc_get¡¯:
wfdb_python_wrap.c:4058:28: error: dereferencing pointer to incomplete type
   result = (char *) ((arg1)->desc);
                            ^
wfdb_python_wrap.c: In function ¡®_wrap_WFDB_Siginfo_units_set¡¯:
wfdb_python_wrap.c:4089:11: error: dereferencing pointer to incomplete type
   if (arg1->units) free((char*)arg1->units);
           ^
wfdb_python_wrap.c:4089:36: error: dereferencing pointer to incomplete type
   if (arg1->units) free((char*)arg1->units);
                                    ^
wfdb_python_wrap.c:4092:9: error: dereferencing pointer to incomplete type
     arg1->units = (char *)(char *)memcpy((char *)malloc((size)*sizeof(char)), (const char *)(arg2), sizeof(char)*(size));
         ^
wfdb_python_wrap.c:4094:9: error: dereferencing pointer to incomplete type
     arg1->units = 0;
         ^
wfdb_python_wrap.c: In function ¡®_wrap_WFDB_Siginfo_units_get¡¯:
wfdb_python_wrap.c:4119:28: error: dereferencing pointer to incomplete type
   result = (char *) ((arg1)->units);
                            ^
wfdb_python_wrap.c: In function ¡®_wrap_WFDB_Siginfo_gain_set¡¯:
wfdb_python_wrap.c:4149:19: error: dereferencing pointer to incomplete type
   if (arg1) (arg1)->gain = arg2;
                   ^
wfdb_python_wrap.c: In function ¡®_wrap_WFDB_Siginfo_gain_get¡¯:
wfdb_python_wrap.c:4171:31: error: dereferencing pointer to incomplete type
   result = (WFDB_Gain) ((arg1)->gain);
                               ^
wfdb_python_wrap.c: In function ¡®_wrap_WFDB_Siginfo_initval_set¡¯:
wfdb_python_wrap.c:4201:19: error: dereferencing pointer to incomplete type
   if (arg1) (arg1)->initval = arg2;
                   ^
wfdb_python_wrap.c: In function ¡®_wrap_WFDB_Siginfo_initval_get¡¯:
wfdb_python_wrap.c:4223:33: error: dereferencing pointer to incomplete type
   result = (WFDB_Sample) ((arg1)->initval);
                                 ^
wfdb_python_wrap.c: In function ¡®_wrap_WFDB_Siginfo_group_set¡¯:
wfdb_python_wrap.c:4253:19: error: dereferencing pointer to incomplete type
   if (arg1) (arg1)->group = arg2;
                   ^
wfdb_python_wrap.c: In function ¡®_wrap_WFDB_Siginfo_group_get¡¯:
wfdb_python_wrap.c:4275:32: error: dereferencing pointer to incomplete type
   result = (WFDB_Group) ((arg1)->group);
                                ^
wfdb_python_wrap.c: In function ¡®_wrap_WFDB_Siginfo_fmt_set¡¯:
wfdb_python_wrap.c:4305:19: error: dereferencing pointer to incomplete type
   if (arg1) (arg1)->fmt = arg2;
                   ^
wfdb_python_wrap.c: In function ¡®_wrap_WFDB_Siginfo_fmt_get¡¯:
wfdb_python_wrap.c:4327:25: error: dereferencing pointer to incomplete type
   result = (int) ((arg1)->fmt);
                         ^
wfdb_python_wrap.c: In function ¡®_wrap_WFDB_Siginfo_spf_set¡¯:
wfdb_python_wrap.c:4357:19: error: dereferencing pointer to incomplete type
   if (arg1) (arg1)->spf = arg2;
                   ^
wfdb_python_wrap.c: In function ¡®_wrap_WFDB_Siginfo_spf_get¡¯:
wfdb_python_wrap.c:4379:25: error: dereferencing pointer to incomplete type
   result = (int) ((arg1)->spf);
                         ^
wfdb_python_wrap.c: In function ¡®_wrap_WFDB_Siginfo_bsize_set¡¯:
wfdb_python_wrap.c:4409:19: error: dereferencing pointer to incomplete type
   if (arg1) (arg1)->bsize = arg2;
                   ^
wfdb_python_wrap.c: In function ¡®_wrap_WFDB_Siginfo_bsize_get¡¯:
wfdb_python_wrap.c:4431:25: error: dereferencing pointer to incomplete type
   result = (int) ((arg1)->bsize);
                         ^
wfdb_python_wrap.c: In function ¡®_wrap_WFDB_Siginfo_adcres_set¡¯:
wfdb_python_wrap.c:4461:19: error: dereferencing pointer to incomplete type
   if (arg1) (arg1)->adcres = arg2;
                   ^
wfdb_python_wrap.c: In function ¡®_wrap_WFDB_Siginfo_adcres_get¡¯:
wfdb_python_wrap.c:4483:25: error: dereferencing pointer to incomplete type
   result = (int) ((arg1)->adcres);
                         ^
wfdb_python_wrap.c: In function ¡®_wrap_WFDB_Siginfo_adczero_set¡¯:
wfdb_python_wrap.c:4513:19: error: dereferencing pointer to incomplete type
   if (arg1) (arg1)->adczero = arg2;
                   ^
wfdb_python_wrap.c: In function ¡®_wrap_WFDB_Siginfo_adczero_get¡¯:
wfdb_python_wrap.c:4535:25: error: dereferencing pointer to incomplete type
   result = (int) ((arg1)->adczero);
                         ^
wfdb_python_wrap.c: In function ¡®_wrap_WFDB_Siginfo_baseline_set¡¯:
wfdb_python_wrap.c:4565:19: error: dereferencing pointer to incomplete type
   if (arg1) (arg1)->baseline = arg2;
                   ^
wfdb_python_wrap.c: In function ¡®_wrap_WFDB_Siginfo_baseline_get¡¯:
wfdb_python_wrap.c:4587:25: error: dereferencing pointer to incomplete type
   result = (int) ((arg1)->baseline);
                         ^
wfdb_python_wrap.c: In function ¡®_wrap_WFDB_Siginfo_nsamp_set¡¯:
wfdb_python_wrap.c:4617:19: error: dereferencing pointer to incomplete type
   if (arg1) (arg1)->nsamp = arg2;
                   ^
wfdb_python_wrap.c: In function ¡®_wrap_WFDB_Siginfo_nsamp_get¡¯:
wfdb_python_wrap.c:4639:26: error: dereferencing pointer to incomplete type
   result = (long) ((arg1)->nsamp);
                          ^
wfdb_python_wrap.c: In function ¡®_wrap_WFDB_Siginfo_cksum_set¡¯:
wfdb_python_wrap.c:4669:19: error: dereferencing pointer to incomplete type
   if (arg1) (arg1)->cksum = arg2;
                   ^
wfdb_python_wrap.c: In function ¡®_wrap_WFDB_Siginfo_cksum_get¡¯:
wfdb_python_wrap.c:4691:25: error: dereferencing pointer to incomplete type
   result = (int) ((arg1)->cksum);
                         ^
wfdb_python_wrap.c: In function ¡®_wrap_new_WFDB_Siginfo¡¯:
wfdb_python_wrap.c:4704:52: error: invalid application of ¡®sizeof¡¯ to incomplete type ¡®struct WFDB_Siginfo¡¯
   result = (struct WFDB_Siginfo *)calloc(1, sizeof(struct WFDB_Siginfo));
                                                    ^
wfdb_python_wrap.c: In function ¡®_wrap_WFDB_Calinfo_low_set¡¯:
wfdb_python_wrap.c:4762:19: error: dereferencing pointer to incomplete type
   if (arg1) (arg1)->low = arg2;
                   ^
wfdb_python_wrap.c: In function ¡®_wrap_WFDB_Calinfo_low_get¡¯:
wfdb_python_wrap.c:4784:28: error: dereferencing pointer to incomplete type
   result = (double) ((arg1)->low);
                            ^
wfdb_python_wrap.c: In function ¡®_wrap_WFDB_Calinfo_high_set¡¯:
wfdb_python_wrap.c:4814:19: error: dereferencing pointer to incomplete type
   if (arg1) (arg1)->high = arg2;
                   ^
wfdb_python_wrap.c: In function ¡®_wrap_WFDB_Calinfo_high_get¡¯:
wfdb_python_wrap.c:4836:28: error: dereferencing pointer to incomplete type
   result = (double) ((arg1)->high);
                            ^
wfdb_python_wrap.c: In function ¡®_wrap_WFDB_Calinfo_scale_set¡¯:
wfdb_python_wrap.c:4866:19: error: dereferencing pointer to incomplete type
   if (arg1) (arg1)->scale = arg2;
                   ^
wfdb_python_wrap.c: In function ¡®_wrap_WFDB_Calinfo_scale_get¡¯:
wfdb_python_wrap.c:4888:28: error: dereferencing pointer to incomplete type
   result = (double) ((arg1)->scale);
                            ^
wfdb_python_wrap.c: In function ¡®_wrap_WFDB_Calinfo_sigtype_set¡¯:
wfdb_python_wrap.c:4919:11: error: dereferencing pointer to incomplete type
   if (arg1->sigtype) free((char*)arg1->sigtype);
           ^
wfdb_python_wrap.c:4919:38: error: dereferencing pointer to incomplete type
   if (arg1->sigtype) free((char*)arg1->sigtype);
                                      ^
wfdb_python_wrap.c:4922:9: error: dereferencing pointer to incomplete type
     arg1->sigtype = (char *)(char *)memcpy((char *)malloc((size)*sizeof(char)), (const char *)(arg2), sizeof(char)*(size));
         ^
wfdb_python_wrap.c:4924:9: error: dereferencing pointer to incomplete type
     arg1->sigtype = 0;
         ^
wfdb_python_wrap.c: In function ¡®_wrap_WFDB_Calinfo_sigtype_get¡¯:
wfdb_python_wrap.c:4949:28: error: dereferencing pointer to incomplete type
   result = (char *) ((arg1)->sigtype);
                            ^
wfdb_python_wrap.c: In function ¡®_wrap_WFDB_Calinfo_units_set¡¯:
wfdb_python_wrap.c:4980:11: error: dereferencing pointer to incomplete type
   if (arg1->units) free((char*)arg1->units);
           ^
wfdb_python_wrap.c:4980:36: error: dereferencing pointer to incomplete type
   if (arg1->units) free((char*)arg1->units);
                                    ^
wfdb_python_wrap.c:4983:9: error: dereferencing pointer to incomplete type
     arg1->units = (char *)(char *)memcpy((char *)malloc((size)*sizeof(char)), (const char *)(arg2), sizeof(char)*(size));
         ^
wfdb_python_wrap.c:4985:9: error: dereferencing pointer to incomplete type
     arg1->units = 0;
         ^
wfdb_python_wrap.c: In function ¡®_wrap_WFDB_Calinfo_units_get¡¯:
wfdb_python_wrap.c:5010:28: error: dereferencing pointer to incomplete type
   result = (char *) ((arg1)->units);
                            ^
wfdb_python_wrap.c: In function ¡®_wrap_WFDB_Calinfo_caltype_set¡¯:
wfdb_python_wrap.c:5040:19: error: dereferencing pointer to incomplete type
   if (arg1) (arg1)->caltype = arg2;
                   ^
wfdb_python_wrap.c: In function ¡®_wrap_WFDB_Calinfo_caltype_get¡¯:
wfdb_python_wrap.c:5062:25: error: dereferencing pointer to incomplete type
   result = (int) ((arg1)->caltype);
                         ^
wfdb_python_wrap.c: In function ¡®_wrap_new_WFDB_Calinfo¡¯:
wfdb_python_wrap.c:5075:52: error: invalid application of ¡®sizeof¡¯ to incomplete type ¡®struct WFDB_Calinfo¡¯
   result = (struct WFDB_Calinfo *)calloc(1, sizeof(struct WFDB_Calinfo));
                                                    ^
wfdb_python_wrap.c: In function ¡®_wrap_WFDB_Anninfo_name_set¡¯:
wfdb_python_wrap.c:5134:11: error: dereferencing pointer to incomplete type
   if (arg1->name) free((char*)arg1->name);
           ^
wfdb_python_wrap.c:5134:35: error: dereferencing pointer to incomplete type
   if (arg1->name) free((char*)arg1->name);
                                   ^
wfdb_python_wrap.c:5137:9: error: dereferencing pointer to incomplete type
     arg1->name = (char *)(char *)memcpy((char *)malloc((size)*sizeof(char)), (const char *)(arg2), sizeof(char)*(size));
         ^
wfdb_python_wrap.c:5139:9: error: dereferencing pointer to incomplete type
     arg1->name = 0;
         ^
wfdb_python_wrap.c: In function ¡®_wrap_WFDB_Anninfo_name_get¡¯:
wfdb_python_wrap.c:5164:28: error: dereferencing pointer to incomplete type
   result = (char *) ((arg1)->name);
                            ^
wfdb_python_wrap.c: In function ¡®_wrap_WFDB_Anninfo_stat_set¡¯:
wfdb_python_wrap.c:5194:19: error: dereferencing pointer to incomplete type
   if (arg1) (arg1)->stat = arg2;
                   ^
wfdb_python_wrap.c: In function ¡®_wrap_WFDB_Anninfo_stat_get¡¯:
wfdb_python_wrap.c:5216:25: error: dereferencing pointer to incomplete type
   result = (int) ((arg1)->stat);
                         ^
wfdb_python_wrap.c: In function ¡®_wrap_new_WFDB_Anninfo¡¯:
wfdb_python_wrap.c:5229:52: error: invalid application of ¡®sizeof¡¯ to incomplete type ¡®struct WFDB_Anninfo¡¯
   result = (struct WFDB_Anninfo *)calloc(1, sizeof(struct WFDB_Anninfo));
                                                    ^
wfdb_python_wrap.c: In function ¡®_wrap_WFDB_Annotation_time_set¡¯:
wfdb_python_wrap.c:5287:19: error: dereferencing pointer to incomplete type
   if (arg1) (arg1)->time = arg2;
                   ^
wfdb_python_wrap.c: In function ¡®_wrap_WFDB_Annotation_time_get¡¯:
wfdb_python_wrap.c:5309:31: error: dereferencing pointer to incomplete type
   result = (WFDB_Time) ((arg1)->time);
                               ^
wfdb_python_wrap.c: In function ¡®_wrap_WFDB_Annotation_anntyp_set¡¯:
wfdb_python_wrap.c:5339:19: error: dereferencing pointer to incomplete type
   if (arg1) (arg1)->anntyp = arg2;
                   ^
wfdb_python_wrap.c: In function ¡®_wrap_WFDB_Annotation_anntyp_get¡¯:
wfdb_python_wrap.c:5361:25: error: dereferencing pointer to incomplete type
   result = (int) ((arg1)->anntyp);
                         ^
wfdb_python_wrap.c: In function ¡®_wrap_WFDB_Annotation_subtyp_set¡¯:
wfdb_python_wrap.c:5391:19: error: dereferencing pointer to incomplete type
   if (arg1) (arg1)->subtyp = arg2;
                   ^
wfdb_python_wrap.c: In function ¡®_wrap_WFDB_Annotation_subtyp_get¡¯:
wfdb_python_wrap.c:5413:25: error: dereferencing pointer to incomplete type
   result = (int) ((arg1)->subtyp);
                         ^
wfdb_python_wrap.c: In function ¡®_wrap_WFDB_Annotation_chan_set¡¯:
wfdb_python_wrap.c:5443:19: error: dereferencing pointer to incomplete type
   if (arg1) (arg1)->chan = arg2;
                   ^
wfdb_python_wrap.c: In function ¡®_wrap_WFDB_Annotation_chan_get¡¯:
wfdb_python_wrap.c:5465:25: error: dereferencing pointer to incomplete type
   result = (int) ((arg1)->chan);
                         ^
wfdb_python_wrap.c: In function ¡®_wrap_WFDB_Annotation_num_set¡¯:
wfdb_python_wrap.c:5495:19: error: dereferencing pointer to incomplete type
   if (arg1) (arg1)->num = arg2;
                   ^
wfdb_python_wrap.c: In function ¡®_wrap_WFDB_Annotation_num_get¡¯:
wfdb_python_wrap.c:5517:25: error: dereferencing pointer to incomplete type
   result = (int) ((arg1)->num);
                         ^
wfdb_python_wrap.c: In function ¡®_wrap_WFDB_Annotation_aux_set¡¯:
wfdb_python_wrap.c:5548:11: error: dereferencing pointer to incomplete type
   if (arg1->aux) free((char*)arg1->aux);
           ^
wfdb_python_wrap.c:5548:34: error: dereferencing pointer to incomplete type
   if (arg1->aux) free((char*)arg1->aux);
                                  ^
wfdb_python_wrap.c:5551:9: error: dereferencing pointer to incomplete type
     arg1->aux = (char *)(char *)memcpy((char *)malloc((size)*sizeof(char)), (const char *)(arg2), sizeof(char)*(size));
         ^
wfdb_python_wrap.c:5553:9: error: dereferencing pointer to incomplete type
     arg1->aux = 0;
         ^
wfdb_python_wrap.c: In function ¡®_wrap_WFDB_Annotation_aux_get¡¯:
wfdb_python_wrap.c:5578:28: error: dereferencing pointer to incomplete type
   result = (char *) ((arg1)->aux);
                            ^
wfdb_python_wrap.c: In function ¡®_wrap_new_WFDB_Annotation¡¯:
wfdb_python_wrap.c:5591:55: error: invalid application of ¡®sizeof¡¯ to incomplete type ¡®struct WFDB_Annotation¡¯
   result = (struct WFDB_Annotation *)calloc(1, sizeof(struct WFDB_Annotation));
                                                       ^
error: Command "i686-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -I/usr/local/include -fPIC -I/usr/local/include -I/usr/lib/python2.7/dist-packages/numpy/core/include -I/usr/include/python2.7 -c wfdb_python_wrap.c -o build/temp.linux-i686-2.7/wfdb_python_wrap.o" failed with exit status 1
Makefile:10: recipe for target 'all' failed
make: *** [all] Error 1


ÐÂÊÖ²»Ì«Á˽âCÓëPYTHONµÄת»»£¬Çó´óÉñ½âÊÍ
»Ø¸´´ËÂ¥

» ²ÂÄãϲ»¶

ºÃ
ÒÑÔÄ   »Ø¸´´ËÂ¥   ¹Ø×¢TA ¸øTA·¢ÏûÏ¢ ËÍTAºì»¨ TAµÄ»ØÌû
Ïà¹Ø°æ¿éÌø×ª ÎÒÒª¶©ÔÄÂ¥Ö÷ sddxwytxfh µÄÖ÷Ìâ¸üÐÂ
×î¾ßÈËÆøÈÈÌûÍÆ¼ö [²é¿´È«²¿] ×÷Õß »Ø/¿´ ×îºó·¢±í
[¿¼ÑÐ] »úеµ÷¼Á +3 zzzbcb 2026-04-07 3/150 2026-04-07 22:19 by hemengdong
[¿¼ÑÐ] ÉúÎïѧ308·ÖÇóµ÷¼Á£¨Ò»Ö¾Ô¸»ª¶«Ê¦´ó£©×ö¹ý·Ö×ÓʵÑé +4 ÏàÐűػá¹ââÍòÕ 2026-04-07 5/250 2026-04-07 20:41 by Çóµ÷¼Ázz
[¿¼ÑÐ] µ÷¼ÁÇóÖú£¨ÉúÎïÓëÒ½Ò©£© +5 @6952 2026-04-06 5/250 2026-04-07 20:31 by syh9288
[¿¼ÑÐ] Ò»Ö¾Ô¸Î÷ÄÏ090202Çóµ÷¼Á +4 ÔÚÏßÇóÓÐѧÉÏ 2026-04-07 4/200 2026-04-07 19:47 by biomichael
[¿¼ÑÐ] Çóµ÷¼Á +10 wwwwabcde 2026-04-07 10/500 2026-04-07 17:25 by ƽ´º@
[¿¼ÑÐ] һ־Ը̫ԭÀí¹¤´óѧ¼ÆËã»ú¼¼Êõר˶348£¬Çóµ÷¼ÁÖ¸µ¼ +3 nexious 2026-04-05 3/150 2026-04-07 08:19 by jp9609
[¿¼ÑÐ] 26×ÔÈ»µØÀíѧ303·ÖÇóµ÷¼Á +4 Ò»Õ½³É˶°¡°¡°¡° 2026-04-06 9/450 2026-04-06 20:35 by lin-da
[¿¼ÑÐ] 301Çóµ÷¼Á +3 XYPLR 2026-04-05 4/200 2026-04-05 19:07 by XYPLR
[¿¼ÑÐ] 323Çóµ÷¼Á +8 Àî¼ÑÀÖ1 2026-04-04 8/400 2026-04-04 22:26 by hemengdong
[¿¼ÑÐ] 22408£¬264Çóµ÷¼Á +3 ywh729 2026-04-03 4/200 2026-04-04 11:04 by ywh729
[¿¼ÑÐ] 265Çóµ÷¼Á +20 ÁºÁºÐ£Ð£ 2026-04-01 21/1050 2026-04-04 00:38 by userper
[¿¼ÑÐ] 372·Ö²ÄÁÏÓ뻯¹¤£¨085600£©Ò»Ö¾Ô¸ºþÄÏ´óѧÇóµ÷¼Á +3 À¶¼ãƬ 2026-04-03 4/200 2026-04-03 17:58 by Jimmyandyou
[¿¼ÑÐ] 293Çóµ÷¼Á +5 ĩδmm 2026-04-02 6/300 2026-04-03 15:20 by Íõ±£½Ü33
[¿¼ÑÐ] 085801 ×Ü·Ö275 ±¾¿ÆÐÂÄÜÔ´ Çóµ÷¼Á +19 bradoner 2026-04-01 23/1150 2026-04-03 10:07 by linyelide
[¿¼ÑÐ] ¸´ÊÔµ÷¼Á +3 bvzz 2026-04-01 3/150 2026-04-03 09:47 by À¶ÔÆË¼Óê
[¿¼ÑÐ] ²ÄÁÏ¿¼Ñе÷¼Á +10 Gs´óÍõ 2026-04-02 10/500 2026-04-03 09:47 by ÒÅÍüÏûʧµÄž™
[¿¼ÑÐ] 295Çóµ÷¼Á +7 Ô¸ÂÃ;ÓÀԶ̹Ȼ 2026-04-02 7/350 2026-04-03 08:22 by fangshan711
[¿¼ÑÐ] 296Çóµ÷¼Á +4 sdhu 2026-04-02 4/200 2026-04-02 21:29 by baoball
[¿¼ÑÐ] 260Çóµ÷¼Á +6 ÖìÜÆÁÕ 2026-04-02 6/300 2026-04-02 20:27 by 6781022
[¿¼ÑÐ] ²ÄÁÏר˶322·Ö +11 ¹þ¹þ¹þºðºðºð¹þ 2026-04-01 11/550 2026-04-02 10:52 by lnilvy
ÐÅÏ¢Ìáʾ
ÇëÌî´¦ÀíÒâ¼û