Background:
My Linux idiots, because learning embedded qt development, need to use opencv, opencv cross-compilation has been compiled, but normal virtual machine environment opencv compilation has been stuck in the libQt5Core. So. 5.6.0: could not read symbols: the File in wrong format
Using the virtual machine qt5.6 compiled environment is embedded development board manufacturers, the dependence of opencv library is my own compilation, using cmake - GUI configuration
system information:
Linux ubuntu 3.2.0-23 - generic # 36 - ubuntu SMP Tue Apr 10 20:39:51 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
Cmake version 2.8.7
GCC version 4.6.3 (Ubuntu/Linaro ubuntu5 4.6.3-1)
Qt5.6
cmake - GUI configuration information:
Detected the version of the GNU GCC: 46 (406)
Found ZLIB:/home/opencv depend/lib/libz. So (Found suitable version "1.2.11", required is "1.2.3")
Could NOT find Jasper (missing: JASPER_LIBRARY JASPER_INCLUDE_DIR)
Found ZLIB:/home/opencv depend/lib/libz. So (Found version "1.2.11)
& for Linux/videodev. H
& for Linux/videodev. H - not found
& for Linux/videodev2. H
& for Linux/videodev2. H - found
& for sys/videoio. H
& for sys/videoio. H - not found
Checking for the module 'libavresample'
Package 'libavresample' not found
& for libavformat/avformat. H
& for libavformat/avformat. H - found
& for ffmpeg/avformat. H
& for ffmpeg/avformat. H - not found
Checking for the module 'libgphoto2'
Package 'libgphoto2' not found
Found IPP (ICV version) : 9.0.1 [9.0.1]
At:/home/ori - the file/opencv - 3.1.0/3 rdparty/ippicv/unpack/ippicv_lnx
Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE)
To enable PlantUML support, set PLANTUML_JAR environment variable or pass - DPLANTUML_JAR=& lt; Filepath> Option to cmake
Could NOT find PythonLibs (missing: PYTHON_LIBRARIES PYTHON_INCLUDE_DIRS) (Required is exact version 2.7.3)
Could NOT find PythonInterp: Found unsuitable version 2.7.3, but the required is at further "3.4" (Found/usr/bin/python)
Could NOT find PythonInterp: Found unsuitable version 2.7.3, but the required is at further "3.2" (Found/usr/bin/python)
Could NOT find the JNI (missing: JAVA_AWT_LIBRARY JAVA_JVM_LIBRARY JAVA_INCLUDE_PATH JAVA_INCLUDE_PATH2 JAVA_AWT_INCLUDE_PATH)
Could NOT find the Matlab (missing: MATLAB_MEX_SCRIPT MATLAB_INCLUDE_DIRS MATLAB_ROOT_DIR MATLAB_LIBRARIES MATLAB_LIBRARY_DIRS MATLAB_MEXEXT MATLAB_ARCH MATLAB_BIN)
VTK is not found. Both Please set - DVTK_DIR in CMake to VTK build directory, or to VTK install subdirectory with VTKConfig. CMake file
General configuration for OpenCV 3.1.0=====================================
Version control: unknown
Platform:
Host: Linux 3.2.0-23 - generic x86_64
CMake: 2.8.7
CMake generator: Unix Makefiles
CMake build tool:/usr/bin/make
Configuration: Release
C/C + + :
Built as dynamic libs? : YES
C + + Compiler:/usr/bin/c + + (ver 4.6)
C + + flags (Release) : - fsigned - char - W - Wall - Werror=return - type - Werror=non - virtual - dtor - Werror=address - Werror=sequence - point - Wformat - Werror=format ws-security - Wmissing - declarations - Wundef - Winit - self - Wpointer - arith - Wshadow - Wsign - promo usage - fdiagnostics - show - option - Wno - long -- long -- pthread fomit - frame - pointer - msse - msse2 - mno - avx - msse3 - mno - ssse3 - mno - sse4.1 - mno - sse4.2 - ffunction - sections -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 ws-security - Wmissing - declarations - Wundef - Winit - self - Wpointer - arith - Wshadow - Wsign - promo usage - fdiagnostics - show - option - Wno - long -- long -- pthread fomit - frame - pointer - msse - msse2 - mno - avx - msse3 - mno - ssse3 - mno - sse4.1 - mno - sse4.2 - ffunction - sections -fvisibility=hidden -fvisibility - inlines - hidden - g - O0 - DDEBUG - D_DEBUG
C Compiler:/usr/bin/GCC
C flags (Release) : - fsigned - char - W - Wall - Werror=return - type - Werror=non - virtual - dtor - Werror=address - Werror=sequence - point - Wformat - Werror=format ws-security - Wmissing - declarations - Wmissing - as - Wstrict - as - Wundef - Winit - self - Wpointer - arith - Wshadow fdiagnostics - show - option - Wno - long -- long -- pthread fomit - frame - pointer - msse - msse2 - mno - avx - msse3 - mno - ssse3 - mno - sse4.1 - mno - sse4.2 - ffunction - sections -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 ws-security - Wmissing - declarations - Wmissing - as - Wstrict - as - Wundef - Winit - self - Wpointer - arith - Wshadow fdiagnostics - show - option - Wno - long -- long -- pthread fomit - frame - pointer - msse - msse2 - mno - avx - msse3 - mno - ssse3 - mno - sse4.1 - mno - sse4.2 - ffunction - sections -fvisibility=hidden - g - O0 - DDEBUG - D_DEBUG
Would flags (Release) :
nullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnull