我无法编译以下软件:
git clone https://github.com/bioinfologics/satsuma2.git
cd satsuma2
cmake
Usage
cmake [options] <path-to-source>
cmake [options] <path-to-existing-build>
Specify a source directory to (re-)generate a build system for it in the
current working directory. Specify an existing build directory to
re-generate its build system.
Run 'cmake --help' for more information.
我错过了什么?
答案1
你错过了<path-to-source>
- 要么
cmake .
或者(通常推荐 - 它保持顶层目录干净)
mkdir build && cd build
cmake ..