Boost - "static" and "shared" libraries

I create "boost" libraries from the source code of boost, and I have two options: build it "static" or create a "general" (for example, dynamic). What is the best idea?

I prefer dynamic (general) communication, but when I tried to create extended shared libraries (on Ubuntu Linux), I had a lot of errors or warnings (why when compiling errors, warnings, notes, etc., always occur, grrrrrrrr), so I don’t know Is it compiled?

Thanks.

+3
source share
4 answers

. , . , .

, , , - , - .

+7

. , ( ) . , , .

, , , , , , . , , , .

P.S. Boost Ubuntu Linux, "sudo apt-get install libboost1.37-dev". , , Boost. , Ubuntu apt-get . , , . , Boost , Ubuntu Linux, Boost.

P.P.S. Boost ++. ++ . Boost . , Boost , , .

+4

, . exe.
.
Imo , , , boost .
?

+2

The recommended way to use Boost C ++ libraries on Linux is through a joint connection. In an Ubuntu Linux box already configured for development, you should not get any errors at all. Compilation warnings are expected - there are several issued for various thinking problems, technical and time constraints. Since regular release testing covers Ubuntu, I would not worry about the functionality of the created libraries - if there is a .so, it should work.

+2
source

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


All Articles