1

vowpal wabbit のインストールに苦労しています。

私が遭遇する問題は、vw のクローン作成後、コマンド make を実行したときです。以下エラーメッセージ

どんな助けでも大歓迎です!OS: Windows 8.1 64bit よろしくお願いします

$ 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
4

1 に答える 1

0

問題を解決できませんでしたが、少なくとも vowpalwabbit 実行可能ファイルをご紹介できます。だから、あなたはそれを作る必要はありません。

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

Kaggle の高貴な魂がこのリンクを教えてくれました。Cycwin をインストールし、cygwin から .exe を実行する必要があります。

純粋な Windows 実行可能ビルドもあります https://github.com/MLWave/Kaggle_Rotten_Tomatoes

また、上記のビルドを提供したのと同じ人々である Triskelion によって提供されました。彼のアドバイス: 「cmd」を使用してコンソールを開くには、ファイルをクリックしないでください。

于 2014-12-22T16:51:31.727 に答える