/root/tools/opencv-3.4.0/modules/cudalegacy/include/opencv2/cudalegacy/NCVHaarObjectDetection.hpp:102:56: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
[ 97%] Building CXX object modules/stitching/CMakeFiles/opencv_stitching.dir/opencl_kernels_stitching.cpp.o
cc1plus: warning: /root/tools/opencv-3.4.0/release/modules/stitching/precomp.hpp.gch/opencv_stitching_RELEASE.gch: not used because __cpp_aggregate_nsdmi' not defined [-Winvalid-pch] In file included from /root/tools/opencv-3.4.0/modules/cudalegacy/include/opencv2/cudalegacy.hpp:50:0, from /root/tools/opencv-3.4.0/release/modules/stitching/precomp.hpp:87, from <command-line>:0: /root/tools/opencv-3.4.0/modules/cudalegacy/include/opencv2/cudalegacy/NCVHaarObjectDetection.hpp: In member function ‘NCVStatus HaarFeature64::setRect(Ncv32u, Ncv32u, Ncv32u, Ncv32u, Ncv32u, Ncv32u)’: /root/tools/opencv-3.4.0/modules/cudalegacy/include/opencv2/cudalegacy/NCVHaarObjectDetection.hpp:87:38: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((NcvRect8u*)&(this->_ui2.x))->x = (Ncv8u)rectX; ^~ /root/tools/opencv-3.4.0/modules/cudalegacy/include/opencv2/cudalegacy/NCVHaarObjectDetection.hpp:88:38: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((NcvRect8u*)&(this->_ui2.x))->y = (Ncv8u)rectY; ^~ /root/tools/opencv-3.4.0/modules/cudalegacy/include/opencv2/cudalegacy/NCVHaarObjectDetection.hpp:89:38: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((NcvRect8u*)&(this->_ui2.x))->width = (Ncv8u)rectWidth; ^~ /root/tools/opencv-3.4.0/modules/cudalegacy/include/opencv2/cudalegacy/NCVHaarObjectDetection.hpp:90:38: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((NcvRect8u*)&(this->_ui2.x))->height = (Ncv8u)rectHeight; ^~ /root/tools/opencv-3.4.0/modules/cudalegacy/include/opencv2/cudalegacy/NCVHaarObjectDetection.hpp: In member function ‘void HaarFeature64::getRect(Ncv32u*, Ncv32u*, Ncv32u*, Ncv32u*)’: /root/tools/opencv-3.4.0/modules/cudalegacy/include/opencv2/cudalegacy/NCVHaarObjectDetection.hpp:102:56: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] NcvRect8u tmpRect = *(NcvRect8u*)(&this->_ui2.x); ^ /root/tools/opencv-3.4.0/modules/cudalegacy/include/opencv2/cudalegacy/NCVHaarObjectDetection.hpp:102:56: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] [ 98%] Linking CXX shared library ../../lib/libopencv_stitching.so [ 98%] Built target opencv_stitching In file included from /root/tools/opencv-3.4.0/modules/core/include/opencv2/core/cuda/functional.hpp:50:0, from /root/tools/opencv-3.4.0/modules/cudaoptflow/src/cuda/pyrlk.cu:47: /usr/local/cuda/include/device_functions.h:54:2: warning: #warning "device_functions.h is an internal header file and must not be used directly. This file will be removed in a future CUDA release. Please use cuda_runtime_api.h or cuda_runtime.h instead." [-Wcpp] #warning "device_functions.h is an internal header file and must not be used directly. This file will be removed in a future CUDA release. Please use cuda_runtime_api.h or cuda_runtime.h instead." ^~~~~~~ Scanning dependencies of target opencv_cudaoptflow [ 98%] Building CXX object modules/cudaoptflow/CMakeFiles/opencv_cudaoptflow.dir/src/brox.cpp.o [ 98%] Building CXX object modules/cudaoptflow/CMakeFiles/opencv_cudaoptflow.dir/src/farneback.cpp.o [ 98%] Building CXX object modules/cudaoptflow/CMakeFiles/opencv_cudaoptflow.dir/src/pyrlk.cpp.o [ 98%] Building CXX object modules/cudaoptflow/CMakeFiles/opencv_cudaoptflow.dir/src/tvl1flow.cpp.o cc1plus: warning: /root/tools/opencv-3.4.0/release/modules/cudaoptflow/precomp.hpp.gch/opencv_cudaoptflow_RELEASE.gch: not used because
__cpp_aggregate_nsdmi’ not defined [-Winvalid-pch]
cc1plus: warning: /root/tools/opencv-3.4.0/release/modules/cudaoptflow/precomp.hpp.gch/opencv_cudaoptflow_RELEASE.gch: not used because __cpp_aggregate_nsdmi' not defined [-Winvalid-pch] cc1plus: warning: /root/tools/opencv-3.4.0/release/modules/cudaoptflow/precomp.hpp.gch/opencv_cudaoptflow_RELEASE.gch: not used because
__cpp_aggregate_nsdmi’ not defined [-Winvalid-pch]
cc1plus: warning: /root/tools/opencv-3.4.0/release/modules/cudaoptflow/precomp.hpp.gch/opencv_cudaoptflow_RELEASE.gch: not used because __cpp_aggregate_nsdmi' not defined [-Winvalid-pch] In file included from /root/tools/opencv-3.4.0/modules/cudalegacy/include/opencv2/cudalegacy.hpp:50:0, from /root/tools/opencv-3.4.0/modules/cudalegacy/include/opencv2/cudalegacy/private.hpp:57, from /root/tools/opencv-3.4.0/release/modules/cudaoptflow/precomp.hpp:59, from <command-line>:0: /root/tools/opencv-3.4.0/modules/cudalegacy/include/opencv2/cudalegacy/NCVHaarObjectDetection.hpp: In member function ‘NCVStatus HaarFeature64::setRect(Ncv32u, Ncv32u, Ncv32u, Ncv32u, Ncv32u, Ncv32u)’: /root/tools/opencv-3.4.0/modules/cudalegacy/include/opencv2/cudalegacy/NCVHaarObjectDetection.hpp:87:38: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((NcvRect8u*)&(this->_ui2.x))->x = (Ncv8u)rectX; ^~ In file included from /root/tools/opencv-3.4.0/modules/cudalegacy/include/opencv2/cudalegacy.hpp:50:0, from /root/tools/opencv-3.4.0/modules/cudalegacy/include/opencv2/cudalegacy/private.hpp:57, from /root/tools/opencv-3.4.0/release/modules/cudaoptflow/precomp.hpp:59, from <command-line>:0: /root/tools/opencv-3.4.0/modules/cudalegacy/include/opencv2/cudalegacy/NCVHaarObjectDetection.hpp: In member function ‘NCVStatus HaarFeature64::setRect(Ncv32u, Ncv32u, Ncv32u, Ncv32u, Ncv32u, Ncv32u)’: /root/tools/opencv-3.4.0/modules/cudalegacy/include/opencv2/cudalegacy/NCVHaarObjectDetection.hpp:87:38: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((NcvRect8u*)&(this->_ui2.x))->x = (Ncv8u)rectX; ^~ /root/tools/opencv-3.4.0/modules/cudalegacy/include/opencv2/cudalegacy/NCVHaarObjectDetection.hpp:88:38: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((NcvRect8u*)&(this->_ui2.x))->y = (Ncv8u)rectY; ^~ /root/tools/opencv-3.4.0/modules/cudalegacy/include/opencv2/cudalegacy/NCVHaarObjectDetection.hpp:88:38: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((NcvRect8u*)&(this->_ui2.x))->y = (Ncv8u)rectY; ^~ /root/tools/opencv-3.4.0/modules/cudalegacy/include/opencv2/cudalegacy/NCVHaarObjectDetection.hpp:89:38: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((NcvRect8u*)&(this->_ui2.x))->width = (Ncv8u)rectWidth; ^~ /root/tools/opencv-3.4.0/modules/cudalegacy/include/opencv2/cudalegacy/NCVHaarObjectDetection.hpp:89:38: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((NcvRect8u*)&(this->_ui2.x))->width = (Ncv8u)rectWidth; ^~ /root/tools/opencv-3.4.0/modules/cudalegacy/include/opencv2/cudalegacy/NCVHaarObjectDetection.hpp:90:38: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((NcvRect8u*)&(this->_ui2.x))->height = (Ncv8u)rectHeight; ^~ /root/tools/opencv-3.4.0/modules/cudalegacy/include/opencv2/cudalegacy/NCVHaarObjectDetection.hpp:90:38: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((NcvRect8u*)&(this->_ui2.x))->height = (Ncv8u)rectHeight; ^~ /root/tools/opencv-3.4.0/modules/cudalegacy/include/opencv2/cudalegacy/NCVHaarObjectDetection.hpp: In member function ‘void HaarFeature64::getRect(Ncv32u*, Ncv32u*, Ncv32u*, Ncv32u*)’: /root/tools/opencv-3.4.0/modules/cudalegacy/include/opencv2/cudalegacy/NCVHaarObjectDetection.hpp:102:56: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] NcvRect8u tmpRect = *(NcvRect8u*)(&this->_ui2.x); ^ /root/tools/opencv-3.4.0/modules/cudalegacy/include/opencv2/cudalegacy/NCVHaarObjectDetection.hpp: In member function ‘void HaarFeature64::getRect(Ncv32u*, Ncv32u*, Ncv32u*, Ncv32u*)’: /root/tools/opencv-3.4.0/modules/cudalegacy/include/opencv2/cudalegacy/NCVHaarObjectDetection.hpp:102:56: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] NcvRect8u tmpRect = *(NcvRect8u*)(&this->_ui2.x); ^ /root/tools/opencv-3.4.0/modules/cudalegacy/include/opencv2/cudalegacy/NCVHaarObjectDetection.hpp:102:56: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] /root/tools/opencv-3.4.0/modules/cudalegacy/include/opencv2/cudalegacy/NCVHaarObjectDetection.hpp:102:56: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] In file included from /root/tools/opencv-3.4.0/modules/cudalegacy/include/opencv2/cudalegacy.hpp:50:0, from /root/tools/opencv-3.4.0/modules/cudalegacy/include/opencv2/cudalegacy/private.hpp:57, from /root/tools/opencv-3.4.0/release/modules/cudaoptflow/precomp.hpp:59, from <command-line>:0: /root/tools/opencv-3.4.0/modules/cudalegacy/include/opencv2/cudalegacy/NCVHaarObjectDetection.hpp: In member function ‘NCVStatus HaarFeature64::setRect(Ncv32u, Ncv32u, Ncv32u, Ncv32u, Ncv32u, Ncv32u)’: /root/tools/opencv-3.4.0/modules/cudalegacy/include/opencv2/cudalegacy/NCVHaarObjectDetection.hpp:87:38: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((NcvRect8u*)&(this->_ui2.x))->x = (Ncv8u)rectX; ^~ /root/tools/opencv-3.4.0/modules/cudalegacy/include/opencv2/cudalegacy/NCVHaarObjectDetection.hpp:88:38: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((NcvRect8u*)&(this->_ui2.x))->y = (Ncv8u)rectY; ^~ /root/tools/opencv-3.4.0/modules/cudalegacy/include/opencv2/cudalegacy/NCVHaarObjectDetection.hpp:89:38: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((NcvRect8u*)&(this->_ui2.x))->width = (Ncv8u)rectWidth; ^~ /root/tools/opencv-3.4.0/modules/cudalegacy/include/opencv2/cudalegacy/NCVHaarObjectDetection.hpp:90:38: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((NcvRect8u*)&(this->_ui2.x))->height = (Ncv8u)rectHeight; ^~ /root/tools/opencv-3.4.0/modules/cudalegacy/include/opencv2/cudalegacy/NCVHaarObjectDetection.hpp: In member function ‘void HaarFeature64::getRect(Ncv32u*, Ncv32u*, Ncv32u*, Ncv32u*)’: /root/tools/opencv-3.4.0/modules/cudalegacy/include/opencv2/cudalegacy/NCVHaarObjectDetection.hpp:102:56: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] NcvRect8u tmpRect = *(NcvRect8u*)(&this->_ui2.x); ^ /root/tools/opencv-3.4.0/modules/cudalegacy/include/opencv2/cudalegacy/NCVHaarObjectDetection.hpp:102:56: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] In file included from /root/tools/opencv-3.4.0/modules/cudalegacy/include/opencv2/cudalegacy.hpp:50:0, from /root/tools/opencv-3.4.0/modules/cudalegacy/include/opencv2/cudalegacy/private.hpp:57, from /root/tools/opencv-3.4.0/release/modules/cudaoptflow/precomp.hpp:59, from <command-line>:0: /root/tools/opencv-3.4.0/modules/cudalegacy/include/opencv2/cudalegacy/NCVHaarObjectDetection.hpp: In member function ‘NCVStatus HaarFeature64::setRect(Ncv32u, Ncv32u, Ncv32u, Ncv32u, Ncv32u, Ncv32u)’: /root/tools/opencv-3.4.0/modules/cudalegacy/include/opencv2/cudalegacy/NCVHaarObjectDetection.hpp:87:38: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((NcvRect8u*)&(this->_ui2.x))->x = (Ncv8u)rectX; ^~ /root/tools/opencv-3.4.0/modules/cudalegacy/include/opencv2/cudalegacy/NCVHaarObjectDetection.hpp:88:38: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((NcvRect8u*)&(this->_ui2.x))->y = (Ncv8u)rectY; ^~ /root/tools/opencv-3.4.0/modules/cudalegacy/include/opencv2/cudalegacy/NCVHaarObjectDetection.hpp:89:38: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((NcvRect8u*)&(this->_ui2.x))->width = (Ncv8u)rectWidth; ^~ /root/tools/opencv-3.4.0/modules/cudalegacy/include/opencv2/cudalegacy/NCVHaarObjectDetection.hpp:90:38: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((NcvRect8u*)&(this->_ui2.x))->height = (Ncv8u)rectHeight; ^~ /root/tools/opencv-3.4.0/modules/cudalegacy/include/opencv2/cudalegacy/NCVHaarObjectDetection.hpp: In member function ‘void HaarFeature64::getRect(Ncv32u*, Ncv32u*, Ncv32u*, Ncv32u*)’: /root/tools/opencv-3.4.0/modules/cudalegacy/include/opencv2/cudalegacy/NCVHaarObjectDetection.hpp:102:56: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] NcvRect8u tmpRect = *(NcvRect8u*)(&this->_ui2.x); ^ /root/tools/opencv-3.4.0/modules/cudalegacy/include/opencv2/cudalegacy/NCVHaarObjectDetection.hpp:102:56: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] [ 98%] Linking CXX shared library ../../lib/libopencv_cudaoptflow.so [ 98%] Built target opencv_cudaoptflow [ 98%] Processing OpenCL kernels (superres) [ 98%] Building NVCC (Device) object modules/videostab/CMakeFiles/cuda_compile.dir/src/cuda/cuda_compile_generated_global_motion.cu.o [ 98%] Building NVCC (Device) object modules/superres/CMakeFiles/cuda_compile.dir/src/cuda/cuda_compile_generated_btv_l1_gpu.cu.o In file included from /root/tools/opencv-3.4.0/modules/core/include/opencv2/core/cuda/detail/../functional.hpp:50:0, from /root/tools/opencv-3.4.0/modules/core/include/opencv2/core/cuda/detail/transform_detail.hpp:48, from /root/tools/opencv-3.4.0/modules/core/include/opencv2/core/cuda/transform.hpp:48, from /root/tools/opencv-3.4.0/modules/superres/src/cuda/btv_l1_gpu.cu:48: /usr/local/cuda/include/device_functions.h:54:2: warning: #warning "device_functions.h is an internal header file and must not be used directly. This file will be removed in a future CUDA release. Please use cuda_runtime_api.h or cuda_runtime.h instead." [-Wcpp] #warning "device_functions.h is an internal header file and must not be used directly. This file will be removed in a future CUDA release. Please use cuda_runtime_api.h or cuda_runtime.h instead." ^~~~~~~ In file included from /root/tools/opencv-3.4.0/modules/core/include/opencv2/core/cuda/detail/../functional.hpp:50:0, from /root/tools/opencv-3.4.0/modules/core/include/opencv2/core/cuda/detail/transform_detail.hpp:48, from /root/tools/opencv-3.4.0/modules/core/include/opencv2/core/cuda/transform.hpp:48, from /root/tools/opencv-3.4.0/modules/superres/src/cuda/btv_l1_gpu.cu:48: /usr/local/cuda/include/device_functions.h:54:2: warning: #warning "device_functions.h is an internal header file and must not be used directly. This file will be removed in a future CUDA release. Please use cuda_runtime_api.h or cuda_runtime.h instead." [-Wcpp] #warning "device_functions.h is an internal header file and must not be used directly. This file will be removed in a future CUDA release. Please use cuda_runtime_api.h or cuda_runtime.h instead." ^~~~~~~ In file included from /root/tools/opencv-3.4.0/modules/core/include/opencv2/core/cuda/detail/../functional.hpp:50:0, from /root/tools/opencv-3.4.0/modules/core/include/opencv2/core/cuda/detail/transform_detail.hpp:48, from /root/tools/opencv-3.4.0/modules/core/include/opencv2/core/cuda/transform.hpp:48, from /root/tools/opencv-3.4.0/modules/superres/src/cuda/btv_l1_gpu.cu:48: /usr/local/cuda/include/device_functions.h:54:2: warning: #warning "device_functions.h is an internal header file and must not be used directly. This file will be removed in a future CUDA release. Please use cuda_runtime_api.h or cuda_runtime.h instead." [-Wcpp] #warning "device_functions.h is an internal header file and must not be used directly. This file will be removed in a future CUDA release. Please use cuda_runtime_api.h or cuda_runtime.h instead." ^~~~~~~ In file included from /root/tools/opencv-3.4.0/modules/core/include/opencv2/core/cuda/detail/../functional.hpp:50:0, from /root/tools/opencv-3.4.0/modules/core/include/opencv2/core/cuda/detail/transform_detail.hpp:48, from /root/tools/opencv-3.4.0/modules/core/include/opencv2/core/cuda/transform.hpp:48, from /root/tools/opencv-3.4.0/modules/superres/src/cuda/btv_l1_gpu.cu:48: /usr/local/cuda/include/device_functions.h:54:2: warning: #warning "device_functions.h is an internal header file and must not be used directly. This file will be removed in a future CUDA release. Please use cuda_runtime_api.h or cuda_runtime.h instead." [-Wcpp] #warning "device_functions.h is an internal header file and must not be used directly. This file will be removed in a future CUDA release. Please use cuda_runtime_api.h or cuda_runtime.h instead." ^~~~~~~ Scanning dependencies of target opencv_superres [ 98%] Building CXX object modules/superres/CMakeFiles/opencv_superres.dir/src/btv_l1.cpp.o [ 98%] Building CXX object modules/superres/CMakeFiles/opencv_superres.dir/src/frame_source.cpp.o [ 98%] Building CXX object modules/superres/CMakeFiles/opencv_superres.dir/src/optical_flow.cpp.o [ 98%] Building CXX object modules/superres/CMakeFiles/opencv_superres.dir/src/btv_l1_cuda.cpp.o [ 98%] Building CXX object modules/superres/CMakeFiles/opencv_superres.dir/src/super_resolution.cpp.o [ 98%] Building CXX object modules/superres/CMakeFiles/opencv_superres.dir/src/input_array_utility.cpp.o [ 99%] Building CXX object modules/superres/CMakeFiles/opencv_superres.dir/opencl_kernels_superres.cpp.o cc1plus: warning: /root/tools/opencv-3.4.0/release/modules/superres/precomp.hpp.gch/opencv_superres_RELEASE.gch: not used because
__cpp_aggregate_nsdmi’ not defined [-Winvalid-pch]
cc1plus: warning: /root/tools/opencv-3.4.0/release/modules/superres/precomp.hpp.gch/opencv_superres_RELEASE.gch: not used because __cpp_aggregate_nsdmi' not defined [-Winvalid-pch] cc1plus: warning: /root/tools/opencv-3.4.0/release/modules/superres/precomp.hpp.gch/opencv_superres_RELEASE.gch: not used because
__cpp_aggregate_nsdmi’ not defined [-Winvalid-pch]
cc1plus: warning: /root/tools/opencv-3.4.0/release/modules/superres/precomp.hpp.gch/opencv_superres_RELEASE.gch: not used because __cpp_aggregate_nsdmi' not defined [-Winvalid-pch] cc1plus: warning: /root/tools/opencv-3.4.0/release/modules/superres/precomp.hpp.gch/opencv_superres_RELEASE.gch: not used because
__cpp_aggregate_nsdmi’ not defined [-Winvalid-pch]
cc1plus: warning: /root/tools/opencv-3.4.0/release/modules/superres/precomp.hpp.gch/opencv_superres_RELEASE.gch: not used because __cpp_aggregate_nsdmi' not defined [-Winvalid-pch] cc1plus: warning: /root/tools/opencv-3.4.0/release/modules/superres/precomp.hpp.gch/opencv_superres_RELEASE.gch: not used because
__cpp_aggregate_nsdmi’ not defined [-Winvalid-pch]
Scanning dependencies of target opencv_videostab
[ 99%] Building CXX object modules/videostab/CMakeFiles/opencv_videostab.dir/src/deblurring.cpp.o
[ 99%] Building CXX object modules/videostab/CMakeFiles/opencv_videostab.dir/src/fast_marching.cpp.o
[ 99%] Building CXX object modules/videostab/CMakeFiles/opencv_videostab.dir/src/frame_source.cpp.o
[ 99%] Building CXX object modules/videostab/CMakeFiles/opencv_videostab.dir/src/global_motion.cpp.o
[ 99%] Building CXX object modules/videostab/CMakeFiles/opencv_videostab.dir/src/inpainting.cpp.o
cc1plus: warning: /root/tools/opencv-3.4.0/release/modules/videostab/precomp.hpp.gch/opencv_videostab_RELEASE.gch: not used because __cpp_aggregate_nsdmi' not defined [-Winvalid-pch] cc1plus: warning: /root/tools/opencv-3.4.0/release/modules/videostab/precomp.hpp.gch/opencv_videostab_RELEASE.gch: not used because
__cpp_aggregate_nsdmi’ not defined [-Winvalid-pch]
cc1plus: warning: /root/tools/opencv-3.4.0/release/modules/videostab/precomp.hpp.gch/opencv_videostab_RELEASE.gch: not used because __cpp_aggregate_nsdmi' not defined [-Winvalid-pch] cc1plus: warning: /root/tools/opencv-3.4.0/release/modules/videostab/precomp.hpp.gch/opencv_videostab_RELEASE.gch: not used because
__cpp_aggregate_nsdmi’ not defined [-Winvalid-pch]
[ 99%] Building CXX object modules/videostab/CMakeFiles/opencv_videostab.dir/src/log.cpp.o
cc1plus: warning: /root/tools/opencv-3.4.0/release/modules/videostab/precomp.hpp.gch/opencv_videostab_RELEASE.gch: not used because __cpp_aggregate_nsdmi' not defined [-Winvalid-pch] cc1plus: warning: /root/tools/opencv-3.4.0/release/modules/videostab/precomp.hpp.gch/opencv_videostab_RELEASE.gch: not used because
__cpp_aggregate_nsdmi’ not defined [-Winvalid-pch]
[ 99%] Building CXX object modules/videostab/CMakeFiles/opencv_videostab.dir/src/motion_stabilizing.cpp.o
cc1plus: warning: /root/tools/opencv-3.4.0/release/modules/videostab/precomp.hpp.gch/opencv_videostab_RELEASE.gch: not used because __cpp_aggregate_nsdmi' not defined [-Winvalid-pch] [ 99%] Linking CXX shared library ../../lib/libopencv_superres.so [ 99%] Built target opencv_superres [ 99%] Building CXX object modules/videostab/CMakeFiles/opencv_videostab.dir/src/optical_flow.cpp.o cc1plus: warning: /root/tools/opencv-3.4.0/release/modules/videostab/precomp.hpp.gch/opencv_videostab_RELEASE.gch: not used because
cpp_aggregate_nsdmi’ not defined [-Winvalid-pch]
[ 99%] Building CXX object modules/videostab/CMakeFiles/opencv_videostab.dir/src/outlier_rejection.cpp.o
[100%] Building CXX object modules/videostab/CMakeFiles/opencv_videostab.dir/src/stabilizer.cpp.o
cc1plus: warning: /root/tools/opencv-3.4.0/release/modules/videostab/precomp.hpp.gch/opencv_videostab_RELEASE.gch: not used because __cpp_aggregate_nsdmi' not defined [-Winvalid-pch] cc1plus: warning: /root/tools/opencv-3.4.0/release/modules/videostab/precomp.hpp.gch/opencv_videostab_RELEASE.gch: not used because
cpp_aggregate_nsdmi’ not defined [-Winvalid-pch]
[100%] Building CXX object modules/videostab/CMakeFiles/opencv_videostab.dir/src/wobble_suppression.cpp.o
cc1plus: warning: /root/tools/opencv-3.4.0/release/modules/videostab/precomp.hpp.gch/opencv_videostab_RELEASE.gch: not used because `cpp_aggregate_nsdmi’ not defined [-Winvalid-pch]
[100%] Linking CXX shared library …/…/lib/libopencv_videostab.so
[100%] Built target opencv_videostab
Scanning dependencies of target opencv_python3
[100%] Building CXX object modules/python3/CMakeFiles/opencv_python3.dir//src2/cv2.cpp.o
/root/tools/opencv-3.4.0/modules/python/src2/cv2.cpp: In function ‘bool pyopencv_to(PyObject*, T&, const char*) [with T = cv::String; PyObject = _object]’:
/root/tools/opencv-3.4.0/modules/python/src2/cv2.cpp:885:34: error: invalid conversion from ‘const char*’ to ‘char*’ [-fpermissive]
char* str = PyString_AsString(obj);
modules/python3/CMakeFiles/opencv_python3.dir/build.make:62: recipe for target 'modules/python3/CMakeFiles/opencv_python3.dir//src2/cv2.cpp.o’ failed
make[2]: *** [modules/python3/CMakeFiles/opencv_python3.dir//src2/cv2.cpp.o] Error 1
CMakeFiles/Makefile2:5446: recipe for target ‘modules/python3/CMakeFiles/opencv_python3.dir/all’ failed
make[1]: *** [modules/python3/CMakeFiles/opencv_python3.dir/all] Error 2
Makefile:162: recipe for target ‘all’ failed
make: *** [all] Error 2
use make -j 8