Ask Your Question

junningliu's profile - activity

2018-02-16 17:09:19 -0600 received badge  Popular Question (source)
2013-09-19 02:29:06 -0600 asked a question Help: OpenCV Make issue

I have a problem when i use 'make',

Linking CXX executable ../../bin/opencv_test_gpu
[ 94%] Built target opencv_test_gpu
[ 94%] Generating pyopencv_generated_funcs.h, pyopencv_generated_func_tab.h, pyopencv_generated_types.h, pyopencv_generated_type_reg.h, pyopencv_generated_const_reg.h
Warning: class Feature2D has more than 1 base class (not supported by Python C extensions)
Bases:  cv::FeatureDetector, cv::DescriptorExtractor
Only the first base class will be used
[ 94%] Generating generated0.i
Generated 377 functions
Scanning dependencies of target opencv_python
[ 94%] Building CXX object modules/python/CMakeFiles/opencv_python.dir/src2/cv2.cpp.o
/home/junningliu/下载/OpenCV-2.4.3/modules/python/src2/cv2.cpp:9:33: fatal error: numpy/ndarrayobject.h: have no file
compilation terminated.
make[2]: *** [modules/python/CMakeFiles/opencv_python.dir/src2/cv2.cpp.o] fault 1
make[1]: *** [modules/python/CMakeFiles/opencv_python.dir/all] fault 2
make: *** [all] fault 2