justadudewhohacks / opencv4nodejs

Nodejs bindings to OpenCV 3 and OpenCV 4
MIT License
4.96k stars 827 forks source link

auto install failure #436

Closed Jingzhi-Super closed 6 years ago

Jingzhi-Super commented 6 years ago

Hi, I'm using auto install under Ubuntu 16.04 I just ran 'npm install' directly inside the downloaded repo.

the terminal said this:

[ 35%] Linking CXX shared library ../../lib/libopencv_core.so [ 35%] Built target opencv_core Makefile:162: recipe for target 'all' failed make: *** [all] Error 2 ERR! child process exited with code 2 npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! opencv-build@0.0.15 install: node ./install.js npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the opencv-build@0.0.15 install script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

Could you help me with this? Thank you.

justadudewhohacks commented 6 years ago

Hi,

I need the error message/s from the output of the install script, the summary is not sufficient.

Jingzhi-Super commented 6 years ago

here's everything from the terminal. Many thanks.

~/opencv4nodejs$ npm install

opencv-build@0.0.15 install /home/jingzhiw/opencv4nodejs/node_modules/opencv-build node ./install.js

info install if you want to use an own OpenCV installation set OPENCV4NODEJS_DISABLE_AUTOBUILD info install library dir does not exist: /home/jingzhiw/opencv4nodejs/node_modules/opencv-build/opencv/build/lib info install running install script... Cloning into 'opencv_contrib'... remote: Enumerating objects: 2149, done. remote: Counting objects: 100% (2149/2149), done. remote: Compressing objects: 100% (1897/1897), done. remote: Total 2149 (delta 355), reused 1179 (delta 142), pack-reused 0 Receiving objects: 100% (2149/2149), 50.82 MiB | 2.99 MiB/s, done. Resolving deltas: 100% (355/355), done. Checking connectivity... done. Note: checking out '1f6d6f06266e1ef336437ae5404bee1c65d42cda'.

You are in 'detached HEAD' state. You can look around, make experimental changes and commit them, and you can discard any commits you make in this state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may do so (now or later) by using -b with the checkout command again. Example:

git checkout -b

Cloning into 'opencv'... remote: Enumerating objects: 7192, done. remote: Counting objects: 100% (7192/7192), done. remote: Compressing objects: 100% (6112/6112), done. remote: Total 7192 (delta 1150), reused 3937 (delta 707), pack-reused 0 Receiving objects: 100% (7192/7192), 80.72 MiB | 2.25 MiB/s, done. Resolving deltas: 100% (1150/1150), done. Checking connectivity... done. Note: checking out 'b38c50b3d0c31e82294315ec44b54b7ef559ef12'.

You are in 'detached HEAD' state. You can look around, make experimental changes and commit them, and you can discard any commits you make in this state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may do so (now or later) by using -b with the checkout command again. Example:

git checkout -b

