[CMake] The source directory

中野佑香 yuka.n at rikkyo.ac.jp
Thu Apr 18 03:02:13 EDT 2013


Hi. I'm trying to build a build with cmake-2.8.10.2-linux for
'gromacs-4.6.1' as the build target.

First,
I extracted gromacs-4.6.1.tar.gz  and, create a new folder; build inside
the extracted folder.
Then, inside build folder, I configured using CMake.

$ tar -xvzf gromacs-4.6.1.tar.gz
$ cd gromacs-4.6.1
$ mkdir build
$ cd build
$ cmake ..

However, I got an error.
-----------------------------------------------------------------------------------------------------------------
CMake Error: The source directory "/home/okayuka/Gromacs" does not appear
to contain CMakeLists.txt.
Specify --help for usage, or press the help button on the CMake GUI.
-----------------------------------------------------------------------------------------------------------------
Inside gromacs-4.6.1 directory, there is certainly CMakeLists.txt.

For this, I think cmake mistaking  /home/okayuka/Gromacs for
/home/okayuka/Gromacs/gromacs-4.6.1 as ' the source directory'.

Would you please tell me how correct this mismatch of the source directory?

-Yuka

-- 
*********************
中野佑香
立教大学 理学研究科化学専攻
博士前期課程 1年
理論創薬・分子設計 常盤研究室
〒171-8501 東京都豊島区西池袋3-34-1
4号館4230教室
Email: yuka.n at rikkyo.ac.jp <09cc017e at rikkyo.ac.jp>
*********************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20130418/427a7ba9/attachment-0001.htm>


More information about the CMake mailing list