0

我正处于使用 Firebreath 为我的第一个测试插件创建 VSS 项目的阶段,但我遇到了以下问题:

C:\code\sc>firebreath\prep2012.cmd projects build
A subdirectory or file build already exists.
Using projects in: "C:\code\sc\projects"
Generating build files in: "C:\code\sc\build"
NOTE: The build files in "C:\code\sc\build" should *NEVER* be modified directly.

When needed, make project changes in cmake files and re-run this script.
  Project-specific cmake files are found in [plugin dir]\CMakeLists.txt and
  [plugin dir]\Win\projectDef.cmake.
Note that parameters for cmake should be enclosed in double quotes, e.g. "-DVERB
OSE=1"
CMAKE parameters:

C:\code\sc\build>cmake -G "Visual Studio 11" -DFB_PROJECTS_DIR="C:\code\sc\proje
cts"  "C:\code\sc\firebreath"
'cmake' is not recognized as an internal or external command, operable program or batch file.

任何人都可以帮助我吗?

4

1 回答 1

0

如评论中所述,这是因为您没有安装 cmake 或没有将 cmake 添加到您的路径中。

如果您确实安装了 cmake,请重新安装它并在安装过程中选择“添加到所有用户的路径”。如果没有,则需要安装它。

所有这些信息都在网站上:http ://www.firebreath.org/display/documentation/Building+on+Windows

于 2012-10-13T15:01:17.957 回答