|
发表于 2017-11-20 21:13:31
15935 浏览 3 回复
在iTOP-4412上安装OpenCV出错求救!
按照教程在iTOP-4412上安装OpenCV出错,进行到进入release目录后使用
- cmake -D CMAKE_BUILD_TYPE=RELEASE -D CMAKE_INSTALL_PREFIX=/usr/local ..
复制代码
时,cmake报错了。
- CMake Error at CMakeLists.txt:29 (cmake_minimum_required):
- CMake 2.8.12.2 or higher is required. You are running version 2.8.7
-
-
- -- Configuring incomplete, errors occurred!
复制代码
看样子说是需要2.8.12.2以上版本才能行,可是后一句又说我运行的版本是2.8.7,这不是已经符合了吗?
然后又查看了CMakeCache文件:
- # This is the CMakeCache file./Desktop/opencv-3.3.1/release# cat CMakeCache.txt
- # For build in directory: /root/Desktop/opencv-3.3.1/release
- # It was generated by CMake: /usr/bin/cmake
- # You can edit this file to change values found and used by cmake.
- # If you do not want to change any of the values, simply exit the editor.
- # If you do want to change a value, simply edit, save, and exit the editor.
- # The syntax for the file is as follows:
- # KEY:TYPE=VALUE
- # KEY is the name of a variable in the cache.
- # TYPE is a hint to GUI's for the type of VALUE, DO NOT EDIT TYPE!.
- # VALUE is the current value for the KEY.
-
- ########################
- # EXTERNAL cache entries
- ########################
-
- //No help, variable specified on the command line.
- CMAKE_BUILD_TYPE:UNINITIALIZED=RELEASE
-
- //No help, variable specified on the command line.
- CMAKE_INSTALL_PREFIX:UNINITIALIZED=/usr/local
-
- //If true, cmake will use relative paths in makefiles and projects.
- CMAKE_USE_RELATIVE_PATHS:BOOL=OFF
-
-
- ########################
- # INTERNAL cache entries
- ########################
-
- //This is the directory where this CMakeCache.txt was created
- CMAKE_CACHEFILE_DIR:INTERNAL=/root/Desktop/opencv-3.3.1/release
- //Major version of cmake used to create the current loaded cache
- CMAKE_CACHE_MAJOR_VERSION:INTERNAL=2
- //Minor version of cmake used to create the current loaded cache
- CMAKE_CACHE_MINOR_VERSION:INTERNAL=8
- //Patch version of cmake used to create the current loaded cache
- CMAKE_CACHE_PATCH_VERSION:INTERNAL=7
- //Path to CMake executable.
- CMAKE_COMMAND:INTERNAL=/usr/bin/cmake
- //Path to cpack program executable.
- CMAKE_CPACK_COMMAND:INTERNAL=/usr/bin/cpack
- //Path to ctest program executable.
- CMAKE_CTEST_COMMAND:INTERNAL=/usr/bin/ctest
- //Start directory with the top level CMakeLists.txt file for this
- // project
- CMAKE_HOME_DIRECTORY:INTERNAL=/root/Desktop/opencv-3.3.1
- //number of local generators
- CMAKE_NUMBER_OF_LOCAL_GENERATORS:INTERNAL=1
- //Path to CMake installation.
- CMAKE_ROOT:INTERNAL=/usr/share/cmake-2.8
- //ADVANCED property for variable: CMAKE_USE_RELATIVE_PATHS
- CMAKE_USE_RELATIVE_PATHS-ADVANCED:INTERNAL=1
复制代码
看不出有什么问题,请问这个要怎么解决?
|
|
|
|
|
|
|
|
楼主|
发表于 2017-11-21 09:33:38
|
|
|
|
|
|
|
发表于 2017-11-30 11:04:19
你好,我想咨询一下,请问你是装的ubuntu系统吗?
我在opencv编译make的时候提示说no space left on device,想问一下你当时装系统的时候EMMC分区命令是怎么样的啊? |
|
|
|
|
|
|
|
发表于 2017-12-7 17:04:57
hello楼主
还是想请求帮助,我装ubuntu最多只能给系统分区分到4G,装完opencv只剩几十M,就没空间装QT了,想问一下你是怎么解决的呢? |
|
|
|
|
|
|
登录或注册
扫一扫关注迅为公众号
|