在windows下如何使用cmake安装openfst啊

是这样的,我下载了cmake然后他原文说要用这个命令
$ git clone https://github.com/kkm000/openfst.git
$ cd openfst
$ mkdir build64
$ cd build64
$ cmake -G "Visual Studio 15 2017 Win64" ../
我不知道在哪里输入,我直接输入到CMakeLists那个txt里面他会报错说不对,这个命令该如何使用啊请问。

http://blog.csdn.net/liyuebit/article/details/77092723
另外,你用cmake -G "Visual Studio 15 2017 Win64"这个要安装好vs2017并且系统是64的

我也遇到一样的问题,我是这样解决的
报错类似这样
CMake Error at src/test/CMakeLists.txt:1 (add_executable):
Cannot find source file:
fst_test.h
说找不到fst_test.h文件,其实在项目中是有文件的,在项目中搜索到对应文件,然后复制到CMakeLists。txt中对应文件的目录下。
fst_test.h文件的话在CMakeLists。txt中报错的位置是
add_executable(fst_test
fst_test.cc
fst_test.h
)即把fst_test.h放到和fst_test.cc同一文件夹下
一共3到4个文件放完之后在运行 cmake -G "Visual Studio 15 2017 Win64" ../