-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Make error on Ubuntu 15.10 (undefined reference to boost::filesystem::path_traits::dispatch) #42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Possibly related... When I ran: It had an error on libboost...
So I used this instead: And that installed libboost1.58 instead of 1.54 |
I couldn't make it work with 1.58 boost, it did compile though with 1.54. But now I've just written a simple http server and I cannot reply to any http request. Calling http_request::reply method causes a SIGSEGV every time. Does anyone know something about this? |
David, A while back I posted Linux build instructions here: https://casablanca.codeplex.com/discussions/571458 We use that to build on Linux, it makes it easier to update your own Boost versions etc. It still works today with Casablanca 2.7 and Boost 1.59. Damien |
The original issue was that we were not properly linking boost_filesystem into the test_runner executable. Once I check in the fix for that, we should work on ubuntu 15.10 with boost 1.58. |
The fix for this is checked in and we should now build cleanly on Ubuntu 15.10. Please try it out and let us know if this solves your issues. |
hi, I am trying to build casablanca today I also get error: CMakeFiles/test_runner.dir/test_runner.cpp.o: In function |
Please Help :( |
Are you building the current master branch or the development branch? The changes are only present in the development branch. Make sure you have commit 95478a4 in your |
I have the same issue with version 2.8.0 which contains the commit you are referring to. Any clue ? |
Any news on this one ? I am not able to use the SDK on Linux... |
Actually, I think the getting started guide is misleading: it suggests to force the compiler to gcc4.8 but it does not work if the boost package has been compiled with another compiler. On Ubuntu 15.10, I am now using the default gcc compiler coming with the distribution (5.2.1) and I am able to compile cpprestsdk just fine. |
Yes, that would be the issue. Thank you for bringing it up; it should no longer be needed to explicitly specify gcc-4.8 and it is clearly causing issues like the one you had. |
Hi,
Was following the Linux build instructions on a brand new cloud instance of Ubuntu 15.10 (at Google compute engine). Came to this nasty looking problem in the make step.
Please help!
Kind regards,
David
The text was updated successfully, but these errors were encountered: