我已使用以下版本的 g++ 将 Vowpal Wabbit(版本 7.4)下载到我的 Mac(OS X Mavericks)上:
Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include- dir=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/usr/include/c++/4.2.1
Apple LLVM version 5.0 (clang-500.2.79) (based on LLVM 3.3svn)
Target: x86_64-apple-darwin13.0.0
Thread model: posix
我修改了安装随附的 Makefile,以便它从我的 Mac 上的正确文件夹中获取 Boost(版本 1.55)头文件和库(我通过编写和编译一个简单的程序进行检查,一切正常)。但是,当我运行make时,它找不到头文件,例如:
In file included from library_example.cc:2:
./../vowpalwabbit/parser.h:15:10: fatal error: 'boost/program_options.hpp' file
not found
感谢您在追踪问题方面的任何帮助。