2012-11-15 160 views
1

我试图从64位Windows计算机上的以下网站编译代码..CMAKE错误项目文件无效;不包含的CMakeLists.txt

https://dms.sztaki.hu/en/project/gaussian-mixture-modeling-gmm-es-fisher-vector-toolkit

我收到以下错误:

1) error configuration.. project files may be invalid
2) CMake Error: The source directory "/GMM_Fisher_toolkit/GMM_CUDA_src" does not appear to contain CMakeLists.txt.
Specify --help for usage, or press the help button on the CMake GUI.

我如何编译它?

+0

我不能立即从你的链接发现一个源码下载,但是,一猜一猜,你在重新生成makefile文件吗?从内存中,cmake使用绝对路径创建makefile,因此通常必须为每个源检出重新生成。 – simonc

回答

1

要创建一个彻头彻尾的代码构建:

  1. 提取源代码到〜/ src目录/测试
  2. 创建一个文件夹〜/构建/测试
  3. 转到:〜/编译/测试
  4. 运行:cmake的../../src/test
  5. 运行:让
相关问题