Linker Options for Boost

I am wondering if there are any simple ways to link boost libraries (all or separate) via some entry, for example ....

-lSDL_ttf

The above link is the SDL True Type Font Library. Can this be done with a raise? If so, I'm not sure which file I am linking for the link. I am currently using boost_1_40_0.

If this is not possible, or there are better ways to do this, I would be happy to hear them.

PS I am using IDE CodeBlocks.

+3
source share
2 answers

Most boot libraries do not need to be bundled because they are only a header.

, , . , , boost , .

+6

Xcode 7, :

. , /usr/local, :

/usr/local/boost_1_60_0

http://www.boost.org/doc/libs/1_60_0/more/getting_started/unix-variants.html

. , Boost " ". , , ; ! , ! , :

enter image description here

, Boost, , -, .

. . root chmod 755 , . , " ".

enter image description here

0

Source: https://habr.com/ru/post/1728253/


All Articles