๋ณธ๋ฌธ ๋ฐ”๋กœ๊ฐ€๊ธฐ
IT-Engineering/TroubleShooting

Boost does not appear to be installed - ๋ถ€์ŠคํŠธ ์„ค์น˜(Ubuntu)

by ๐Ÿงž‍โ™‚๏ธ 2021. 5. 22.
๋ฐ˜์‘ํ˜•

Ubuntu 18.04 ๋ฒ„์ „์—์„œ OpenFOAM 4.1 Thirdparty ๋นŒ๋“œ์‹œ์— ์•„๋ž˜์˜ ๋ฉ”์‹œ์ง€๊ฐ€ ๋œจ๋ฉด์„œ ๋นŒ๋“œ๊ฐ€ ์‹คํŒจํ–ˆ๋‹ค.

 

Build CGAL
Boost does not appear to be installed
stopping build

 

๋ฌธ์ œ๋Š” Boost๊ฐ€ ์„ค์น˜๋˜์–ด ์žˆ์ง€ ์•Š๋‹ค๋Š” ๊ฒƒ. Boost ์„ค์น˜๋ฅผ ํ•ด์ฃผ๋„๋ก ํ•˜์ž.

boost library

 Boost ์„ค์น˜ ๋ฐฉ๋ฒ•

 

์•„๋ž˜์˜ ํŒจํ‚ค์ง€ ์„ค์น˜๋ฅผ ํ•ด์ฃผ์–ด์•ผ ํ•œ๋‹ค. ๊ผญ ๋‘˜๋‹ค ํ•ด์ฃผ์–ด์•ผ ํ•œ๋‹ค. CGAL์˜ ๋นŒ๋“œ๋Š” libboost-dev๋งŒ ์„ค์น˜ํ•ด๋„ ์ˆ˜ํ–‰์ด ๋˜์ง€๋งŒ, ์ดํ›„ OpenFOAM ์ปดํŒŒ์ผ์„ ํ•  ๋•Œ ์•„๋ž˜์˜ ๊ฒƒ๋„ ํ•„์š”ํ•˜๊ธฐ ๋•Œ๋ฌธ. ๋‹ค๋ฅธ ํ”„๋กœ๊ทธ๋žจ์„ ์„ค์น˜ํ•  ๋•Œ๋„ ๋ฐœ์ƒํ•  ์ˆ˜ ์žˆ๋Š” ๋ฌธ์ œ์ผ ๊ฒƒ์œผ๋กœ ์˜ˆ์ƒ๋œ๋‹ค.

 

sudo apt install libboost-dev
sudo apt install libboost-all-dev

 

์ด์ œ ๋‹ค์‹œ Thirdparty ๋นŒ๋“œ๋ฅผ ์œ„ํ•ด Allwmake๋ฅผ ์‹คํ–‰ํ•˜๋‹ˆ ์•„๋ž˜์™€ ๊ฐ™์ด ๋‚˜์˜ค๋ฉด์„œ ์ปดํŒŒ์ผ์ด ์™„๋ฃŒ๋˜์—ˆ๋‹ค.

 

Build CGAL
Using system installation of CGAL

========================================
Done ThirdParty Allwmake
========================================
๋ฐ˜์‘ํ˜•

๋Œ“๊ธ€