tce-load -i compiletc cmake gtk3-dev gst-plugins-base-dev ffmpeg4-dev python3.6-dev python3.6-numpy jasper-dev openexr-dev ocl-icd-dev intel-vaapi-driver cd opencv-3.4.0 sudo cp /tmp/tcloop/gcc_libs-dev/usr/local/lib/libgomp.spec /usr/lib [tar xf ../opencv_contrib-3.4.0.tar.xz] mkdir build cd build cmake -LAH -DCMAKE_C_FLAGS_RELEASE="-flto -fuse-linker-plugin -mtune=generic -Os -pipe" -DCMAKE_CXX_FLAGS_RELEASE="-flto -fuse-linker-plugin -mtune=generic -Os -pipe -D_GLIBCXX_USE_C99_MATH" -DCMAKE_INSTALL_PREFIX=/usr/local -DCMAKE_BUILD_TYPE=release -DWITH_OPENMP=ON -DWITH_VA=ON -DWITH_OPENGL=ON -DWITH_OPENCL=ON -DENABLE_CXX11=ON -DBUILD_TESTS=OFF -DBUILD_PERF_TESTS=OFF -DENABLE_PRECOMPILED_HEADERS=OFF -DCMAKE_SKIP_RPATH=ON -DBUILD_WITH_DEBUG_INFO=OFF -DWITH_LIBV4L=ON -DPYTHON3_INCLUDE_DIR=/usr/local/include/python3.6m -DPYTHON3_LIBRARY=/usr/local/lib/libpython3.6m.so [-DOPENCV_EXTRA_MODULES_PATH=../opencv_contrib-3.4.0/modules] -DCMAKE_VERBOSE_MAKEFILE=TRUE ../ [There is no problem in case of custom OpenCL implementation is Khronos OpenCL 1.2 compatible (conformant). "Dynamic" OpenCL library loading is used by default.] [-fno-exceptions fails] make [12m 34.16s] sudo make install [sudo cp 3rdparty/ippicv/ippicv_lnx/lib/intel64/libippicv.a /usr/local/lib] -- General configuration for OpenCV 3.4.0 ===================================== -- Version control: unknown -- -- Platform: -- Timestamp: 2018-02-01T11:37:01Z -- Host: Linux 4.14.10-tinycore64 x86_64 -- CMake: 3.8.0 -- CMake generator: Unix Makefiles -- CMake build tool: /usr/local/bin/make -- Configuration: release -- -- CPU/HW features: -- Baseline: SSE SSE2 SSE3 -- requested: SSE3 -- Dispatched code generation: SSE4_1 SSE4_2 FP16 AVX AVX2 -- requested: SSE4_1 SSE4_2 AVX FP16 AVX2 -- 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 -- -- C/C++: -- Built as dynamic libs?: YES -- C++11: YES -- C++ Compiler: /usr/local/bin/c++ (ver 7.2.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 -Wno-implicit-fallthrough -Wno-strict-overflow -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -msse -msse2 -msse3 -fvisibility=hidden -fvisibility-inlines-hidden -fopenmp -flto -fuse-linker-plugin -mtune=generic -Os -pipe -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 -Wno-implicit-fallthrough -Wno-strict-overflow -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -msse -msse2 -msse3 -fvisibility=hidden -fvisibility-inlines-hidden -fopenmp -g -O0 -DDEBUG -D_DEBUG -- C Compiler: /usr/local/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 -Wno-implicit-fallthrough -Wno-strict-overflow -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -msse -msse2 -msse3 -fvisibility=hidden -fopenmp -flto -fuse-linker-plugin -mtune=generic -Os -pipe -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 -Wno-implicit-fallthrough -Wno-strict-overflow -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -msse -msse2 -msse3 -fvisibility=hidden -fopenmp -g -O0 -DDEBUG -D_DEBUG -- Linker flags (Release): -- Linker flags (Debug): -- ccache: NO -- Precompiled headers: NO -- Extra dependencies: dl m pthread rt -- 3rdparty dependencies: -- -- OpenCV modules: -- To be built: calib3d core dnn features2d flann highgui imgcodecs imgproc ml objdetect photo python3 python_bindings_generator shape stitching superres video videoio videostab -- Disabled: js world -- Disabled by dependency: - -- Unavailable: cudaarithm cudabgsegm cudacodec cudafeatures2d cudafilters cudaimgproc cudalegacy cudaobjdetect cudaoptflow cudastereo cudawarping cudev java python2 ts viz -- Applications: apps -- Documentation: NO -- Non-free algorithms: NO -- -- GUI: -- GTK+: YES (ver 3.22.24) -- GThread : YES (ver 2.54.1) -- GtkGlExt: NO -- OpenGL support: NO -- VTK support: NO -- -- Media I/O: -- ZLib: /usr/lib/libz.so (ver 1.2.11) -- JPEG: /usr/local/lib/libjpeg.so (ver ) -- WEBP: /usr/local/lib/libwebp.so (ver encoder: 0x020e) -- PNG: /usr/local/lib/libpng.so (ver 1.6.34) -- TIFF: /usr/local/lib/libtiff.so (ver 42 / 4.0.9) -- JPEG 2000: /usr/local/lib/libjasper.so (ver 1.900.1) -- OpenEXR: /usr/local/lib/libImath.so /usr/local/lib/libIlmImf.so /usr/local/lib/libIex.so /usr/local/lib/libHalf.so /usr/local/lib/libIlmThread.so (ver 2.2.0) -- -- Video I/O: -- DC1394: NO -- FFMPEG: YES -- avcodec: YES (ver 57.107.100) -- avformat: YES (ver 57.83.100) -- avutil: YES (ver 55.78.100) -- swscale: YES (ver 4.8.100) -- avresample: NO -- GStreamer: -- base: YES (ver 1.12.4) -- video: YES (ver 1.12.4) -- app: YES (ver 1.12.4) -- riff: YES (ver 1.12.4) -- pbutils: YES (ver 1.12.4) -- libv4l/libv4l2: 1.14.1 / 1.14.1 -- v4l/v4l2: linux/videodev2.h -- gPhoto2: NO -- -- Parallel framework: OpenMP -- -- Trace: YES (with Intel ITT) -- -- Other third-party libraries: -- Intel IPP: 2017.0.3 [2017.0.3] -- at: /usr/src/opencv-3.4.0/build/3rdparty/ippicv/ippicv_lnx -- Intel IPP IW: sources (2017.0.3) -- at: /usr/src/opencv-3.4.0/build/3rdparty/ippicv/ippiw_lnx -- VA: YES -- Lapack: NO -- Eigen: NO -- Custom HAL: NO -- -- NVIDIA CUDA: NO -- -- OpenCL: YES (no extra features) -- Include path: /usr/src/opencv-3.4.0/3rdparty/include/opencl/1.2 -- Link libraries: Dynamic load -- -- Python 3: -- Interpreter: /usr/local/bin/python3 (ver 3.6.3) -- Libraries: /usr/local/lib/libpython3.6m.so -- numpy: /usr/local/lib/python3.6/site-packages/numpy/core/include (ver 1.11.2) -- packages path: lib/python3.6/site-packages -- -- Python (for build): /usr/local/bin/python2.7 -- -- Java: -- ant: NO -- JNI: NO -- Java wrappers: NO -- Java tests: NO -- -- Matlab: NO -- -- Install to: /usr/local -- -----------------------------------------------------------------