-- The CXX compiler identification is GNU 5.4.0 -- The C compiler identification is GNU 5.4.0 -- 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 -- 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 -- Performing Test HAVE_CXX11 (check file: cmake/checks/cxx11.cpp) -- Performing Test HAVE_CXX11 - Failed -- Found PythonInterp: /usr/bin/python2.7 (found suitable version "2.7.12", minimum required is "2.7") -- Found PythonLibs: /usr/lib/x86_64-linux-gnu/libpython2.7.so (found suitable exact version "2.7.12") -- Found PythonInterp: /home/jingzhiw/anaconda3/bin/python3 (found suitable version "3.6.5", minimum required is "3.4") -- Found PythonLibs: /home/jingzhiw/anaconda3/lib/libpython3.6m.so (found suitable exact version "3.6.5") -- Looking for ccache - not found -- Performing Test HAVE_CXX_FSIGNED_CHAR -- Performing Test HAVE_CXX_FSIGNED_CHAR - Success -- Performing Test HAVE_C_FSIGNED_CHAR -- Performing Test HAVE_C_FSIGNED_CHAR - Success -- Performing Test HAVE_CXX_W -- Performing Test HAVE_CXX_W - Success -- Performing Test HAVE_C_W -- Performing Test HAVE_C_W - Success -- Performing Test HAVE_CXX_WALL -- Performing Test HAVE_CXX_WALL - Success -- Performing Test HAVE_C_WALL -- Performing Test HAVE_C_WALL - Success -- Performing Test HAVE_CXX_WERROR_RETURN_TYPE -- Performing Test HAVE_CXX_WERROR_RETURN_TYPE - Success -- Performing Test HAVE_C_WERROR_RETURN_TYPE -- Performing Test HAVE_C_WERROR_RETURN_TYPE - Success -- Performing Test HAVE_CXX_WERROR_NON_VIRTUAL_DTOR -- Performing Test HAVE_CXX_WERROR_NON_VIRTUAL_DTOR - Success -- Performing Test HAVE_C_WERROR_NON_VIRTUAL_DTOR -- Performing Test HAVE_C_WERROR_NON_VIRTUAL_DTOR - Success -- Performing Test HAVE_CXX_WERROR_ADDRESS -- Performing Test HAVE_CXX_WERROR_ADDRESS - Success -- Performing Test HAVE_C_WERROR_ADDRESS -- Performing Test HAVE_C_WERROR_ADDRESS - Success -- Performing Test HAVE_CXX_WERROR_SEQUENCE_POINT -- Performing Test HAVE_CXX_WERROR_SEQUENCE_POINT - Success -- Performing Test HAVE_C_WERROR_SEQUENCE_POINT -- Performing Test HAVE_C_WERROR_SEQUENCE_POINT - Success -- Performing Test HAVE_CXX_WFORMAT -- Performing Test HAVE_CXX_WFORMAT - Success -- Performing Test HAVE_C_WFORMAT -- Performing Test HAVE_C_WFORMAT - Success -- Performing Test HAVE_CXX_WERROR_FORMAT_SECURITY -- Performing Test HAVE_CXX_WERROR_FORMAT_SECURITY - Success -- Performing Test HAVE_C_WERROR_FORMAT_SECURITY -- Performing Test HAVE_C_WERROR_FORMAT_SECURITY - Success -- Performing Test HAVE_CXX_WMISSING_DECLARATIONS -- Performing Test HAVE_CXX_WMISSING_DECLARATIONS - Success -- Performing Test HAVE_C_WMISSING_DECLARATIONS -- Performing Test HAVE_C_WMISSING_DECLARATIONS - Success -- Performing Test HAVE_CXX_WMISSING_PROTOTYPES -- Performing Test HAVE_CXX_WMISSING_PROTOTYPES - Failed -- Performing Test HAVE_C_WMISSING_PROTOTYPES -- Performing Test HAVE_C_WMISSING_PROTOTYPES - Success -- Performing Test HAVE_CXX_WSTRICT_PROTOTYPES -- Performing Test HAVE_CXX_WSTRICT_PROTOTYPES - Failed -- Performing Test HAVE_C_WSTRICT_PROTOTYPES -- Performing Test HAVE_C_WSTRICT_PROTOTYPES - Success -- Performing Test HAVE_CXX_WUNDEF -- Performing Test HAVE_CXX_WUNDEF - Success -- Performing Test HAVE_C_WUNDEF -- Performing Test HAVE_C_WUNDEF - Success -- Performing Test HAVE_CXX_WINIT_SELF -- Performing Test HAVE_CXX_WINIT_SELF - Success -- Performing Test HAVE_C_WINIT_SELF -- Performing Test HAVE_C_WINIT_SELF - Success -- Performing Test HAVE_CXX_WPOINTER_ARITH -- Performing Test HAVE_CXX_WPOINTER_ARITH - Success -- Performing Test HAVE_C_WPOINTER_ARITH -- Performing Test HAVE_C_WPOINTER_ARITH - Success -- Performing Test HAVE_CXX_WSHADOW -- Performing Test HAVE_CXX_WSHADOW - Success -- Performing Test HAVE_C_WSHADOW -- Performing Test HAVE_C_WSHADOW - Success -- Performing Test HAVE_CXX_WSIGN_PROMO -- Performing Test HAVE_CXX_WSIGN_PROMO - Success -- Performing Test HAVE_C_WSIGN_PROMO -- Performing Test HAVE_C_WSIGN_PROMO - Failed -- Performing Test HAVE_CXX_WUNINITIALIZED -- Performing Test HAVE_CXX_WUNINITIALIZED - Success -- Performing Test HAVE_C_WUNINITIALIZED -- Performing Test HAVE_C_WUNINITIALIZED - Success -- Performing Test HAVE_CXX_WNO_NARROWING -- Performing Test HAVE_CXX_WNO_NARROWING - Success -- Performing Test HAVE_C_WNO_NARROWING -- Performing Test HAVE_C_WNO_NARROWING - Success -- Performing Test HAVE_CXX_WNO_DELETE_NON_VIRTUAL_DTOR -- Performing Test HAVE_CXX_WNO_DELETE_NON_VIRTUAL_DTOR - Success -- Performing Test HAVE_C_WNO_DELETE_NON_VIRTUAL_DTOR -- Performing Test HAVE_C_WNO_DELETE_NON_VIRTUAL_DTOR - Failed -- Performing Test HAVE_CXX_WNO_UNNAMED_TYPE_TEMPLATE_ARGS -- Performing Test HAVE_CXX_WNO_UNNAMED_TYPE_TEMPLATE_ARGS - Failed -- Performing Test HAVE_C_WNO_UNNAMED_TYPE_TEMPLATE_ARGS -- Performing Test HAVE_C_WNO_UNNAMED_TYPE_TEMPLATE_ARGS - Failed -- Performing Test HAVE_CXX_WNO_COMMENT -- Performing Test HAVE_CXX_WNO_COMMENT - Success -- Performing Test HAVE_C_WNO_COMMENT -- Performing Test HAVE_C_WNO_COMMENT - Success -- Performing Test HAVE_CXX_FDIAGNOSTICS_SHOW_OPTION -- Performing Test HAVE_CXX_FDIAGNOSTICS_SHOW_OPTION - Success -- Performing Test HAVE_C_FDIAGNOSTICS_SHOW_OPTION -- Performing Test HAVE_C_FDIAGNOSTICS_SHOW_OPTION - Success -- Performing Test HAVE_CXX_WNO_LONG_LONG -- Performing Test HAVE_CXX_WNO_LONG_LONG - Success -- Performing Test HAVE_C_WNO_LONG_LONG -- Performing Test HAVE_C_WNO_LONG_LONG - Success -- Performing Test HAVE_CXX_PTHREAD -- Performing Test HAVE_CXX_PTHREAD - Success -- Performing Test HAVE_C_PTHREAD -- Performing Test HAVE_C_PTHREAD - Success -- Performing Test HAVE_CXX_FOMIT_FRAME_POINTER -- Performing Test HAVE_CXX_FOMIT_FRAME_POINTER - Success -- Performing Test HAVE_C_FOMIT_FRAME_POINTER -- Performing Test HAVE_C_FOMIT_FRAME_POINTER - Success -- Performing Test HAVE_CXX_FFUNCTION_SECTIONS -- Performing Test HAVE_CXX_FFUNCTION_SECTIONS - Success -- Performing Test HAVE_C_FFUNCTION_SECTIONS -- Performing Test HAVE_C_FFUNCTION_SECTIONS - Success -- Performing Test HAVE_CXX_FDATA_SECTIONS -- Performing Test HAVE_CXX_FDATA_SECTIONS - Success -- Performing Test HAVE_C_FDATA_SECTIONS -- Performing Test HAVE_C_FDATA_SECTIONS - Success -- Performing Test HAVE_CXX_MSSE (check file: cmake/checks/cpu_sse.cpp) -- Performing Test HAVE_CXX_MSSE - Success -- Performing Test HAVE_CXX_MSSE2 (check file: cmake/checks/cpu_sse2.cpp) -- Performing Test HAVE_CXX_MSSE2 - Success -- Performing Test HAVE_CXX_MSSE3 (check file: cmake/checks/cpu_sse3.cpp) -- Performing Test HAVE_CXX_MSSE3 - Success -- Performing Test HAVE_CXX_MSSSE3 (check file: cmake/checks/cpu_ssse3.cpp) -- Performing Test HAVE_CXX_MSSSE3 - Success -- Performing Test HAVE_CXX_MSSE4_1 (check file: cmake/checks/cpu_sse41.cpp) -- Performing Test HAVE_CXX_MSSE4_1 - Success -- Performing Test HAVE_CXX_MPOPCNT (check file: cmake/checks/cpu_popcnt.cpp) -- Performing Test HAVE_CXX_MPOPCNT - Success -- Performing Test HAVE_CXX_MSSE4_2 (check file: cmake/checks/cpu_sse42.cpp) -- Performing Test HAVE_CXX_MSSE4_2 - Success -- Performing Test HAVE_CXX_MF16C (check file: cmake/checks/cpu_fp16.cpp) -- Performing Test HAVE_CXX_MF16C - Success -- Performing Test HAVE_CXX_MFMA -- Performing Test HAVE_CXX_MFMA - Success -- Performing Test HAVE_CXX_MAVX (check file: cmake/checks/cpu_avx.cpp) -- Performing Test HAVE_CXX_MAVX - Success -- Performing Test HAVE_CXX_MAVX2 (check file: cmake/checks/cpu_avx2.cpp) -- Performing Test HAVE_CXX_MAVX2 - Success -- Performing Test HAVE_CXX_MAVX512F (check file: cmake/checks/cpu_avx512.cpp) -- Performing Test HAVE_CXX_MAVX512F - Success -- Performing Test HAVE_CXX_MAVX512F_MAVX512CD_MAVX512VL_MAVX512BW_MAVX512DQ (check file: cmake/checks/cpu_avx512skx.cpp) -- Performing Test HAVE_CXX_MAVX512F_MAVX512CD_MAVX512VL_MAVX512BW_MAVX512DQ - Success -- Performing Test HAVE_CPU_BASELINE_FLAGS -- Performing Test HAVE_CPU_BASELINE_FLAGS - Success -- Performing Test HAVE_CPU_DISPATCH_FLAGS_SSE4_1 -- Performing Test HAVE_CPU_DISPATCH_FLAGS_SSE4_1 - Success -- Performing Test HAVE_CPU_DISPATCH_FLAGS_SSE4_2 -- Performing Test HAVE_CPU_DISPATCH_FLAGS_SSE4_2 - Success -- Performing Test HAVE_CPU_DISPATCH_FLAGS_FP16 -- Performing Test HAVE_CPU_DISPATCH_FLAGS_FP16 - Success -- Performing Test HAVE_CPU_DISPATCH_FLAGS_AVX -- Performing Test HAVE_CPU_DISPATCH_FLAGS_AVX - Success -- Performing Test HAVE_CPU_DISPATCH_FLAGS_AVX2 -- Performing Test HAVE_CPU_DISPATCH_FLAGS_AVX2 - Success -- Performing Test HAVE_CPU_DISPATCH_FLAGS_AVX512_SKX -- Performing Test HAVE_CPU_DISPATCH_FLAGS_AVX512_SKX - Success -- Performing Test HAVE_CXX_FVISIBILITY_HIDDEN -- Performing Test HAVE_CXX_FVISIBILITY_HIDDEN - Success -- Performing Test HAVE_C_FVISIBILITY_HIDDEN -- Performing Test HAVE_C_FVISIBILITY_HIDDEN - Success -- Performing Test HAVE_CXX_FVISIBILITY_INLINES_HIDDEN -- Performing Test HAVE_CXX_FVISIBILITY_INLINES_HIDDEN - Success -- Performing Test HAVE_C_FVISIBILITY_INLINES_HIDDEN -- Performing Test HAVE_C_FVISIBILITY_INLINES_HIDDEN - Failed -- Looking for pthread.h -- Looking for pthread.h - found -- Looking for posix_memalign -- Looking for posix_memalign - found -- Looking for malloc.h -- Looking for malloc.h - found -- Looking for memalign -- Looking for memalign - found -- Check if the system is big endian -- Searching 16 bit integer -- Looking for sys/types.h -- Looking for sys/types.h - found -- Looking for stdint.h -- Looking for stdint.h - found -- Looking for stddef.h -- Looking for stddef.h - found -- Check size of unsigned short -- Check size of unsigned short - done -- Using unsigned short -- Check if the system is big endian - little endian -- Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.so (found suitable version "1.2.8", minimum required is "1.2.3") -- Found JPEG: /usr/lib/x86_64-linux-gnu/libjpeg.so
-- Found TIFF: /usr/lib/x86_64-linux-gnu/libtiff.so (found version "4.0.6") -- Found WebP: /usr/lib/x86_64-linux-gnu/libwebp.so
-- Found Jasper: /usr/lib/x86_64-linux-gnu/libjasper.so (found version "1.900.1") -- Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.so (found version "1.2.8") -- Found PNG: /usr/lib/x86_64-linux-gnu/libpng.so (found version "1.2.54") -- Looking for /usr/include/libpng/png.h -- Looking for /usr/include/libpng/png.h - found -- Found OpenEXR: /usr/lib/x86_64-linux-gnu/libIlmImf.so -- Checking for module 'gtk+-3.0' -- No package 'gtk+-3.0' found -- Checking for module 'gtk+-2.0' -- No package 'gtk+-2.0' found -- Checking for module 'gthread-2.0' -- No package 'gthread-2.0' found -- Checking for module 'gstreamer-base-1.0' -- No package 'gstreamer-base-1.0' found -- Checking for module 'gstreamer-video-1.0' -- No package 'gstreamer-video-1.0' found -- Checking for module 'gstreamer-app-1.0' -- No package 'gstreamer-app-1.0' found -- Checking for module 'gstreamer-riff-1.0' -- No package 'gstreamer-riff-1.0' found -- Checking for module 'gstreamer-pbutils-1.0' -- No package 'gstreamer-pbutils-1.0' found -- Checking for module 'gstreamer-base-0.10' -- No package 'gstreamer-base-0.10' found -- Checking for module 'gstreamer-video-0.10' -- No package 'gstreamer-video-0.10' found -- Checking for module 'gstreamer-app-0.10' -- No package 'gstreamer-app-0.10' found -- Checking for module 'gstreamer-riff-0.10' -- No package 'gstreamer-riff-0.10' found -- Checking for module 'gstreamer-pbutils-0.10' -- No package 'gstreamer-pbutils-0.10' found -- Checking for module 'libdc1394-2' -- Found libdc1394-2, version 2.2.4 -- Looking for linux/videodev.h -- Looking for linux/videodev.h - not found -- Looking for linux/videodev2.h -- Looking for linux/videodev2.h - found -- Looking for sys/videoio.h -- Looking for sys/videoio.h - not found -- Checking for modules 'libavcodec;libavformat;libavutil;libswscale' -- Found libavcodec, version 56.60.100 -- Found libavformat, version 56.40.101 -- Found libavutil, version 54.31.100 -- Found libswscale, version 3.1.101 -- Checking for module 'libavresample' -- No package 'libavresample' found -- IPPICV: Download: ippicv_2017u3_lnx_intel64_general_20180518.tgz -- found Intel IPP (ICV version): 2017.0.3 [2017.0.3] -- at: /home/jingzhiw/opencv4nodejs/node_modules/opencv-build/opencv/build/3rdparty/ippicv/ippicv_lnx -- found Intel IPP IW sources: 2017.0.3 -- at: /home/jingzhiw/opencv4nodejs/node_modules/opencv-build/opencv/build/3rdparty/ippicv/ippiw_lnx -- Check size of int -- Check size of int - done -- Found MKL 2018.0.3 at: /home/jingzhiw/anaconda3 -- LAPACK(MKL): LAPACK_LIBRARIES: /home/jingzhiw/anaconda3/lib/libmkl_intel_lp64.so;/home/jingzhiw/anaconda3/lib/libmkl_sequential.so;/home/jingzhiw/anaconda3/lib/libmkl_core.so;/home/jingzhiw/anaconda3/lib/libmkl_intel_lp64.so;/home/jingzhiw/anaconda3/lib/libmkl_sequential.so;/home/jingzhiw/anaconda3/lib/libmkl_core.so;/home/jingzhiw/anaconda3/lib/libmkl_intel_lp64.so;/home/jingzhiw/anaconda3/lib/libmkl_sequential.so;/home/jingzhiw/anaconda3/lib/libmkl_core.so;-lpthread;-lm;-ldl -- LAPACK(MKL): Support is enabled. -- Performing Test HAVE_CXX_WNO_DEPRECATED -- Performing Test HAVE_CXX_WNO_DEPRECATED - Success -- Performing Test HAVE_CXX_WNO_MISSING_PROTOTYPES -- Performing Test HAVE_CXX_WNO_MISSING_PROTOTYPES - Failed -- Performing Test HAVE_CXX_WNO_MISSING_DECLARATIONS -- Performing Test HAVE_CXX_WNO_MISSING_DECLARATIONS - Success -- Performing Test HAVE_CXX_WNO_SHADOW -- Performing Test HAVE_CXX_WNO_SHADOW - Success -- Performing Test HAVE_CXX_WNO_UNUSED_PARAMETER -- Performing Test HAVE_CXX_WNO_UNUSED_PARAMETER - Success -- Performing Test HAVE_CXX_WNO_UNUSED_LOCAL_TYPEDEFS -- Performing Test HAVE_CXX_WNO_UNUSED_LOCAL_TYPEDEFS - Success -- Performing Test HAVE_CXX_WNO_SIGN_COMPARE -- Performing Test HAVE_CXX_WNO_SIGN_COMPARE - Success -- Performing Test HAVE_CXX_WNO_SIGN_PROMO -- Performing Test HAVE_CXX_WNO_SIGN_PROMO - Success -- Performing Test HAVE_CXX_WNO_UNDEF -- Performing Test HAVE_CXX_WNO_UNDEF - Success -- Performing Test HAVE_CXX_WNO_TAUTOLOGICAL_UNDEFINED_COMPARE -- Performing Test HAVE_CXX_WNO_TAUTOLOGICAL_UNDEFINED_COMPARE - Failed -- Performing Test HAVE_CXX_WNO_IGNORED_QUALIFIERS -- Performing Test HAVE_CXX_WNO_IGNORED_QUALIFIERS - Success -- Performing Test HAVE_CXX_WNO_EXTRA -- Performing Test HAVE_CXX_WNO_EXTRA - Success -- Performing Test HAVE_CXX_WNO_UNUSED_FUNCTION -- Performing Test HAVE_CXX_WNO_UNUSED_FUNCTION - Success -- Performing Test HAVE_CXX_WNO_UNUSED_CONST_VARIABLE -- Performing Test HAVE_CXX_WNO_UNUSED_CONST_VARIABLE - Failed -- Performing Test HAVE_CXX_WNO_SHORTEN_64_TO_32 -- Performing Test HAVE_CXX_WNO_SHORTEN_64_TO_32 - Failed -- Performing Test HAVE_CXX_WNO_INVALID_OFFSETOF -- Performing Test HAVE_CXX_WNO_INVALID_OFFSETOF - Success -- Performing Test HAVE_CXX_WNO_ENUM_COMPARE_SWITCH -- Performing Test HAVE_CXX_WNO_ENUM_COMPARE_SWITCH - Failed -- Performing Test HAVE_CXX_WNO_SUGGEST_OVERRIDE -- Performing Test HAVE_CXX_WNO_SUGGEST_OVERRIDE - Success -- Performing Test HAVE_CXX_WNO_INCONSISTENT_MISSING_OVERRIDE -- Performing Test HAVE_CXX_WNO_INCONSISTENT_MISSING_OVERRIDE - Failed -- Performing Test HAVE_CXX_WNO_IMPLICIT_FALLTHROUGH -- Performing Test HAVE_CXX_WNO_IMPLICIT_FALLTHROUGH - Failed -- Could NOT find Matlab (missing: MATLAB_MEX_SCRIPT MATLAB_INCLUDE_DIRS MATLAB_ROOT_DIR MATLAB_LIBRARIES MATLAB_LIBRARY_DIRS MATLAB_MEXEXT MATLAB_ARCH MATLAB_BIN) -- Looking for dlerror in dl -- Looking for dlerror in dl - found -- Performing Test HAVE_C_WNO_IMPLICIT_FALLTHROUGH -- Performing Test HAVE_C_WNO_IMPLICIT_FALLTHROUGH - Failed -- Performing Test HAVE_C_WNO_UNDEF -- Performing Test HAVE_C_WNO_UNDEF - Success -- Performing Test HAVE_C_WNO_SIGN_COMPARE -- Performing Test HAVE_C_WNO_SIGN_COMPARE - Success -- Caffe: NO -- Protobuf: NO -- Glog: NO -- Checking for one of the modules 'freetype2' -- Checking for one of the modules 'harfbuzz' -- freetype2: YES -- harfbuzz: NO -- HDF5: Using hdf5 compiler wrapper to determine C configuration -- Found HDF5: /home/jingzhiw/anaconda3/lib/libhdf5.so;/usr/lib/x86_64-linux-gnu/librt.so;/usr/lib/x86_64-linux-gnu/libpthread.so;/home/jingzhiw/anaconda3/lib/libz.so;/usr/lib/x86_64-linux-gnu/libdl.so;/usr/lib/x86_64-linux-gnu/libm.so (found version "1.10.2")
-- Module opencv_ovis disabled because OGRE3D was not found -- No preference for use of exported gflags CMake configuration set, and no hints for include/library directories provided. Defaulting to preferring an installed/exported gflags CMake configuration if available. -- Failed to find installed gflags CMake configuration, searching for gflags build directories exported with CMake. -- Failed to find gflags - Failed to find an installed/exported CMake configuration for gflags, will perform search for installed gflags components. -- Failed to find gflags - Could not find gflags include directory, set GFLAGS_INCLUDE_DIR to directory containing gflags/gflags.h -- Failed to find glog - Could not find glog include directory, set GLOG_INCLUDE_DIR to directory containing glog/logging.h -- Module opencv_sfm disabled because the following dependencies are not found: Eigen Glog/Gflags -- Module opencv_python2 disabled because opencv_python_bindings_generator dependency can't be resolved! -- HDF5: Using hdf5 compiler wrapper to determine C configuration -- Performing Test HAVE_CXX_WNO_PARENTHESES -- Performing Test HAVE_CXX_WNO_PARENTHESES - Success -- Performing Test HAVE_CXX_WNO_MAYBE_UNINITIALIZED -- Performing Test HAVE_CXX_WNO_MAYBE_UNINITIALIZED - Success -- Performing Test HAVE_CXX_WNO_DEPRECATED_DECLARATIONS -- Performing Test HAVE_CXX_WNO_DEPRECATED_DECLARATIONS - Success -- Performing Test HAVE_CXX_WNO_ERROR_NON_VIRTUAL_DTOR -- Performing Test HAVE_CXX_WNO_ERROR_NON_VIRTUAL_DTOR - Success -- Performing Test HAVE_CXX_WNO_ENUM_COMPARE -- Performing Test HAVE_CXX_WNO_ENUM_COMPARE - Success -- data: Download: face_landmark_model.dat -- Checking for modules 'tesseract;lept' -- Found tesseract, version 3.04.01 -- Found lept, version 1.73 -- Tesseract: YES -- xfeatures2d/boostdesc: Download: boostdesc_bgm.i -- xfeatures2d/boostdesc: Download: boostdesc_bgm_bi.i -- xfeatures2d/boostdesc: Download: boostdesc_bgm_hd.i -- xfeatures2d/boostdesc: Download: boostdesc_binboost_064.i -- xfeatures2d/boostdesc: Download: boostdesc_binboost_128.i -- xfeatures2d/boostdesc: Download: boostdesc_binboost_256.i -- xfeatures2d/boostdesc: Download: boostdesc_lbgm.i -- xfeatures2d/vgg: Download: vgg_generated_48.i -- xfeatures2d/vgg: Download: vgg_generated_64.i -- xfeatures2d/vgg: Download: vgg_generated_80.i -- xfeatures2d/vgg: Download: vgg_generated_120.i -- -- General configuration for OpenCV 3.4.3 ===================================== -- Version control: 3.4.3 -- -- Extra modules: -- Location (extra): /home/jingzhiw/opencv4nodejs/node_modules/opencv-build/opencv/opencv_contrib/modules -- Version control (extra): 3.4.3 -- -- Platform: -- Timestamp: 2018-10-25T15:23:15Z -- Host: Linux 4.4.0-137-generic x86_64 -- CMake: 3.11.1 -- CMake generator: Unix Makefiles -- CMake build tool: /usr/bin/make -- Configuration: Release -- -- CPU/HW features: -- Baseline: SSE SSE2 SSE3 -- requested: SSE3 -- Dispatched code generation: SSE4_1 SSE4_2 FP16 AVX AVX2 AVX512_SKX -- requested: SSE4_1 SSE4_2 AVX FP16 AVX2 AVX512_SKX -- SSE4_1 (3 files): + SSSE3 SSE4_1 -- SSE4_2 (1 files): + SSSE3 SSE4_1 POPCNT SSE4_2 -- FP16 (1 files): + SSSE3 SSE4_1 POPCNT SSE4_2 FP16 AVX -- AVX (5 files): + SSSE3 SSE4_1 POPCNT SSE4_2 AVX -- AVX2 (9 files): + SSSE3 SSE4_1 POPCNT SSE4_2 FP16 FMA3 AVX AVX2 -- AVX512_SKX (1 files): + SSSE3 SSE4_1 POPCNT SSE4_2 FP16 FMA3 AVX AVX2 AVX_512F AVX512_SKX -- -- C/C++: -- Built as dynamic libs?: YES -- C++ Compiler: /usr/bin/c++ (ver 5.4.0) -- C++ flags (Release): -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wundef -Winit-self -Wpointer-arith -Wshadow -Wsign-promo -Wuninitialized -Winit-self -Wno-narrowing -Wno-delete-non-virtual-dtor -Wno-comment -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -msse -msse2 -msse3 -fvisibility=hidden -fvisibility-inlines-hidden -O3 -DNDEBUG -DNDEBUG -- C++ flags (Debug): -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wundef -Winit-self -Wpointer-arith -Wshadow -Wsign-promo -Wuninitialized -Winit-self -Wno-narrowing -Wno-delete-non-virtual-dtor -Wno-comment -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -msse -msse2 -msse3 -fvisibility=hidden -fvisibility-inlines-hidden -g -O0 -DDEBUG -D_DEBUG -- C Compiler: /usr/bin/cc -- C flags (Release): -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wuninitialized -Winit-self -Wno-narrowing -Wno-comment -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -msse -msse2 -msse3 -fvisibility=hidden -O3 -DNDEBUG -DNDEBUG -- C flags (Debug): -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wuninitialized -Winit-self -Wno-narrowing -Wno-comment -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -msse -msse2 -msse3 -fvisibility=hidden -g -O0 -DDEBUG -D_DEBUG -- Linker flags (Release):
-- Linker flags (Debug):
-- ccache: NO -- Precompiled headers: YES -- Extra dependencies: dl m pthread rt -- 3rdparty dependencies: -- -- OpenCV modules: -- To be built: calib3d core dnn face features2d flann hdf highgui imgcodecs imgproc ml objdetect photo plot text tracking video videoio videostab xfeatures2d ximgproc -- Disabled: aruco bgsegm bioinspired ccalib datasets dnn_objdetect dpm fuzzy hfs img_hash java_bindings_generator js line_descriptor optflow phase_unwrapping python3 python_bindings_generator reg rgbd saliency shape stereo stitching structured_light superres surface_matching world xobjdetect xphoto -- Disabled by dependency: python2 -- Unavailable: cnn_3dobj cudaarithm cudabgsegm cudacodec cudafeatures2d cudafilters cudaimgproc cudalegacy cudaobjdetect cudaoptflow cudastereo cudawarping cudev cvv freetype java matlab ovis sfm ts viz -- Applications: - -- Documentation: NO -- Non-free algorithms: YES -- -- GUI: -- GTK+: NO -- -- Media I/O: -- ZLib: /usr/lib/x86_64-linux-gnu/libz.so (ver 1.2.8) -- JPEG: /usr/lib/x86_64-linux-gnu/libjpeg.so (ver 80) -- WEBP: /usr/lib/x86_64-linux-gnu/libwebp.so (ver encoder: 0x0202) -- PNG: /usr/lib/x86_64-linux-gnu/libpng.so (ver 1.2.54) -- TIFF: /usr/lib/x86_64-linux-gnu/libtiff.so (ver 42 / 4.0.6) -- JPEG 2000: /usr/lib/x86_64-linux-gnu/libjasper.so (ver 1.900.1) -- OpenEXR: /usr/lib/x86_64-linux-gnu/libImath.so /usr/lib/x86_64-linux-gnu/libIlmImf.so /usr/lib/x86_64-linux-gnu/libIex.so /usr/lib/x86_64-linux-gnu/libHalf.so /usr/lib/x86_64-linux-gnu/libIlmThread.so (ver 2.2.0) -- HDR: YES -- SUNRASTER: YES -- PXM: YES -- -- Video I/O: -- DC1394: YES (ver 2.2.4) -- FFMPEG: YES -- avcodec: YES (ver 56.60.100) -- avformat: YES (ver 56.40.101) -- avutil: YES (ver 54.31.100) -- swscale: YES (ver 3.1.101) -- avresample: NO -- GStreamer: NO -- libv4l/libv4l2: NO -- v4l/v4l2: linux/videodev2.h -- -- Parallel framework: pthreads -- -- Trace: YES (with Intel ITT) -- -- Other third-party libraries: -- Intel IPP: 2017.0.3 [2017.0.3] -- at: /home/jingzhiw/opencv4nodejs/node_modules/opencv-build/opencv/build/3rdparty/ippicv/ippicv_lnx -- Intel IPP IW: sources (2017.0.3) -- at: /home/jingzhiw/opencv4nodejs/node_modules/opencv-build/opencv/build/3rdparty/ippicv/ippiw_lnx -- Lapack: YES (/home/jingzhiw/anaconda3/lib/libmkl_intel_lp64.so /home/jingzhiw/anaconda3/lib/libmkl_sequential.so /home/jingzhiw/anaconda3/lib/libmkl_core.so /home/jingzhiw/anaconda3/lib/libmkl_intel_lp64.so /home/jingzhiw/anaconda3/lib/libmkl_sequential.so /home/jingzhiw/anaconda3/lib/libmkl_core.so /home/jingzhiw/anaconda3/lib/libmkl_intel_lp64.so /home/jingzhiw/anaconda3/lib/libmkl_sequential.so /home/jingzhiw/anaconda3/lib/libmkl_core.so -lpthread -lm -ldl) -- Eigen: NO -- Custom HAL: NO -- Protobuf: build (3.5.1) -- -- OpenCL: YES (no extra features) -- Include path: /home/jingzhiw/opencv4nodejs/node_modules/opencv-build/opencv/opencv/3rdparty/include/opencl/1.2 -- Link libraries: Dynamic load -- -- Python 2: -- Interpreter: /usr/bin/python2.7 (ver 2.7.12) -- Libraries: NO -- numpy: /usr/lib/python2.7/dist-packages/numpy/core/include (ver 1.11.0) -- packages path: lib/python2.7/dist-packages -- -- Python (for build): /usr/bin/python2.7 -- -- Matlab: NO -- -- Install to: /home/jingzhiw/opencv4nodejs/node_modules/opencv-build/opencv/build


