Posted by
Oleg Sokolinskiy on
Oct 27, 2016; 11:08pm
URL: http://quantlib.414.s1.nabble.com/Mac-OS-X-homebrewed-Boost-Boost-development-files-not-found-tp17828.html
Hello,
I have installed Boost using “brew install boost” to /usr/local/
The /usr/local/include has a symbolic link: boost->../Cellar/boost/1.62.0/include/boost
and /usr/local/lib has lots of libboost_* files.
So, all looks well…
However,
./configure --with-boost-include=/usr/local/include/ --with-boost-lib=/usr/local/lib/ --prefix=/usr/local/ CXXFLAGS='-02 -stdlib=libstdc++ -mmacosx-version-min=10.6' LDFLAGS='-stdlib=libstdc++ -mmacosx-version-min=10.6’
THIS RESULTS IN THE ERROR: “Boost development files not found”
I also tried (out of desperation, really):
./configure --with-boost-include=/usr/local/include/boost/ --with-boost-lib=/usr/local/lib/ --prefix=/usr/local/ CXXFLAGS='-02 -stdlib=libstdc++ -mmacosx-version-min=10.6' LDFLAGS='-stdlib=libstdc++ -mmacosx-version-min=10.6’
and also, going directly to the “Cellar” where Homebrew puts Boost:
./configure --with-boost-include=/usr/local/Cellar/boost/1.62.0/include/ --with-boost-lib=/usr/local/lib/Cellar/boost/1.62.0/lib/ --prefix=/usr/local/Cellar/boost/1.62.0/ CXXFLAGS='-02 -stdlib=libstdc++ -mmacosx-version-min=10.6' LDFLAGS='-stdlib=libstdc++ -mmacosx-version-min=10.6’
I also tried omitting --prefix and also adding /boost/ to it… Nothing works. Am I missing something obvious?
My OS is OS X Yosemite.
Thank you very much in advance for your help!
Best wishes,
Oleg
------------------------------------------------------------------------------
The Command Line: Reinvented for Modern Developers
Did the resurgence of CLI tooling catch you by surprise?
Reconnect with the command line and become more productive.
Learn the new .NET and ASP.NET CLI. Get your free copy!
http://sdm.link/telerik_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users