sergeyk / selective_search_ijcv_with_python

Simple Python script to compute Selective Search proposals in Matlab.
Other
183 stars 113 forks source link

Error when running the demo.m in selective_search_ijcv_with_python #16

Open she-huanbo opened 8 years ago

she-huanbo commented 8 years ago

I download selective_search_ijcv_with_python and run the demo with matlab ;but I get the error is as follows:

Demo of how to run the code for: J. Uijlings, K. van de Sande, T. Gevers, A. Smeulders Segmentation as Selective Search for Object Recognition IJCV 2013

Compiling the anisotropic gauss filtering of: J. Geusebroek, A. Smeulders, and J. van de Weijer Fast anisotropic gauss filtering IEEE Transactions on Image Processing, 2003 Source code/Project page: http://staff.science.uva.nl/~mark/downloads.html#anigauss

Building with 'gcc'. Error using mex /home/eesnake/caffe_code/rcnn-master/selective_search/selective_search_ijcv_with_python/Dependencies/anigaussm/anigauss.c: In function ‘void f_iir_ylinefilter(double, double, int, int, double)’: /home/eesnake/caffe_code/rcnn-master/selective_search/selective_search_ijcv_withpython/Dependencies/anigaussm/anigauss.c:329:43: error: invalid conversion from ‘void’ to ‘double_’ [-fpermissive] /home/eesnake/caffe_code/rcnn-master/selective_search/selective_search_ijcv_withpython/Dependencies/anigaussm/anigauss.c:331:35: error: invalid conversion from ‘void’ to ‘double_’ [-fpermissive] /home/eesnake/caffe_code/rcnn-master/selective_search/selective_search_ijcv_withpython/Dependencies/anigaussm/anigauss.c:332:35: error: invalid conversion from ‘void’ to ‘double_’ [-fpermissive] /home/eesnake/caffe_code/rcnn-master/selective_search/selective_search_ijcv_withpython/Dependencies/anigaussm/anigauss.c:333:35: error: invalid conversion from ‘void’ to ‘double_’ [-fpermissive] /home/eesnake/caffe_code/rcnn-master/selective_search/selective_search_ijcv_withpython/Dependencies/anigaussm/anigauss.c:334:35: error: invalid conversion from ‘void’ to ‘double_’ [-fpermissive] /home/eesnake/caffe_code/rcnn-master/selective_search/selective_search_ijcv_with_python/Dependencies/anigaussm/anigauss.c: In function ‘void f_iir_tlinefilter(double, double, int, int, double, double)’: /home/eesnake/caffe_code/rcnn-master/selective_search/selective_search_ijcv_withpython/Dependencies/anigaussm/anigauss.c:436:43: error: invalid conversion from ‘void’ to ‘double_’ [-fpermissive] /home/eesnake/caffe_code/rcnn-master/selective_search/selective_search_ijcv_withpython/Dependencies/anigaussm/anigauss.c:439:47: error: invalid conversion from ‘void’ to ‘double_’ [-fpermissive] /home/eesnake/caffe_code/rcnn-master/selective_search/selective_search_ijcv_withpython/Dependencies/anigaussm/anigauss.c:440:47: error: invalid conversion from ‘void’ to ‘double_’ [-fpermissive] /home/eesnake/caffe_code/rcnn-master/selective_search/selective_search_ijcv_withpython/Dependencies/anigaussm/anigauss.c:441:47: error: invalid conversion from ‘void’ to ‘double_’ [-fpermissive] /home/eesnake/caffe_code/rcnn-master/selective_search/selective_search_ijcv_withpython/Dependencies/anigaussm/anigauss.c:442:47: error: invalid conversion from ‘void’ to ‘double_’ [-fpermissive] /home/eesnake/caffe_code/rcnn-master/selective_search/selective_search_ijcv_with_python/Dependencies/anigaussm/anigauss.c: In function ‘void f_iir_derivativefilter(double, double_, int, int, double, int)’: /home/eesnake/caffe_code/rcnn-master/selective_search/selective_search_ijcv_withpython/Dependencies/anigaussm/anigauss.c:648:32: error: invalid conversion from ‘void’ to ‘double_’ [-fpermissive]

Error in demo (line 20) mex Dependencies/anigaussm/anigauss_mex.c Dependencies/anigaussm/anigauss.c -output anigauss

Has anybody else come across this error or do you have suggestions how to deal with it?

Thanks!