Skip to content

Tag: boost

How to install the boost through its source?

I use the wget download the boost.1.65.1, but I don’t know how to install it: I have uncompressed it: and I tried to make install it, but failed. Because I cd to boost_1_65_1 then use ./configure –prefix=/usr/local/boost.1.65.1 but says there is no configure: So, how to install the boost? Answer F…

boost timed_wait doesn’t wait if date is in 2116 year

The example: It works perfectly on Linux at the time – the timed_wait waits for 10 seconds and then returns false. However if I move the system date to 2116 year and re-run the app, the timed_wait call returns false immediately. There is the same problem with the boost’s condition vars. Could plea…

boost asio notify server of disconnect

I was wondering if there is any way to notify a server if a client side application was closed. Normally, if I Ctrl+C my client side terminal an EOF-signal is sent to the server side. The server side async_read function has a handle which has boost::system::error_code ec argument fed into it. The handle is ca…

Building Boost unit test framework on Debian 8.3 ARM

I’m trying to port a larger project to an embedded Linux system (Debian 8.3 ARM). The project requires Boost libraries newer than the system’s Synaptic (1.55 vs. 1.58), so I’ll need to build Boost from source. Usually I pick the most recent version, which was 1.60 when I downloaded things tw…