我试图在Cygwin的测试程序中使用声子库。
CMake用于构建:
Find_package(需要声子)
但是它会生成以下错误消息:
$ make
-- Found Qt-Version 4.8.5 (using /usr/bin/qmake-qt4)
-- Found X11: /usr/lib/libX11.dll.a
-- Found Automoc4: /usr/bin/automoc4.exe
CMake Error at /usr/share/phonon/buildsystem/FindPhononInternal.cmake:296 (message):
Qt co
我在我的Windows7机器上安装了最新的Cygwin : 2.893 (64位)。我确保我包含了cmake,也就是说,在第一次安装之后,我可以通过再次运行Cygwin net release setup程序来添加几个包。然后,我尝试使用cmake,并确保从bin目录调用了它:
user008@L0147816 /bin
$ ./cmake
CMake Error: Could not find CMAKE_ROOT !!!
CMake has most likely not been installed correctly.
Modules directory not found in
//
下午好,请帮帮我,我想在windows上安装python的dlib,但当我在dlib dir或pip.exe install dlib中的cmd中编写python.exe setup.py install时,我遇到了这个错误:
CMake Warning at /usr/share/cmake-2.8.9/Modules/Platform/CYGWIN.cmake:15 (message):
CMake no longer defines WIN32 on Cygwin!
(1) If you are just trying to build this project, ignore
我正在尝试在cygwin (Windows7)上编译cgal4.5。我已经安装了gcc核心,gcc-g++和gmp,但当我尝试运行cmake时,我得到了以下错误:
$ cmake .
-- The CXX compiler identification is GNU 4.8.3
CMake Error: Could not find cmake module file:/home/metalab/CGAL-4.5/CMakeFiles/2.8.11.2/CMakeCXXCompiler.cmake
-- The C compiler identification is GNU 4.8.3
CM
我正在尝试使用cmake在cygwin(在windows8中)编译一个c++库g2o。我创建了一个build文件夹,当我尝试在该文件夹中执行cmake时,失败并显示以下错误
$ cmake ../
-- The C compiler identification is GNU 4.8.3
-- The CXX compiler identification is GNU 4.8.3
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- broken
CMake E
我从VS切换到CLion,他们说我需要安装Cygwin和CMake。然后我把它们都安装好了。我尝试使用捆绑,但CLion仍然给我这些错误make: not found C Compiler: not found C++ Compiler: not found GDB: not found。
我已经在C:\Users\Gaga\Downloads\cmake-3.4.1路径下安装了CMake,但是我没有看到cmake.exe,最近的是cmake.cxx。
没有这些,我无法编译任何东西,请帮助
这里已经有了的答案,但我的问题不一样。
我在Windows 8 64位上安装了CLion 2017.3.1。我已经在我的pc和Cmake3.9.6上安装了Cygwin 64位。在CLion的配置窗口中,无法检测Cmake。我在路径中添加了Cmake,但是CLion无法检测到它。这些错误如图所示。
单击测试CMake后,运行完错误
它显示了以下错误:
CMake Error: CMake was unable to find a build program corresponding to "Unix
Makefiles". CMAKE_MAKE_PROGRAM i
我正在尝试运行,但是我不能让Cmake工作。Cmake不会在Generators列表下注册任何版本的Visual Studios。这是运行cmake --help时的列表
Generators
The following generators are available on this platform:
Unix Makefiles = Generates standard UNIX makefiles.
Ninja = Generates build.ninja files (experimental).
我试图在Windows上使用CMAKE和MinGW在windows上编译MinGW。但是,当我尝试这样做时,我会得到以下错误:
The C compiler identification is GNU
The CXX compiler identification is GNU
Check for working C compiler: C:/MinGW/bin/gcc.exe
CMake Error: Generator: execution of make failed. Make command was: make "cmTryCompileExec\fast"
Chec
我正在尝试使用CLion设置C/C++环境,但CMake无法编译测试程序:
C:\Users\corey\.CLion2016.3\system\cygwin_cmake\bin\cmake.exe -DCMAKE_BUILD_TYPE=Debug -G "CodeBlocks - Unix Makefiles" /cygdrive/c/Users/corey/ClionProjects/demo
-- The C compiler identification is MSVC 18.0.31101.0
-- The CXX compiler identification is
我试图通过简单地按照页面JDFTx上的说明来安装。
我已经从这里安装了Cygwin (视窗,x64):。我还相信,我已经安装了必要的库,在这里列出:。
现在,当我在Cygwin64终端输入命令时:
cmake ../jdftx-VERSION/jdftx
我收到以下信息:
CMake Error at /usr/share/cmake-3.6.2/Modules/FindBLAS.cmake:690 (message):
A required library with BLAS API not found. Please specify library
location.
Call
我在cygwin下的cmake有点问题。我安装了cygwin的CMake包和普通的CMake包(在windows中),每次我运行CMake来配置项目时,它都会显示以下内容:
$ CMake Error: CMake was unable to find a build program corresponding to "Unix Makefiles". CMAKE_MAKE_PROGRAM is not set. You probably need to select a different build tool.
Missing variable is:
CMAKE_C_
我想在win7上安装google-or-tools (),这样我就可以从vidsual studio 2013调用第三方优化解算器(scip )。
我对or-tools还不熟悉。
我按照上的说明操作
但是,当我在cygwin中运行"tools/make.exe third_party“时,我得到了一个错误:
makefiles/Makefile.cpp.mk:1573: warning: ignoring old commands for target `lib/libbop.'
cd dependencies/sources/gflags-2.1.1 &&
我刚刚安装了CLion,我需要编译器。我安装了Cygwin。但是有一个错误:
CMake Error: Could not find CMAKE_ROOT !!!
CMake has most likely not been installed correctly.
Modules directory not found in
CMake Error: Error executing cmake::LoadCache(). Aborting.
Error code: 1
所以,CMake被“捆绑”了,我试着从网站上安装它。但还有下一个错误:
Selected CMake might be
我是C编程新手,为了学习目的,我想开始一个项目。我试图在C中打开一个ssl套接字,并使用cygwin在windows上使用clion。对于我一直在使用本教程的代码:
我用这些lib安装了cygwin : make,gdb,gcc-g++,libssl-dev
我在编辑器中没有看到任何遵从性错误,但是我不能运行这个项目。当我尝试运行它时,我会在链接阶段得到许多undefined错误:
undefined reference to `OPENSSL_init_crypto'
undefined reference to `OPENSSL_init_ssl'
undefined re
我有一个关于CMake 2.8.9的问题。我使用GUI。我尝试制作一个makefile (ogre 1.8)。
因为我使用的是Windows7 x64,所以我将CygWin与gcc.exe、g++.exe和make.exe (位于bin目录中)一起使用。
当我尝试“配置”时,CMake记录了以下错误:
The C compiler identification is unknown
The CXX compiler identification is unknown
Check for working C compiler: G:/cygwin/bin/gcc.exe
Check for wo
我试图安装CLion并让我的编译器工作,但无论我做什么,它总是给我上面提到的错误。它能够很好地检测到clang,但不能检测到clang++。这是什么原因呢?
完整错误如下所示:
Check for working CXX compiler: /cygdrive/c/cygwin64/bin/clang++ -- broken
CMake Error at /cygdrive/c/.CLion2018.1/system/cygwin_cmake/share/cmake-3.10.3/Modules/CMakeTestCXXCompiler.cmake:45 (message):
The C+
我刚刚在Windows10机器上安装了Jetbrains CLion,但我似乎无法正确设置工具链。我已经使用Cgywin安装了所有需要的包(包位于C:\cygwin64\bin),但CLion似乎找不到这些包,并给出错误"CMake: test run timed out“。请看下面显示错误的屏幕截图。有人有什么想法吗?
我知道类似的问题已经在这里被问到了,,但是在那个帖子上没有真正的答案,所以既然我也被这个问题缠住了,我想我应该创建一个新的。所以基本上我的环境是windows,我使用的是cygwin。我正在尝试安装VTK。我已经使用Windows Cmake生成了所有内容。现在,当我启动make时,我得到了以下输出:
`make
-- Configuring done
-- Generating done
-- Build files have been written to: C:/Users/Lonni/VTK/BuildCyg
[ 6%] Creating directories for 'v
如何使用MingW代替Nmake使用cmake?
我已经在Windows7 x64上安装了cygwin以及Mingw、gcc、g++和gdb。
当我尝试此命令时:
cmake
我得到一个包含以下内容的长错误:
-- Building for: NMake Makefiles
-- The C compiler identification is unknown
-- The CXX compiler identification is unknown
CMake Error: your RC compiler: "CMAKE_RC_COMPILER-NOTFOUND" was
我正试图为windows编译armadillo线性代数库,但没有成功。使用armadillo-4.200.0源代码,我安装了Rtools-3.1,在路径中安装了来自MinGW的msys。
因为我的最终目标是使用Rcpp和RcppArmadillo,所以我的想法是,我需要使用相同的编译器来制作armadillo,就像编译Rcpp/RcppArmadillo文件一样。不幸的是,当试图编译鲤鱼时:
$ ./configure
[...snip...]
-- The CXX compiler identification is unknown
-- Check for working CXX comp