I have this file
#include
namespace po = boost::program_options;
#include
using namespace std;
int main(
Looks like boost was compiled with pre-C++11 std::basic_string
, whereas your code is compiled with C++11 std::basic_string
.
Try re-compiling your code with -D_GLIBCXX_USE_CXX11_ABI=0
compiler command line option. See GCC5 and the C++11 ABI for more details:
In most cases, it will be obvious when this flag is needed because of errors from the linker complaining about unresolved symbols involving
__cxx11
.