-- -- Configuring done CMake Warning at cmake/OpenCVUtils.cmake:1306 (add_library): Cannot generate a safe linker search path for target opencv_core because files in some directories may conflict with libraries in implicit directories:

link library [libz.so] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
  /home/jingzhiw/anaconda3/lib

Some of these libraries may not be found correctly. Call Stack (most recent call first): cmake/OpenCVModule.cmake:915 (ocv_add_library) cmake/OpenCVModule.cmake:847 (_ocv_create_module) modules/core/CMakeLists.txt:71 (ocv_create_module)

CMake Warning at cmake/OpenCVUtils.cmake:1306 (add_library): Cannot generate a safe runtime search path for target opencv_core because files in some directories may conflict with libraries in implicit directories:

runtime library [libz.so.1] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
  /home/jingzhiw/anaconda3/lib

Some of these libraries may not be found correctly. Call Stack (most recent call first): cmake/OpenCVModule.cmake:915 (ocv_add_library) cmake/OpenCVModule.cmake:847 (_ocv_create_module) modules/core/CMakeLists.txt:71 (ocv_create_module)

-- Generating done -- Build files have been written to: /home/jingzhiw/opencv4nodejs/node_modules/opencv-build/opencv/build Scanning dependencies of target gen-pkgconfig Scanning dependencies of target opencv_imgproc_pch_dephelp Scanning dependencies of target opencv_flann_pch_dephelp Scanning dependencies of target opencv_core_pch_dephelp Scanning dependencies of target opencv_hdf_pch_dephelp Scanning dependencies of target ippiw Scanning dependencies of target ittnotify [ 0%] Generate opencv.pc Scanning dependencies of target libprotobuf [ 0%] Building C object 3rdparty/ittnotify/CMakeFiles/ittnotify.dir/src/ittnotify/ittnotify_static.c.o [ 0%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc_pch_dephelp.dir/opencv_imgproc_pch_dephelp.cxx.o [ 0%] Building CXX object modules/hdf/CMakeFiles/opencv_hdf_pch_dephelp.dir/opencv_hdf_pch_dephelp.cxx.o [ 1%] Building CXX object modules/flann/CMakeFiles/opencv_flann_pch_dephelp.dir/opencv_flann_pch_dephelp.cxx.o [ 1%] Building C object 3rdparty/ippiw/CMakeFiles/ippiw.dir/src/iw_core.c.o [ 1%] Built target gen-pkgconfig [ 1%] Building CXX object modules/core/CMakeFiles/opencv_core_pch_dephelp.dir/opencv_core_pch_dephelp.cxx.o [ 1%] Building C object 3rdparty/ittnotify/CMakeFiles/ittnotify.dir/src/ittnotify/jitprofiling.c.o [ 1%] Building C object 3rdparty/ippiw/CMakeFiles/ippiw.dir/src/iw_image.c.o [ 1%] Building C object 3rdparty/ippiw/CMakeFiles/ippiw.dir/src/iw_image_color_convert_all.c.o [ 1%] Linking C static library ../lib/libittnotify.a [ 1%] Building C object 3rdparty/ippiw/CMakeFiles/ippiw.dir/src/iw_image_color_convert_rgbs.c.o [ 1%] Building C object 3rdparty/ippiw/CMakeFiles/ippiw.dir/src/iw_image_filter_bilateral.c.o [ 1%] Built target ittnotify [ 1%] Building C object 3rdparty/ippiw/CMakeFiles/ippiw.dir/src/iw_image_filter_box.c.o [ 2%] Building C object 3rdparty/ippiw/CMakeFiles/ippiw.dir/src/iw_image_filter_canny.c.o Scanning dependencies of target opencv_ml_pch_dephelp Scanning dependencies of target opencv_objdetect_pch_dephelp [ 2%] Building CXX object modules/ml/CMakeFiles/opencv_ml_pch_dephelp.dir/opencv_ml_pch_dephelp.cxx.o [ 2%] Building CXX object modules/objdetect/CMakeFiles/opencv_objdetect_pch_dephelp.dir/opencv_objdetect_pch_dephelp.cxx.o [ 2%] Building C object 3rdparty/ippiw/CMakeFiles/ippiw.dir/src/iw_image_filter_gaussian.c.o [ 2%] Building C object 3rdparty/ippiw/CMakeFiles/ippiw.dir/src/iw_image_filter_general.c.o [ 2%] Building C object 3rdparty/ippiw/CMakeFiles/ippiw.dir/src/iw_image_filter_laplacian.c.o [ 2%] Building C object 3rdparty/ippiw/CMakeFiles/ippiw.dir/src/iw_image_filter_morphology.c.o [ 2%] Linking CXX static library ../../lib/libopencv_hdf_pch_dephelp.a [ 2%] Built target opencv_hdf_pch_dephelp Scanning dependencies of target opencv_photo_pch_dephelp [ 2%] Building CXX object modules/photo/CMakeFiles/opencv_photo_pch_dephelp.dir/opencv_photo_pch_dephelp.cxx.o [ 2%] Building C object 3rdparty/ippiw/CMakeFiles/ippiw.dir/src/iw_image_filter_scharr.c.o [ 2%] Linking CXX static library ../../lib/libopencv_imgproc_pch_dephelp.a [ 2%] Linking CXX static library ../../lib/libopencv_objdetect_pch_dephelp.a [ 2%] Building C object 3rdparty/ippiw/CMakeFiles/ippiw.dir/src/iw_image_filter_sobel.c.o [ 2%] Built target opencv_imgproc_pch_dephelp [ 2%] Built target opencv_objdetect_pch_dephelp [ 3%] Linking CXX static library ../../lib/libopencv_core_pch_dephelp.a [ 3%] Building C object 3rdparty/ippiw/CMakeFiles/ippiw.dir/src/iw_image_op_copy.c.o Scanning dependencies of target opencv_plot_pch_dephelp [ 3%] Built target opencv_core_pch_dephelp [ 3%] Building CXX object modules/plot/CMakeFiles/opencv_plot_pch_dephelp.dir/opencv_plot_pch_dephelp.cxx.o [ 3%] Building C object 3rdparty/ippiw/CMakeFiles/ippiw.dir/src/iw_image_op_copy_channel.c.o [ 3%] Building C object 3rdparty/ippiw/CMakeFiles/ippiw.dir/src/iw_image_op_copy_make_border.c.o [ 4%] Linking CXX static library ../../lib/libopencv_ml_pch_dephelp.a Scanning dependencies of target opencv_video_pch_dephelp [ 4%] Building C object 3rdparty/ippiw/CMakeFiles/ippiw.dir/src/iw_image_op_copy_merge.c.o [ 4%] Built target opencv_ml_pch_dephelp Scanning dependencies of target opencv_dnn_pch_dephelp [ 4%] Building CXX object modules/video/CMakeFiles/opencv_video_pch_dephelp.dir/opencv_video_pch_dephelp.cxx.o [ 4%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn_pch_dephelp.dir/opencv_dnn_pch_dephelp.cxx.o [ 4%] Building C object 3rdparty/ippiw/CMakeFiles/ippiw.dir/src/iw_image_op_copy_split.c.o Scanning dependencies of target opencv_face_pch_dephelp [ 4%] Building CXX object modules/face/CMakeFiles/opencv_face_pch_dephelp.dir/opencv_face_pch_dephelp.cxx.o [ 4%] Linking CXX static library ../../lib/libopencv_flann_pch_dephelp.a [ 4%] Built target opencv_flann_pch_dephelp [ 4%] Linking CXX static library ../../lib/libopencv_photo_pch_dephelp.a Scanning dependencies of target opencv_imgcodecs_pch_dephelp [ 4%] Built target opencv_photo_pch_dephelp Scanning dependencies of target opencv_tracking_pch_dephelp [ 4%] Building C object 3rdparty/ippiw/CMakeFiles/ippiw.dir/src/iw_image_op_scale.c.o [ 4%] Building CXX object modules/tracking/CMakeFiles/opencv_tracking_pch_dephelp.dir/opencv_tracking_pch_dephelp.cxx.o [ 4%] Linking CXX static library ../../lib/libopencv_plot_pch_dephelp.a [ 4%] Building CXX object modules/imgcodecs/CMakeFiles/opencv_imgcodecs_pch_dephelp.dir/opencv_imgcodecs_pch_dephelp.cxx.o [ 4%] Built target opencv_plot_pch_dephelp Scanning dependencies of target opencv_videoio_pch_dephelp [ 4%] Building CXX object modules/videoio/CMakeFiles/opencv_videoio_pch_dephelp.dir/opencv_videoio_pch_dephelp.cxx.o [ 4%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/arena.cc.o [ 4%] Building C object 3rdparty/ippiw/CMakeFiles/ippiw.dir/src/iw_image_op_set.c.o [ 4%] Linking CXX static library ../../lib/libopencv_dnn_pch_dephelp.a [ 4%] Built target opencv_dnn_pch_dephelp [ 4%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/arenastring.cc.o [ 4%] Linking CXX static library ../../lib/libopencv_video_pch_dephelp.a [ 4%] Built target opencv_video_pch_dephelp [ 4%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/extension_set.cc.o [ 5%] Building C object 3rdparty/ippiw/CMakeFiles/ippiw.dir/src/iw_image_op_set_channel.c.o [ 5%] Linking CXX static library ../../lib/libopencv_face_pch_dephelp.a [ 6%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/generated_message_table_driven_lite.cc.o [ 6%] Built target opencv_face_pch_dephelp Scanning dependencies of target opencv_highgui_pch_dephelp [ 6%] Building CXX object modules/highgui/CMakeFiles/opencv_highgui_pch_dephelp.dir/opencv_highgui_pch_dephelp.cxx.o [ 6%] Building C object 3rdparty/ippiw/CMakeFiles/ippiw.dir/src/iw_image_op_swap_channels.c.o [ 6%] Linking CXX static library ../../lib/libopencv_tracking_pch_dephelp.a [ 6%] Built target opencv_tracking_pch_dephelp [ 6%] Linking CXX static library ../../lib/libopencv_imgcodecs_pch_dephelp.a [ 6%] Building C object 3rdparty/ippiw/CMakeFiles/ippiw.dir/src/iw_image_transform_mirror.c.o [ 6%] Building C object 3rdparty/ippiw/CMakeFiles/ippiw.dir/src/iw_image_transform_resize.c.o [ 6%] Built target opencv_imgcodecs_pch_dephelp [ 6%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/generated_message_util.cc.o Scanning dependencies of target opencv_features2d_pch_dephelp [ 6%] Linking CXX static library ../../lib/libopencv_videoio_pch_dephelp.a [ 6%] Built target opencv_videoio_pch_dephelp [ 6%] Building CXX object modules/features2d/CMakeFiles/opencv_features2d_pch_dephelp.dir/opencv_features2d_pch_dephelp.cxx.o Scanning dependencies of target opencv_text_pch_dephelp [ 7%] Building CXX object modules/text/CMakeFiles/opencv_text_pch_dephelp.dir/opencv_text_pch_dephelp.cxx.o [ 7%] Building C object 3rdparty/ippiw/CMakeFiles/ippiw.dir/src/iw_image_transform_rotate.c.o [ 7%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/io/coded_stream.cc.o [ 7%] Building C object 3rdparty/ippiw/CMakeFiles/ippiw.dir/src/iw_image_transform_warpaffine.c.o [ 7%] Linking CXX static library ../../lib/libopencv_highgui_pch_dephelp.a [ 7%] Built target opencv_highgui_pch_dephelp Scanning dependencies of target opencv_calib3d_pch_dephelp [ 7%] Building CXX object modules/calib3d/CMakeFiles/opencv_calib3d_pch_dephelp.dir/opencv_calib3d_pch_dephelp.cxx.o [ 7%] Building C object 3rdparty/ippiw/CMakeFiles/ippiw.dir/src/iw_own.c.o [ 7%] Linking CXX static library ../../lib/libopencv_features2d_pch_dephelp.a [ 7%] Built target opencv_features2d_pch_dephelp Scanning dependencies of target opencv_videostab_pch_dephelp [ 7%] Building CXX object modules/videostab/CMakeFiles/opencv_videostab_pch_dephelp.dir/opencv_videostab_pch_dephelp.cxx.o [ 7%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/io/zero_copy_stream.cc.o [ 8%] Linking C static library ../lib/libippiw.a [ 8%] Built target ippiw Scanning dependencies of target opencv_xfeatures2d_pch_dephelp [ 8%] Linking CXX static library ../../lib/libopencv_text_pch_dephelp.a [ 8%] Building CXX object modules/xfeatures2d/CMakeFiles/opencv_xfeatures2d_pch_dephelp.dir/opencv_xfeatures2d_pch_dephelp.cxx.o [ 8%] Built target opencv_text_pch_dephelp [ 8%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/io/zero_copy_stream_impl_lite.cc.o [ 8%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/message_lite.cc.o [ 8%] Linking CXX static library ../../lib/libopencv_calib3d_pch_dephelp.a [ 8%] Built target opencv_calib3d_pch_dephelp Scanning dependencies of target opencv_ximgproc_pch_dephelp [ 8%] Building CXX object modules/ximgproc/CMakeFiles/opencv_ximgproc_pch_dephelp.dir/opencv_ximgproc_pch_dephelp.cxx.o [ 8%] Linking CXX static library ../../lib/libopencv_videostab_pch_dephelp.a [ 8%] Built target opencv_videostab_pch_dephelp [ 8%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/repeated_field.cc.o Scanning dependencies of target pch_Generate_opencv_core [ 8%] Generating precomp.hpp [ 8%] Generating precomp.hpp.gch/opencv_core_Release.gch [ 8%] Linking CXX static library ../../lib/libopencv_xfeatures2d_pch_dephelp.a [ 9%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/stubs/atomicops_internals_x86_gcc.cc.o [ 9%] Built target opencv_xfeatures2d_pch_dephelp Scanning dependencies of target pch_Generate_opencv_flann [ 9%] Generating precomp.hpp [ 9%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/stubs/bytestream.cc.o [ 9%] Generating precomp.hpp.gch/opencv_flann_Release.gch [ 9%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/stubs/common.cc.o [ 10%] Linking CXX static library ../../lib/libopencv_ximgproc_pch_dephelp.a [ 10%] Built target opencv_ximgproc_pch_dephelp [ 10%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/stubs/int128.cc.o [ 10%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/stubs/io_win32.cc.o [ 10%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/stubs/once.cc.o [ 10%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/stubs/status.cc.o [ 11%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/stubs/statusor.cc.o [ 11%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/stubs/stringpiece.cc.o [ 11%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/stubs/stringprintf.cc.o [ 11%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/stubs/structurally_valid.cc.o [ 11%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/stubs/strutil.cc.o [ 11%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/stubs/time.cc.o Scanning dependencies of target pch_Generate_opencv_hdf [ 12%] Generating precomp.hpp [ 12%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/wire_format_lite.cc.o [ 12%] Generating precomp.hpp.gch/opencv_hdf_Release.gch [ 13%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/any.cc.o [ 13%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/any.pb.cc.o [ 13%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/api.pb.cc.o [ 13%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/descriptor.cc.o [ 13%] Built target pch_Generate_opencv_core Scanning dependencies of target pch_Generate_opencv_imgproc [ 13%] Generating precomp.hpp [ 13%] Generating precomp.hpp.gch/opencv_imgproc_Release.gch [ 13%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/descriptor.pb.cc.o [ 13%] Built target pch_Generate_opencv_flann Scanning dependencies of target pch_Generate_opencv_ml [ 13%] Generating precomp.hpp [ 14%] Generating precomp.hpp.gch/opencv_ml_Release.gch [ 14%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/descriptor_database.cc.o [ 14%] Built target pch_Generate_opencv_hdf Scanning dependencies of target pch_Generate_opencv_objdetect [ 14%] Generating precomp.hpp [ 14%] Generating precomp.hpp.gch/opencv_objdetect_Release.gch [ 14%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/duration.pb.cc.o [ 15%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/dynamic_message.cc.o [ 15%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/empty.pb.cc.o [ 15%] Built target pch_Generate_opencv_imgproc [ 15%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/extension_set_heavy.cc.o [ 15%] Built target pch_Generate_opencv_ml Scanning dependencies of target pch_Generate_opencv_photo [ 15%] Generating precomp.hpp [ 15%] Generating precomp.hpp.gch/opencv_photo_Release.gch [ 15%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/field_mask.pb.cc.o [ 15%] Built target pch_Generate_opencv_objdetect Scanning dependencies of target pch_Generate_opencv_plot [ 16%] Generating precomp.hpp [ 16%] Generating precomp.hpp.gch/opencv_plot_Release.gch [ 16%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/generated_message_reflection.cc.o [ 16%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/generated_message_table_driven.cc.o [ 16%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/io/gzip_stream.cc.o Scanning dependencies of target pch_Generate_opencv_video [ 16%] Generating precomp.hpp [ 16%] Generating precomp.hpp.gch/opencv_video_Release.gch [ 17%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/io/printer.cc.o [ 17%] Built target pch_Generate_opencv_photo Scanning dependencies of target pch_Generate_opencv_dnn [ 17%] Generating precomp.hpp [ 17%] Generating precomp.hpp.gch/opencv_dnn_Release.gch [ 17%] Built target pch_Generate_opencv_plot Scanning dependencies of target pch_Generate_opencv_face [ 17%] Generating precomp.hpp [ 18%] Generating precomp.hpp.gch/opencv_face_Release.gch [ 18%] Built target pch_Generate_opencv_video Scanning dependencies of target pch_Generate_opencv_imgcodecs [ 18%] Generating precomp.hpp [ 18%] Generating precomp.hpp.gch/opencv_imgcodecs_Release.gch [ 18%] Built target pch_Generate_opencv_dnn Scanning dependencies of target pch_Generate_opencv_tracking [ 18%] Generating precomp.hpp [ 18%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/io/strtod.cc.o [ 18%] Generating precomp.hpp.gch/opencv_tracking_Release.gch [ 18%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/io/tokenizer.cc.o [ 18%] Built target pch_Generate_opencv_face [ 18%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/io/zero_copy_stream_impl.cc.o Scanning dependencies of target pch_Generate_opencv_videoio [ 18%] Generating precomp.hpp [ 19%] Generating precomp.hpp.gch/opencv_videoio_Release.gch [ 19%] Built target pch_Generate_opencv_imgcodecs Scanning dependencies of target pch_Generate_opencv_highgui [ 19%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/map_field.cc.o [ 19%] Generating precomp.hpp [ 19%] Generating precomp.hpp.gch/opencv_highgui_Release.gch Scanning dependencies of target pch_Generate_opencv_features2d Scanning dependencies of target pch_Generate_opencv_text [ 19%] Generating precomp.hpp [ 19%] Generating precomp.hpp [ 19%] Generating precomp.hpp.gch/opencv_features2d_Release.gch [ 19%] Built target pch_Generate_opencv_tracking [ 19%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/message.cc.o [ 19%] Generating precomp.hpp.gch/opencv_text_Release.gch Scanning dependencies of target pch_Generate_opencv_calib3d [ 19%] Generating precomp.hpp [ 19%] Generating precomp.hpp.gch/opencv_calib3d_Release.gch [ 19%] Built target pch_Generate_opencv_videoio Scanning dependencies of target pch_Generate_opencv_videostab [ 19%] Generating precomp.hpp [ 19%] Generating precomp.hpp.gch/opencv_videostab_Release.gch [ 19%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/reflection_ops.cc.o Scanning dependencies of target pch_Generate_opencv_xfeatures2d [ 19%] Generating precomp.hpp [ 19%] Built target pch_Generate_opencv_calib3d [ 19%] Built target pch_Generate_opencv_text [ 19%] Built target pch_Generate_opencv_features2d [ 20%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/service.cc.o [ 20%] Built target pch_Generate_opencv_highgui Scanning dependencies of target pch_Generate_opencv_ximgproc [ 20%] Generating precomp.hpp.gch/opencv_xfeatures2d_Release.gch [ 20%] Processing OpenCL kernels (core) [ 20%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/source_context.pb.cc.o [ 20%] Built target pch_Generate_opencv_videostab [ 21%] Generating precomp.hpp [ 21%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/struct.pb.cc.o [ 21%] Generating precomp.hpp.gch/opencv_ximgproc_Release.gch [ 21%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/stubs/mathlimits.cc.o Scanning dependencies of target opencv_core [ 22%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/algorithm.cpp.o [ 22%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/text_format.cc.o [ 22%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/stubs/substitute.cc.o [ 23%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/timestamp.pb.cc.o [ 23%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/type.pb.cc.o [ 23%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/alloc.cpp.o [ 23%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/unknown_field_set.cc.o [ 23%] Built target pch_Generate_opencv_xfeatures2d [ 23%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/util/delimited_message_util.cc.o /home/jingzhiw/opencv4nodejs/node_modules/opencv-build/opencv/opencv/3rdparty/protobuf/src/google/protobuf/text_format.cc:1309:1: error: prototype for ‘google::protobuf::TextFormat::Parser::Parser(bool)’ does not match any in class ‘google::protobuf::TextFormat::Parser’ TextFormat::Parser::Parser(bool allow_unknown_field) ^ In file included from /home/jingzhiw/opencv4nodejs/node_modules/opencv-build/opencv/opencv/3rdparty/protobuf/src/google/protobuf/text_format.cc:43:0: /home/jingzhiw/anaconda3/include/google/protobuf/text_format.h:458:28: error: candidates are: google::protobuf::TextFormat::Parser::Parser(const google::protobuf::TextFormat::Parser&) class LIBPROTOBUF_EXPORT Parser { ^ /home/jingzhiw/anaconda3/include/google/protobuf/text_format.h:460:5: error: google::protobuf::TextFormat::Parser::Parser() Parser(); ^ [ 23%] Built target pch_Generate_opencv_ximgproc [ 23%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/util/field_comparator.cc.o [ 23%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/arithm.cpp.o [ 23%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/util/field_mask_util.cc.o [ 23%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/array.cpp.o 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/build.make:712: recipe for target '3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/text_format.cc.o' failed make[2]: [3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/text_format.cc.o] Error 1 make[2]: Waiting for unfinished jobs.... [ 23%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/batch_distance.cpp.o [ 23%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/channels.cpp.o [ 23%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/check.cpp.o [ 24%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/command_line_parser.cpp.o [ 24%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/conjugate_gradient.cpp.o [ 24%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/convert.cpp.o [ 24%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/convert_c.cpp.o [ 24%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/convert_scale.cpp.o [ 24%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/copy.cpp.o CMakeFiles/Makefile2:293: recipe for target '3rdparty/protobuf/CMakeFiles/libprotobuf.dir/all' failed make[1]: [3rdparty/protobuf/CMakeFiles/libprotobuf.dir/all] Error 2 make[1]: Waiting for unfinished jobs.... [ 24%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/count_non_zero.cpp.o [ 25%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/cuda_gpu_mat.cpp.o [ 25%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/cuda_host_mem.cpp.o [ 25%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/cuda_info.cpp.o [ 25%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/cuda_stream.cpp.o [ 25%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/datastructs.cpp.o [ 25%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/directx.cpp.o [ 25%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/downhill_simplex.cpp.o [ 26%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/dxt.cpp.o [ 26%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/gl_core_3_1.cpp.o [ 26%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/glob.cpp.o [ 26%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/hal_internal.cpp.o [ 26%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/kmeans.cpp.o [ 26%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/lapack.cpp.o [ 26%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/lda.cpp.o [ 27%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/logger.cpp.o [ 27%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/lpsolver.cpp.o [ 27%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/lut.cpp.o [ 27%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/mathfuncs.cpp.o [ 27%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/mathfuncs_core.dispatch.cpp.o [ 27%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/matmul.cpp.o [ 27%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/matrix.cpp.o [ 28%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/matrix_c.cpp.o [ 28%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/matrix_decomp.cpp.o [ 28%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/matrix_expressions.cpp.o [ 28%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/matrix_iterator.cpp.o [ 28%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/matrix_operations.cpp.o [ 28%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/matrix_sparse.cpp.o [ 28%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/matrix_wrap.cpp.o [ 29%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/mean.cpp.o [ 29%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/merge.cpp.o [ 29%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/minmax.cpp.o [ 29%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/norm.cpp.o [ 29%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/ocl.cpp.o [ 29%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/opencl/runtime/opencl_clamdblas.cpp.o [ 29%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/opencl/runtime/opencl_clamdfft.cpp.o [ 30%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/opencl/runtime/opencl_core.cpp.o [ 30%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/opengl.cpp.o [ 30%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/out.cpp.o [ 30%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/ovx.cpp.o [ 30%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/parallel.cpp.o [ 30%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/parallel_impl.cpp.o [ 30%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/pca.cpp.o [ 31%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/persistence.cpp.o [ 31%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/persistence_base64.cpp.o [ 31%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/persistence_c.cpp.o [ 31%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/persistence_cpp.cpp.o [ 31%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/persistence_json.cpp.o [ 31%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/persistence_types.cpp.o [ 31%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/persistence_xml.cpp.o [ 31%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/persistence_yml.cpp.o [ 32%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/rand.cpp.o [ 32%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/softfloat.cpp.o [ 32%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/split.cpp.o [ 32%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/stat.dispatch.cpp.o [ 32%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/stat_c.cpp.o [ 32%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/stl.cpp.o [ 32%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/sum.cpp.o [ 33%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/system.cpp.o [ 33%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/tables.cpp.o [ 33%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/trace.cpp.o [ 33%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/types.cpp.o [ 33%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/umatrix.cpp.o [ 33%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/utils/filesystem.cpp.o [ 33%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/va_intel.cpp.o [ 34%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/opencl_kernels_core.cpp.o [ 34%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/convert.sse4_1.cpp.o [ 34%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/stat.sse4_2.cpp.o [ 34%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/convert.fp16.cpp.o [ 34%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/mathfuncs_core.avx.cpp.o [ 34%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/convert.avx2.cpp.o [ 34%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/mathfuncs_core.avx2.cpp.o [ 35%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/stat.avx2.cpp.o [ 35%] Linking CXX shared library ../../lib/libopencv_core.so [ 35%] Built target opencv_core Makefile:162: recipe for target 'all' failed make: *** [all] Error 2 ERR! child process exited with code 2 npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! opencv-build@0.0.15 install: node ./install.js npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the opencv-build@0.0.15 install script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in: npm ERR! /home/jingzhiw/.npm/_logs/2018-10-25T15_24_14_475Z-debug.log

justadudewhohacks commented 6 years ago

Looks like you have a conflicting protobuf version installed under /home/jingzhiw/anaconda3/include/google/protobuf/. OpenCV comes with libprotobuf and compiles it unless it is detected by the cmake system on your system.

Jingzhi-Super commented 6 years ago

It's working fine now. Thank you so much