How to Link to boost library in codeblocks! (linux Fedora)

Asked

Viewed 97 times

0

Hello, I downloaded the boost.tar file, extracted it, compiled it and installed it in my Fedora 23! But I can’t make codeblocks link to these new libraries.

How do I link?

  • in Fedora would be expected to use only sudo dnf install codeblocks

1 answer

0

OK, I managed to make use of the library boost

I got the packages on those links https://rpmfind.net/linux/rpm2html/search.php?query=boost-devel http://www.boost.org/doc/libs/1_60_0/more/getting_started/unix-variants.html

In code Blocks you create your project will in the menu project>>build Options

In the searh tab Directories >>Compiler>>add and add the path usr/include/boost

In the Linker Settings tab you go to add and look for the library you want to include! they are in usr/lib64 (in my case this is in lib64 but may be in lib folder)

Browser other questions tagged

You are not signed in. Login or sign up in order to post.