While playing with Vowpal Wabbit I have struggled many times with impossibility to debug VW sources in IDE and check how exactly it works. As I've recently finally switched to Kubuntu I don't want to launch Win every time I'm facing small problems. And unfortunately VWs sources equipped with Visual Studio project files which doesn't support *nix platforms.
Finally I've forced myself to try building VW on Linux as Qt project with QtCeator IDE. Surprisingly it was very easy to do in just a few steps:
Finally I've forced myself to try building VW on Linux as Qt project with QtCeator IDE. Surprisingly it was very easy to do in just a few steps:
- Create empty console Qt project (delete auto-generated main.cpp)
- Import all VW's *.cc, *.cpp and *.h files in it except for active_interactor.cc
- Add following lines to .pro file and launch qmake:
LIBS += -lboost_program_options -lz -lpthread
QMAKE_CXXFLAGS += -std=c++11
Комментариев нет:
Отправить комментарий