When I try to #include
boost 1.60 headers, gcc fails. I'm at a loss because of this and would be appreciative of any help/guidance. I am using Fedora Linux and Netbeans 8.2.
This question was originally posted under user:user11551798, for which I don't have a password since it was posted from my mobile app.
Code snippet:
#include <boost/regex.hpp>
#include <boost/xpressive/xpressive.hpp>
#include <boost/asio.hpp>
(all three fail within the #includes)
Compiler call (from Netbeans) gcc -O ALAN ALAn.gcc
Errors (sample from asio.hpp)
g++ -g -m64 -lboost_system -c -o ALAn.o ALAn.cpp ALAn.cpp: In Function »int main(int, char**)«: ALAn.cpp:57:23: Error: no matching function for call to »boost::asio::ip::basic_resolver<boost::asio::ip::tcp>::basic_resolver()« ip::tcp::resolver resolv; ^~~~~~
Compiler error displayed means "No available function"/"Unmatched external symbol".
As always, thank you for any assistance, Im currently at a loss. And of course, sorry in adv for any transgressions. Im new here.
@yksisarvinen, @Mathieu I now installed the Boost V1.71 lib. Same problem :-(