Hello,
I've used the following command to build boost on a mac:
./b2 -a toolset=darwin architecture=x86 macosx-version=10.5 macosx-version-min=10.5 threading=multi link=static address-model=32_64 --without-mpi stage
When i link the following source:
bool runJavascript(const char * jscode) {
std::string javaScriptCode;
try {
javaScriptCode = boost::locale::conv::from_utf<char>(jscode, "ISO-8859-15");
}
catch(...) {
javaScriptCode = jscode;
}
}
Then i get the following error message, on windows this work just fine:
Undefined symbols for architecture x86_64:
"std::basic_string