2012-11-15 161 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. 運行:讓
相關問題