File "", line 1 from distutils.sysconfig import *; print get_python_lib() ^ SyntaxError: invalid syntax File "", line 1 import os; os.environ['DISTUTILS_USE_SDK']='1'; import numpy.distutils; print numpy.distutils.misc_util.get_numpy_include_dirs()[0] ^ SyntaxError: invalid syntax CMake Warning at source_subfolder/cmake/OpenCVPackaging.cmake:23 (message): CPACK_PACKAGE_VERSION does not match version provided by version.hpp header! Call Stack (most recent call first): source_subfolder/CMakeLists.txt:1104 (include) /home/conan/w/cci_PR-4724/.conan/data/opencv/2.4.13.7/_/_/build/4849a03e5ab776fa9bb9e6c444a613a5ec79754b/source_subfolder/modules/highgui/src/grfmt_jpeg2000.cpp:341:33: error: cannot take the address of an rvalue of type 'jas_seqent_t' (aka 'long') jas_seqent_t* pix_row = &jas_matrix_get( buffer, y / ystep, 0 ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/conan/w/cci_PR-4724/.conan/data/opencv/2.4.13.7/_/_/build/4849a03e5ab776fa9bb9e6c444a613a5ec79754b/source_subfolder/modules/highgui/src/grfmt_jpeg2000.cpp:405:33: error: cannot take the address of an rvalue of type 'jas_seqent_t' (aka 'long') jas_seqent_t* pix_row = &jas_matrix_get( buffer, y / ystep, 0 ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2 errors generated. make[2]: *** [source_subfolder/modules/highgui/CMakeFiles/opencv_highgui.dir/src/grfmt_jpeg2000.cpp.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[1]: *** [source_subfolder/modules/highgui/CMakeFiles/opencv_highgui.dir/all] Error 2 make: *** [all] Error 2 eigen/3.3.9: WARN: Lib folder doesn't exist, can't collect libraries: /home/conan/w/cci_PR-4724/.conan/data/eigen/3.3.9/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/lib [HOOK - conan-center.py] post_package_info(): WARN: [LIBRARY DOES NOT EXIST (KB-H054)] Component eigen::eigen libdir "lib" does not contain any library [HOOK - conan-center.py] post_package_info(): WARN: [LIBRARY DOES NOT EXIST (KB-H054)] Component eigen::eigen libdir "lib" does not contain any declared library eigen/3.3.9: WARN: Lib folder doesn't exist, can't collect libraries: /home/conan/w/cci_PR-4724/.conan/data/eigen/3.3.9/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/lib [HOOK - conan-center.py] post_package_info(): WARN: [LIBRARY DOES NOT EXIST (KB-H054)] Component eigen::eigen3 libdir "lib" does not contain any library [HOOK - conan-center.py] post_package_info(): WARN: [LIBRARY DOES NOT EXIST (KB-H054)] Component eigen::eigen3 libdir "lib" does not contain any declared library gtk/system: WARN: Lib folder doesn't exist, can't collect libraries: /home/conan/w/cci_PR-4724/.conan/data/gtk/system/_/_/package/cc5e5ca8b619d2dffaaeae1e4924ae3ce085a8f1/lib [HOOK - conan-center.py] post_package_info(): WARN: [LIBRARY DOES NOT EXIST (KB-H054)] Component gtk::gtk libdir "lib" does not contain any library [HOOK - conan-center.py] post_package_info(): WARN: [LIBRARY DOES NOT EXIST (KB-H054)] Component gtk::gtk libdir "lib" does not contain any declared library [HOOK - conan-center.py] post_package_info(): WARN: [LIBRARY DOES NOT EXIST (KB-H054)] Component libwebp::libwebp libdir "lib" does not contain any declared library [HOOK - conan-center.py] post_package_info(): WARN: [LIBRARY DOES NOT EXIST (KB-H054)] Component zstd::zstd libdir "lib" does not contain any declared library opencv/2.4.13.7: WARN: Build folder is dirty, removing it: /home/conan/w/cci_PR-4724/.conan/data/opencv/2.4.13.7/_/_/build/4849a03e5ab776fa9bb9e6c444a613a5ec79754b opencv/2.4.13.7: ERROR: Package '4849a03e5ab776fa9bb9e6c444a613a5ec79754b' build failed opencv/2.4.13.7: WARN: Build folder /home/conan/w/cci_PR-4724/.conan/data/opencv/2.4.13.7/_/_/build/4849a03e5ab776fa9bb9e6c444a613a5ec79754b ERROR: opencv/2.4.13.7: Error in build() method, line 172 cmake.build() ConanException: Error 2 while executing cmake --build '/home/conan/w/cci_PR-4724/.conan/data/opencv/2.4.13.7/_/_/build/4849a03e5ab776fa9bb9e6c444a613a5ec79754b/build_subfolder' '--' '-j3'