Fatal Error Boost/program_options.hpp
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up Header file not found when compiling Vowpal Wabbit on Mac OS X up vote 0 down vote favorite 1 I have downloaded Vowpal Wabbit ( Version 7.4 ) on to my Mac ( OS X Mavericks ) with the following version of g++ : 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 I modified the Makefile that comes with the installation so that it will pick up Boost ( Version 1.55 ) headers and libraries from the correct folders on my Mac ( I checked by writing and compiling a simple program and everything works ). However, when I run make it cannot find a header file, for example: In file included from library_example.cc:2: ./../vowpalwabbit/parser.h:15:10: fatal error: 'boost/program_options.hpp' file not found Grateful for any help in tracking down the problem. c++ boost osx-mavericks vowpalwabbit share|improve this question asked Jan 21 '14 at 20:10 David 125110 add a comment| 1 Answer 1 active oldest votes up vote 4 down vote accepted vowpal wabbit has a dependency on the C++ library+headers boost/program_options. This dependency must be installed before vowpal wabbit can be built from source. Since other people may have a similar issue, I will try to answer the more general question: How to build vowpal wabbit from scratch/source, on Ma
Sign in Pricing Blog Support Search GitHub This repository Watch 5 Star 4 Fork 0 GuyAllard/SPINGO Code Issues 1 Pull requests 0 Projects 0 Pulse Graphs New issue Compilation Fails at main.cpp #5 Closed LeahBriscoe opened this Issue Nov 29, 2015 · 5 comments Projects None yet Labels None yet Milestone No milestone Assignees No one assigned 2 participants LeahBriscoe commented Nov 29, 2015 I have tried copying the needed boost .hpp's in several locations, but http://stackoverflow.com/questions/21268086/header-file-not-found-when-compiling-vowpal-wabbit-on-mac-os-x no success. make g++ -c -Wall -O3 -funroll-loops -DNDEBUG main.cpp main.cpp:21:10: fatal error: 'boost/program_options.hpp' file not found #include
affects 4 people Affects Status Importance Assigned to https://bugs.launchpad.net/bugs/734440 Milestone Gearman Edit Fix Released Medium Brian http://jugnu-life.blogspot.com/2013/01/vowpal-wabbit-install-tutorial-steps.html Aker Edit You need to log in to change this bug's status. Affecting: Gearman Filed here by: Sven Nierlein When: 2011-03-13 Confirmed: 2011-03-13 Assigned: 2011-03-13 Started work: 2011-03-13 Completed: 2011-03-16 Target fatal error Distribution Baltix BOSS Juju Charms Collection Elbuntu Guadalinex Guadalinex Edu Kiwi Linux nUbuntu PLD Linux Tilix tuXlab Ubuntu Ubuntu Linaro Evaluation Build Ubuntu RTM Package (Find…) Project (Find…) Status Importance Fix Released Medium Assigned to Me Brian Aker (brianaker) fatal error boost/program_options.hpp Comment on this change (optional) Email me about changes to this bug report Also affects project (?) Also affects distribution/package Nominate for series Bug Description Trying to make the 0.17 fails with: bin/gearadmin.cc:84:37: error: boost/program_options.hpp: No such file or directory bin/gearadmin.cc: In function 'int main(int, char**)': bin/gearadmin.cc:99: error: 'boost' has not been declared ... Even when configured with --disable-boost. After installing libboost make still fails: bin/gearadmin.o: In function `boost::program_options::basic_command_line_parser
need to get them. Otherwise you would get below error.fatal error: boost/program_options.hpp: No such file or directory./autogen.sh: 8: ./autogen.sh: libtoolize: not foundDownload Boost from http://sourceforge.net/projects/boost/?source=dlplibtoolize:sudo apt-get install libtoolLets do the VW install Download the latest zip from githubhttps://github.com/JohnLangford/vowpal_wabbit# Unzip the codeunzip vowpal_wabbit-master.zip# Move code to central place for installsudo mv vowpal_wabbit-master /usr/local/# Go to directory where code iscd /usr/local/vowpal_wabbit-master# Install VWsudo make install# Go to directory where it was installedcd /usr/local/bin/# Change permissions so that all can use vwsudo chmod 755 vwCheck vowpal wabbit install success byRunning vw command from command promptDone Posted by Jagat Singh at 7:24 AM Email ThisBlogThis!Share to TwitterShare to FacebookShare to Pinterest Newer Post Older Post Home Subscribe to: Post Comments (Atom) About me About me Please leave your comments and connect with me via LinkedIn Subscribe To Posts Atom Posts Comments Atom Comments Labels Algorithms Amazon Web Services Anaconda Android Ant Architecture BigData Blogging Cloud Computing Complements Continuous Delivery cricket CSS3 Docker Eclipse Functional Programming Git Google Graphing Gurubani H2O Hadoop Hama Haskell HAWQ HBase Hive HTML5 Hue IBM Impala Inspiration Internet Internet of Things IPython ITIL Java Javascript Jenkins JSON Junit Kafta Kernel Kiji Leadership Life Dairy Life Lessons Liferay Linux Mac Machine Learning Mahout Math Maven Mesa Mesos Microsoft Office Mindmaps MongoDB Motivation My Writings Oozie Openstack Pen Pentaho Pig Pivotal Programming Python R Regular Expressions Research Ruby Sbt Scala Shark Shell Similarity Skype Solr Spark Sqoop SSH svg SVN The Art of Presentation Tomcat