我正在尝试安装需要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".
答案 0 :(得分:1)
您没有从您认为自己所在的位置进行编译。您的观察结果与mkdir build;
cd build;
mkdir build;
cd build;
cmake ..