undefined reference to `boost::system::detail::generic_category_ncx()'

Hello all,
I am new to boost.
I try to use some boost files in my program, but I have trouble with some
of them.
For example
compiling the following program
#include

AMDG On 09/20/2018 02:59 AM, Antonis Polykratis via Boost-users wrote:
<snip> I also tried to append -lboost_system in the command, but I take back the following message: /usr/bin/ld: cannot find -lboost_system collect2: error: ld returned 1 exit status
Could you please guide me with that? I use boost_1_67 if that makes any difference (which I do not think so).
You're on the right track here, but you need to build boost_system and add it to the linker path before you can use it. See: https://www.boost.org/more/getting_started/unix-variants.html#prepare-to-use... In Christ, Steven Watanabe
participants (2)
-
Antonis Polykratis
-
Steven Watanabe