Vowpal Wabbit 安装遇到"rapidjson/reader.h"错误



在我的ubuntu-14.04机器中安装vowpal-wabbit时遇到问题。

基于https://github.com/JohnLangford/vowpal_wabbit,一切都很好,直到我输入make’. The error shows that致命错误:rapidjson/rereader.h:没有这样的文件或目录'。

我检查了./vowpal_wabbit/vowpalwabbit/rapidjson’ and find that it only contains reader.md'.的路径

我应该如何调试这个案例?提前非常感谢。

我刚刚解决了这个问题,请按照我的步骤进行:

1.git clone git://github.com/miloyip/rapidjson

2.转到刚下载的文件夹,找到文件夹./include,并将文件夹rapidjson放在/usr/include/中

3.再次尝试make

我收到:

$ git clone git://github.com/miloyip/rapidjson    
Cloning into 'rapidjson'...    
fatal: remote error: 
  The unauthenticated git protocol on port 9418 is no longer supported.    
Please see https://github.blog/2021-09-01-improving-git-protocol-security-github/ for more information.

我已经解决了使用任一:

$ git clone https://github.com/Tencent/rapidjson.git    

$ git clone https://github.com/miloyip/rapidjson.git

然后,由于/usr/include在MacOS中不存在,我复制了/usr/local/include/:中的文件夹

$ sudo cp -r rapidjson/include/rapidjson /usr/local/include/

最新更新