简体   繁体   English

CMake 错误:源目录“/home/name/Downloads”似乎不包含 CMakeLists.txt

[英]CMake Error: The source directory “/home/name/Downloads” does not appear to contain CMakeLists.txt

I want to install Gromacs, and I've followed the steps from this site until the part where it tells me to enter this command:我想安装 Gromacs,我已经按照此站点的步骤操作,直到它告诉我输入此命令的部分:

sudo cmake .. -DGMX_BUILD_OWN_FFTW=OFF -DREGRESSIONTEST_DOWNLOAD=OFF -DCMAKE_C_COMPILER=gcc -DREGRESSIONTEST_PATH= "PUT YOUR PWD PATH HERE WITHOUT QUOTES"/Downloads/regressiontests-5.1.1 sudo cmake .. -DGMX_BUILD_OWN_FFTW=OFF -DREGRESSIONTEST_DOWNLOAD=OFF -DCMAKE_C_COMPILER=gcc -DREGRESSIONTEST_PATH=“把你的密码路径放在这里没有引号”/下载/回归测试-5.1.1

Take note that I am in this directory:请注意,我在此目录中:

name@myname:~/Downloads/gromacs-5.1.1/build$ name@myname:~/Downloads/gromacs-5.1.1/build$

and this is what I entered in the terminal:这是我在终端中输入的内容:

sudo cmake .. -DGMX_BUILD_OWN_FFTW=OFF -DREGRESSIONTEST_DOWNLOAD=OFF -DCMAKE_C_COMPILER=gcc -DREGRESSIONTEST_PATH= /home/name/Downloads/regressiontests-5.1.1 sudo cmake .. -DGMX_BUILD_OWN_FFTW=OFF -DREGRESSIONTEST_DOWNLOAD=OFF -DCMAKE_C_COMPILER=gcc -DREGRESSIONTEST_PATH= /home/name/Downloads/regressiontests-5.1.1

but this error message appeared:但出现此错误消息:

CMake Error at CMakeLists.txt:55 (include): include could not find load file: CMakeLists.txt 中的 CMake 错误:55(包含):包含找不到加载文件:

gmxVersionInfo通用版本信息

CMake Error at CMakeLists.txt:64 (include): include could not find load file: CMakeLists.txt 中的 CMake 错误:64(包括):包含找不到加载文件:

gmxBuildTypeReference gmxBuildTypeReference

CMake Error at CMakeLists.txt:65 (include): include could not find load file: CMakeLists.txt 中的 CMake 错误:65(包含):包含找不到加载文件:

gmxBuildTypeProfile gmxBuildTypeProfile

CMake Error at CMakeLists.txt:66 (include): include could not find load file: CMakeLists.txt 中的 CMake 错误:66(包含):包含找不到加载文件:

gmxBuildTypeTSAN gmxBuildTypeTSAN

CMake Error at CMakeLists.txt:67 (include): include could not find load file: CMakeLists.txt 中的 CMake 错误:67(包括):包含找不到加载文件:

gmxBuildTypeASAN gmxBuildTypeASAN

CMake Error at CMakeLists.txt:68 (include): include could not find load file: CMakeLists.txt 中的 CMake 错误:68(包括):包含找不到加载文件:

gmxBuildTypeMSAN gmxBuildTypeMSAN

CMake Error at CMakeLists.txt:69 (include): include could not find load file: CMakeLists.txt:69 处的 CMake 错误(包括):包含找不到加载文件:

gmxBuildTypeReleaseWithAssert gmxBuildTypeReleaseWithAssert

CMake Error at CMakeLists.txt:101 (include): include could not find load file: CMakeLists.txt 中的 CMake 错误:101(包含):包含找不到加载文件:

gmxCPackUtilities gmxCPack 实用程序

CMake Error at CMakeLists.txt:102 (gmx_cpack_init): Unknown CMake command "gmx_cpack_init". CMakeLists.txt 中的 CMake 错误:102 (gmx_cpack_init):未知的 CMake 命令“gmx_cpack_init”。

-- Configuring incomplete, errors occurred! -- 配置不完整,出现错误! See also "/home/name/Downloads/gromacs-5.1.1/build/CMakeFiles/CMakeOutput.log".另见“/home/name/Downloads/gromacs-5.1.1/build/CMakeFiles/CMakeOutput.log”。

Please help!请帮忙!

You have a space between = and / here: -DREGRESSIONTEST_PATH= /home/name/Downloads/regressiontests-5.1.1 .您在=/之间有一个空格: -DREGRESSIONTEST_PATH= /home/name/Downloads/regressiontests-5.1.1 Remove the space and it will work.删除空间,它将起作用。

In addition to @thomas_f answer, Make sure you put the pwd directory pointing to your regressiontests containing folder and the regressiontests version is correct or compatible with your gromacs version.除了@thomas_f 答案之外,请确保将 pwd 目录指向包含回归测试的文件夹,并且回归测试版本正确或与您的 gromacs 版本兼容。 Now gromacs 5.1.1 build in ubuntu 14.x and WSL ubuntu can be simplified by following the guide in this BioInformatic-Review .现在 gromacs 5.1.1 构建在 ubuntu 14.x 和 WSL ubuntu 中,可以按照此BioInformic-Review 中的指南进行简化。 I've successfully build gromacs 5.1.1 on WSL Ubuntu by following the guide.我已经按照指南在 WSL Ubuntu 上成功构建了 gromacs 5.1.1。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 opencv ubuntu 12.04 Cmake错误:源目录似乎不包含CmakeLists.txt - opencv ubuntu 12.04 Cmake error : Source directory does not appear to contain CmakeLists.txt 在与CMakeLists.txt相同的目录中找不到共享库 - Cannot find shared library in same directory as CMakeLists.txt 如何更改CMakeLists.txt在何处查找Boost库Ubuntu - How to change where CMakeLists.txt looks for Boost Libraries Ubuntu 使用Puppet时如何等待主目录出现? - How can I wait for home directory to appear when using Puppet? 成功使用CMakeLists制作后如何修复“打开:没有这样的文件或目录”错误(文件实际存在) - How to fix "open: No such file or directory" error(The file actually exists) after successfully using CMakeLists to make 快门 - 打开目录“/home/username/Pictures”时出错 - Shutter - Error while opening directory '/home/username/Pictures' Hadoop hdfs 显示 ls: `/home/hduser/input/': No such file or directory 错误 - Hadoop hdfs showing ls: `/home/hduser/input/': No such file or directory error 错误:ENOENT:没有这样的文件或目录,stat '/home/arpit/.steampath' - Error: ENOENT: no such file or directory, stat '/home/arpit/.steampath' 将文件放入主目录 - Put files to home directory 找不到Solr主目录 - Solr home directory not found
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM