|
Boost Users : |
Subject: Re: [Boost-users] Undefined Reference to 'boost::system::generic_category()'
From: stefan.naewe_at_[hidden]
Date: 2016-06-16 10:44:23
Am 16.06.2016 um 16:27 schrieb Blair Climenhaga:
> Hello Leon,
>
> Thanks for your quick response! I'm not sure if I understand what you
> mean (my fault not yours). I typed "-lboost_system" and
> "-lboost_thread" into the command line of the terminal however both
> types it returned the error message "command not found". I assume you
> mean to add these lines to the .bashrc or to the install file for
> openfoam. Is this correct?
>
> You are correct that the boost files are downloaded to the /usr/lib,
> however searching through the lib directory I find that the most
> similar libraries to those discussed are the
> "libboost_system.so.1.54.0" and "libboost_thread.so.1.54.0" files,
> are these the correct files? Again thank you for all your help, I
> really appreciate it.
You should definitely read (at least) this:
http://www.boost.org/doc/libs/1_61_0/more/getting_started/unix-variants.html#link-your-program-to-a-boost-library
HTH
Stefan
--
----------------------------------------------------------------
/dev/random says: Useless Invention: Candy bars with stannous fluoride added.
python -c "print '73746566616e2e6e616577654061746c61732d656c656b74726f6e696b2e636f6d'.decode('hex')"
GPG Key fingerprint = 2DF5 E01B 09C3 7501 BCA9 9666 829B 49C5 9221 27AF
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net