【发布时间】:2016-08-07 19:30:28
【问题描述】:
我正在尝试构建 fastText(Facebook 的用于学习单词表示和句子分类的库),并尝试按照他们的 Github 页面上的说明进行操作:
$ git clone git@github.com:facebookresearch/fastText.git
$ cd fastText
$ make
我安装了 GnuWin32 并添加到路径中以便使用 make 功能。我在 Windows 10 上。
但是我收到以下错误:
$ make
c++ -pthread -O3 -funroll-loops -std=c++0x -c src/args.cc
process_begin: CreateProcess(NULL, c++ -pthread -O3 -funroll-loops -std=c++0x -c src/args.cc, ...) failed.
make (e=2): The system cannot find the file specified.
make: *** [args.o] Error 2
有人知道如何解决这个问题吗?谢谢!
【问题讨论】:
-
您的路径中有
c++吗?尝试输入c++看看会发生什么。 -
@Jean-François Fabre 你是对的。我没有它。它说
command not found。我按照说明安装了clang。应该够用还是我需要单独安装c++?