天天看點

c++編譯安裝第三方庫

1. enter the source directory

cd xxx
           

2. create a new build directory

mkdir build
cd build
           

3. build binary files

cmake ..
           

4. compile binary file make according to your computer’s environment

sudo make -j8
           
-j8 will create multi-threads to work

5. install

sudo make install
           

繼續閱讀