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
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章