如何使用CMake在macOS上构建Chilitags

时间:2017-11-07 08:28:54

标签: c++ macos cmake

Chilitags是一个C ++跨平台软件库,用于检测和识别2D基准标记。整个项目在这里: https://github.com/chili-epfl/chilitags

当我尝试构建Chilitags时,我已经在我的macOS上做了这些事情:

$ cd ~
$ gitclone https://github.com/chili-epfl/chilitags.git
$ cd chilitags
$ mkdir build
$ cd build
$ cmake ..

然后错误发生在:

CMake Error: The source "/Users/Icarus/chilitags/CMakeLists.txt" does not
match the source "/Users/Icarus/chilitags/src/CMakeLists.txt" used to 
generate cache.  Re-run cmake with a different source directory.

我不知道如何处理这个问题,因为readme.md文件告诉我这样做。我不知道如何修改两个CMakeLists。

0 个答案:

没有答案