在过去的三个小时里我都快疯了。我只想安装CMake,然后安装OpenCV 3.1,但是我得到了一个Unsupported protocol错误(请参见下面)。
我安装了CMake 3.4.3。就像这样:
wget https://cmake.org/files/v3.4/cmake-3.4.3.tar.gz
tar xf cmake-3.4.3.tar.gz
cd cmake-3.4.3
./configure
make
sudo make install
然后运行这个:
./bootstrap --prefix=/usr
make
sudo make install
当我在OpenCV的安装
我无法让CMake找到带有Linaro ARM工具链的线程(我已经尝试过几个不同的线程)。以下是我所做的:
下载并解压缩到/opt。
下载了相应的sysroot并解压缩到~/sysroot
我创建了一个工具链-Linaro-arm.cmake文件,如下所示:
set (CMAKE_SYSTEM_NAME Linux)
include (CMakeForceCompiler)
我已经在我的Ubuntu14.10(64位)上安装了CMake (1.11版),在bii setup:cpp的同时,我下载并安装了bii 3.0.2。现在,当我想从控制台使用CMake时,我得到了一个分段错误:
$ cmake --version
CMake Error: Could not find CMAKE_ROOT !!!
CMake has most likely not been installed correctly.
Modules directory not found in
/home/lars/.biicode_env/cmake-3.0.2-Linux-64/bin
[
我用命令"apt install libsfml-dev“安装了SFML。
我可以把它链接到cmake描述中,就像这篇文章中的"“一样,一切都很好。
但是,如果我将set(SFML_STATIC_LIBRARIES TRUE)添加到cmake文件以链接sfml静态,则会得到以下错误:
CMake Error at /usr/lib/x86_64-linux-gnu/cmake/SFML/SFMLConfig.cmake:139 (message):
Requested SFML configuration (Static) was not found
Call Stack
我正在尝试升级我的linux计算机上的cmake。下面是我使用的命令。 删除旧的cmake: sudo apt purge --auto-remove cmake 从https://cmake.org/download/下载并解压cmake-3.13.3.tar.gz 然后在解压缩的cmake文件夹中: ./bootstrap
make
sudo make install 当我执行cmake --version时,它返回 bash: /usr/bin/cmake: No such file or directory 这表明在/usr/bin中不存在cmake可执行文件。但是,当我运行wh
我刚刚安装了cmake,但是编译器没有找到错误。
在尝试在新的Kubuntu安装上构建https://gitlab.com/interception/linux/tools时,在tools/build目录中运行cmake ..将返回以下错误:
CMake Error at CMakeLists.txt:3 (project):
No CMAKE_CXX_COMPILER could be found.
Tell CMake where to find the compiler by setting either the environment
variable "CXX&
我正在尝试在linux机器上构建pybind11测试。我下载了源代码并执行了以下操作-
cd pybind11-master cd tests mkdir build cd build cmake ..
我得到了错误-`找不到由"pybind11“提供的具有以下任何名称的包配置文件:
pybind11Config.cmake pybind11-config.cmake
将安装前缀"pybind11“添加到CMAKE_PREFIX_PATH,或将"pybind11_DIR”设置为包含上述文件之一的目录。如果pybind11提供了单独的开发包或SGK,请确保已安装`
我正在尝试安装工具bam-窗口,但我得到了cmake错误。我在linux中下载了bam-window-master.zip . the。该工具的链接托管在git 中。我下载并遵循以下命令。
unzip bam-window-master.zip
cd bam-window-master
mkdir build
cd build
cmake ..
在做cmake ..。编译一段时间后,我得到了一个错误
-- The C compiler identification is GNU 4.7.2
-- The CXX compiler identification is GNU 4.7.2
-- C
我已经从GitHub存储库下载了福克兰的源代码,但是当我试图使用CMakeLists.txt生成一个make时,它会抛出一些错误。
CMake Error at /usr/lib/x86_64-linux-gnu/cmake/Qt5/Qt5Config.cmake:28 (find_package):
Could not find a package configuration file provided by "Qt5QuickWidgets"
with any of the following names:
Qt5QuickWidgetsConfig.cm
所以。来自
OpenJPEG installation
The build method maintained by OpenJPEG is CMake.
UNIX/LINUX - MacOS (terminal) - WINDOWS (cygwin, MinGW)
To build the library, type from source tree directory:`
mkdir build
cd build
cmake .. -DCMAKE_BUILD_TYPE=Release
make
在正确地让Cmake构建之后,mingw-get让msys-
我尝试从源代码构建并下载PPA,因为它还没有升级到15.04,所以可以在15.04上安装slowmoVideo吗?
这里还有链接http://slowmovideo.granjow.net/download.php
来自CMAKE的错误:
asher@Asher-Dell-PC:~/slowmoVideo/build$ cmake -DENABLE_TESTS=FALSE ../src
-- The C compiler identification is GNU 4.9.2
-- The CXX compiler identification is GNU 4.9.2
-- Check fo
我试图在Ubuntu14.04LTS中安装MiKTeX。我正在逐个下载依赖项,但下面是我陷入困境的地方:
CMake Warning at /usr/share/cmake-2.8/Modules/FindQt4.cmake:659 (message):
/usr/bin/qmake reported QT_INSTALL_LIBS as "/usr/lib/x86_64-linux-gnu" but
QtCore could not be found there. Qt is NOT installed correctly for the
target buil
我有,并关闭它,因为我认为它是有效的。其实我还是有问题的。所以我发布了一条新的帖子。我的CMake总是为Visual 2010构建的。我是交叉编译Raspberry PI和我的工具链文件如下。
SET(CMAKE_SYSTEM_NAME Linux) # this one is important
SET(CMAKE_SYSTEM_VERSION 1) # this one not so much
SET(CMAKE_C_COMPILER C:/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian/bin/arm-linux-gnuea
我正试图在(Ubuntu18.04(仿生海狸))上安装dlib,但它正在抛出一个错误。
CMake错误:
The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
CUDA_cublas_LIBRARY (ADVANCED)
linked by target "dlib" in directory /content