You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi
I am trying to build this package in Ubuntu 16.04 and I have 3 versions of python i.e python2.7, python3.5 and python3.6. It is building successfully but after going for make it is showing fatal error.
I am posting below kindly help.
user@BLRMIESPC-756:~/numpy-opencv-converter-master/build$ cmake .. -- The C compiler identification is GNU 5.4.0 -- The CXX compiler identification is GNU 5.4.0 -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.1") -- Checking for module 'opencv' -- Found opencv, version 3.3.1 -- Boost version: 1.58.0 -- Found the following Boost libraries: -- python -- system -- Found PythonLibs: /usr/lib/x86_64-linux-gnu/libpython3.6m.so (found version "3.6.3") -- Boost version: 1.58.0 -- Found the following Boost libraries: -- python -- system -- Configuring done -- Generating done -- Build files have been written to: /home/user/numpy-opencv-converter-master/build
After typing make user@BLRMIESPC-756:~/numpy-opencv-converter-master/build$ make Scanning dependencies of target np_opencv_converter [ 20%] Building CXX object CMakeFiles/np_opencv_converter.dir/np_opencv_converter.cpp.o In file included from /home/user/numpy-opencv-converter-master/np_opencv_converter.hpp:15:0, from /home/user/numpy-opencv-converter-master/np_opencv_converter.cpp:5: /home/user/numpy-opencv-converter-master/utils/conversion.h:10:33: fatal error: numpy/ndarrayobject.h: No such file or directory compilation terminated. CMakeFiles/np_opencv_converter.dir/build.make:62: recipe for target 'CMakeFiles/np_opencv_converter.dir/np_opencv_converter.cpp.o' failed make[2]: *** [CMakeFiles/np_opencv_converter.dir/np_opencv_converter.cpp.o] Error 1 CMakeFiles/Makefile2:104: recipe for target 'CMakeFiles/np_opencv_converter.dir/all' failed make[1]: *** [CMakeFiles/np_opencv_converter.dir/all] Error 2 Makefile:83: recipe for target 'all' failed make: *** [all] Error 2
The text was updated successfully, but these errors were encountered:
Hi
I am trying to build this package in Ubuntu 16.04 and I have 3 versions of python i.e python2.7, python3.5 and python3.6. It is building successfully but after going for
make
it is showing fatal error.I am posting below kindly help.
user@BLRMIESPC-756:~/numpy-opencv-converter-master/build$ cmake .. -- The C compiler identification is GNU 5.4.0 -- The CXX compiler identification is GNU 5.4.0 -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.1") -- Checking for module 'opencv' -- Found opencv, version 3.3.1 -- Boost version: 1.58.0 -- Found the following Boost libraries: -- python -- system -- Found PythonLibs: /usr/lib/x86_64-linux-gnu/libpython3.6m.so (found version "3.6.3") -- Boost version: 1.58.0 -- Found the following Boost libraries: -- python -- system -- Configuring done -- Generating done -- Build files have been written to: /home/user/numpy-opencv-converter-master/build
After typing make
user@BLRMIESPC-756:~/numpy-opencv-converter-master/build$ make Scanning dependencies of target np_opencv_converter [ 20%] Building CXX object CMakeFiles/np_opencv_converter.dir/np_opencv_converter.cpp.o In file included from /home/user/numpy-opencv-converter-master/np_opencv_converter.hpp:15:0, from /home/user/numpy-opencv-converter-master/np_opencv_converter.cpp:5: /home/user/numpy-opencv-converter-master/utils/conversion.h:10:33: fatal error: numpy/ndarrayobject.h: No such file or directory compilation terminated. CMakeFiles/np_opencv_converter.dir/build.make:62: recipe for target 'CMakeFiles/np_opencv_converter.dir/np_opencv_converter.cpp.o' failed make[2]: *** [CMakeFiles/np_opencv_converter.dir/np_opencv_converter.cpp.o] Error 1 CMakeFiles/Makefile2:104: recipe for target 'CMakeFiles/np_opencv_converter.dir/all' failed make[1]: *** [CMakeFiles/np_opencv_converter.dir/all] Error 2 Makefile:83: recipe for target 'all' failed make: *** [all] Error 2
The text was updated successfully, but these errors were encountered: