gpt4 book ai didi

c++ - CMakeLists.txt :56 (include): include could not find load file: gmxVersionInfo 处的 CMake 错误

转载 作者:行者123 更新时间:2023-11-30 05:25:26 26 4
gpt4 key购买 nike

我正在尝试安装需要 cmake 的 gromacs。 CMake 安装已经完成,没有问题。但是当我尝试运行这个命令时

cmake .. -DGMX_BUILD_OWN_FFTW=ON

显示以下错误...请帮我解决这个问题...

CMake Error at CMakeLists.txt:55 (include):
include could not find load file:

gmxBuildTreeInfo


CMake Error at CMakeLists.txt:56 (include):
include could not find load file:

gmxVersionInfo


CMake Error at CMakeLists.txt:65 (include):
include could not find load file:

gmxBuildTypeReference


CMake Error at CMakeLists.txt:66 (include):
include could not find load file:

gmxBuildTypeProfile


CMake Error at CMakeLists.txt:67 (include):
include could not find load file:

gmxBuildTypeTSAN


CMake Error at CMakeLists.txt:68 (include):
include could not find load file:

gmxBuildTypeASAN


CMake Error at CMakeLists.txt:69 (include):
include could not find load file:

gmxBuildTypeMSAN


CMake Error at CMakeLists.txt:70 (include):
include could not find load file:

gmxBuildTypeReleaseWithAssert


CMake Error at CMakeLists.txt:102 (include):
include could not find load file:

gmxCPackUtilities


CMake Error at CMakeLists.txt:103 (gmx_cpack_init):
Unknown CMake command "gmx_cpack_init".


-- Configuring incomplete, errors occurred!
See also "/home/prachi/software/gromacs/gromacs-2016-beta2/build/CMakeFiles/CMakeOutput.log".

最佳答案

您不是从您认为的位置进行编译。您的观察与 mkdir build 最一致;
光盘构建;
mkdir 构建;
光盘构建;
制作..

关于c++ - CMakeLists.txt :56 (include): include could not find load file: gmxVersionInfo 处的 CMake 错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/38239587/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com