vowpal wabbit安装make文件

时间:2014-12-20 15:33:01

标签: vowpalwabbit

我很难安装vowpal wabbit。

我遇到的问题是在克隆vw之后,当我运行命令make时。

下面的错误信息

非常感谢任何帮助! 操作系统:Windows 8.1 64位 感谢

A

$ make
Making all in vowpalwabbit
make[1]: Entering directory '/home/Alejandro/vowpal_wabbit/vowpalwabbit'
make  all-am
make[2]: Entering directory '/home/Alejandro/vowpal_wabbit/vowpalwabbit'
/bin/sh ../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I/usr/include -I/include          
-O3 -fomit-frame-pointer -ffast-math -fno-strict-aliasing -D_FILE_OFFSET_BITS=64 -DNDEBUG    - 
 Wall -pedantic -std=c++0x -MT global_data.lo -MD -MP -MF .deps/global_data.Tpo -c -o     global_data.lo global_data.cc
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I/usr/include -I/include -O3 -fomit-frame-pointer -          ffast-math -fno-strict-aliasing -D_FILE_OFFSET_BITS=64 -DNDEBUG -Wall -pedantic -std=c++0x -MT global_data.lo -MD -MP -MF .deps/global_data.Tpo -c global_data.cc  -DDLL_EXPORT -DPIC -o .libs/global_data.o
In file included from comp_io.h:7:0,
             from global_data.h:17,
             from global_data.cc:13:
io_buf.h: In member function 'virtual int io_buf::open_file(const char*, bool, int)':
io_buf.h:72:25: error: 'fileno' was not declared in this scope ret = fileno(stdin);                         

In file included from global_data.h:17:0,
             from global_data.cc:13:
comp_io.h: In member function 'virtual int comp_io_buf::open_file(const char*, bool, int)':
comp_io.h:28:34: error: 'fileno' was not declared in this scope
fil = gzdopen(fileno(stdin), "rb");
                              ^
global_data.cc: In constructor 'vw::vw()':
global_data.cc:295:32: error: 'fileno' was not declared in this scope
stdout_fileno = fileno(stdout);
                            ^
Makefile:619: recipe for target 'global_data.lo' failed
make[2]: *** [global_data.lo] Error 1
make[2]: Leaving directory '/home/Alejandro/vowpal_wabbit/vowpalwabbit'
Makefile:390: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory '/home/Alejandro/vowpal_wabbit/vowpalwabbit'
Makefile:503: recipe for target 'all-recursive' failed
make: *** [all-recursive] Error 1

1 个答案:

答案 0 :(得分:0)

我无法解决问题,但至少我可以指向一个vowpalwabbit可执行文件。所以你不必去做。

https://github.com/MLWave/vowpal-wabbit-cygwin-executables

来自Kaggle的一位高贵的灵魂向我指出了这个联系。您需要安装Cycwin并从cygwin执行.exe。

还有一个纯Windows可执行版本https://github.com/MLWave/Kaggle_Rotten_Tomatoes

同样由Triskelion提供,同样提供上述构建的人。他的建议是:要运行“cmd”打开控制台,请不要单击该文件。