Boost Library

๋ฐ˜์‘ํ˜•

์ œ๊ฐ€ ๋“ฃ๋Š” ์ˆ˜์—…์€ ์•„๋‹ˆ์ง€๋งŒ, ์ž๋ฃŒ ๊ตฌ์กฐ ์‹œ๊ฐ„์— ์ด๋ก  ์œ„์ฃผ๋กœ ์ˆ˜์—…์„ ํ•˜๋Š” ๊ต์ˆ˜๋‹˜๊ณผ ๋‹ฌ๋ฆฌ ์‹ค๋ฌด์— ๋งž๊ฒŒ ์ˆ˜์—…์„ ํ•˜๋Š” ๊ต์ˆ˜๋‹˜์ด ์žˆ์—ˆ๋Š”๋ฐ, ๊ทธ ๊ต์ˆ˜๋‹˜์€ ์ž๋ฃŒ ๊ตฌ์กฐ ์‹œ๊ฐ„์— Boost Library๋ฅผ ์ด์šฉํ•˜๋ผ๊ณ  ํ•˜์‹œ๋Š”๊ตฐ์š”.


๊ทธ๋ž˜์„œ http://www.boost.org/ ์—์„œ Boost Library์— ๋Œ€ํ•ด์„œ ์•Œ์•„๋ดค์Šต๋‹ˆ๋‹ค...


Boost๋Š” C++ Library๋กœ ์šฐ๋ฆฌ๊ฐ€ ์ž์ฃผ ์‚ฌ์šฉํ•˜๋Š” ์•Œ๊ณ ๋ฆฌ์ฆ˜์„ ๋ชจ์•„๋†“์€ ๊ฒƒ์ž…๋‹ˆ๋‹ค. ์—ฌ๋Ÿฌ ๊ฐœ๋ฐœ์ž๋“ค์ด ๋งŒ๋“  ์˜คํ”ˆ ์†Œ์Šค ๋ผ์ด๋ธŒ๋Ÿฌ๋ฆฌ๋กœ, ์‚ฌ์šฉํ•  ์ˆ˜ ์žˆ๋Š” OS๋Š” Windows, Linux ์ž…๋‹ˆ๋‹ค. ์ €๋Š” ๊ฐœ์ธ์ ์œผ๋กœ ์„œ๋ฒ„๋ฅผ ์šด์˜ํ•˜์—ฌ ๋ฆฌ๋ˆ…์Šค์— ์„ค์น˜ํ•ด ์‚ฌ์šฉ ์ค‘์ž…๋‹ˆ๋‹ค๋งŒ, ๋ช‡๋ช‡ Windows ์œ ์ €๋“ค์€ Visual Studio์™€ ์—ฐ๋™ํ•˜์…”์„œ ํ•˜๋Š”๋ฐ, ์ตœ๊ทผ์— ๋‚˜์˜จ 2012 ๋ฒ„์ „์—๋Š” ์ž˜ ์•ˆ๋œ๋‹ค๋Š” ์–˜๊ธฐ๋„ ์žˆ๋”๊ตฐ์š”... 


Boost Library์˜ ์ตœ์‹  ๋ฒ„์ „์€ 1.53๋ฒ„์ „์œผ๋กœ, 2013๋…„ 2์›”์— ๋งˆ์ง€๋ง‰์œผ๋กœ ๋ฆด๋ฆฌ์ฆˆ ๋˜์—ˆ์œผ๋ฉฐ, ํฌํ•จ๋œ ๋ผ์ด๋ธŒ๋Ÿฌ๋ฆฌ๋Š” ๋‹ค์Œ๊ณผ ๊ฐ™์Šต๋‹ˆ๋‹ค..


Atomic, Coroutine, Lockfree, Multiprecision, Odeint. Updated Libraries: Algorithm, Array, Asio, Bimap, Chrono, Container, Context, Geometry, GIL, Graph, Hash, Interprocess, Intrusive, Lexical Cast, Locale, Math, MinMax, Move, Polygon, Random, Range, Ratio, Regex, Smart Pointers, StringAlgo, Thread, Utility, Unordered, Variant, Wave and xpressive.


๊ทธ๋Ÿผ ์„ค์น˜ ๋ฐฉ๋ฒ•์— ๋Œ€ํ•ด ์•Œ์•„๋ด…์‹œ๋‹ค..


Windows ์—์„œ ์„ค์น˜


http://www.boost.org/users/history/version_1_53_0.html

Windows์šฉ ํŒจํ‚ค์ง€๋ฅผ ๋ฐ›์•„ Visual Studio include ๊ฒฝ๋กœ์— ์••์ถ•์„ ํ’€์–ด์ฃผ์‹œ๋ฉด ๋ฉ๋‹ˆ๋‹ค. 

(๊ธฐ๋ณธ ๊ฒฝ๋กœ : C:\Program Files\Microsoft Visual Studio 11.0\VC\include)


Linux ์—์„œ ์„ค์น˜


Ubuntu Linux์˜ ๊ฒฝ์šฐ,


$ sudo apt-get install libboost-1.50-all-dev

(# apt-get install libboost-1.50-all-dev)


์šฐ๋ถ„ํˆฌ ๋ฆฌ๋ˆ…์Šค 12.10์—์„œ Boost Library ์„ค์น˜ํ•  ๋•Œ, ๋ฒ„์ „ ์—†์ด ์„ค์น˜ํ•  ๊ฒฝ์šฐ ์˜์กด์„ฑ ์—ฌ๋ถ€๋กœ ์ธํ•ด ์„ค์น˜๋ฅผ ํ•ด์ฃผ์ง€ ์•Š์Šต๋‹ˆ๋‹ค. ๋ฐ˜๋“œ์‹œ ๋ฒ„์ „ ์ˆซ์ž๋ฅผ ์ž…๋ ฅํ•ด์ฃผ์‹œ๊ธฐ ๋ฐ”๋ž๋‹ˆ๋‹ค.


RedHat Linux์˜ ๊ฒฝ์šฐ,


$ sudo yum install boost*

(# yum install boost*)


RedHat ๊ณ„์—ด์˜ ๋ฆฌ๋ˆ…์Šค(CentOS)์—์„œ๋Š” Boost Library๊ฐ€ ๊ฐœ๋ณ„์ ์œผ๋กœ ์ง€์›๋˜๋Š” ๊ฒฝ์šฐ๊ฐ€ ์—†๋‹ค๊ณ  ํ•ฉ๋‹ˆ๋‹ค. boost๊ฐ€ ํŒจํ‚ค์ง€ ๋ชฉ๋ก์— ํฌํ•จ๋˜์–ด ์žˆ์ง€ ์•Š๋‹ค๋ฉด, Windows์— ์„ค์น˜ ํ•ญ๋ชฉ์— ๋งํฌ๋ฅผ ๋”ฐ๋ผ๊ฐ€ Unix์šฉ์œผ๋กœ tar ํŒŒ์ผ์„ ๋ฐ›์œผ์‹  ํ›„ ์†Œ์Šค ์„ค์น˜ํ•˜์…”์•ผ ํ•ฉ๋‹ˆ๋‹ค.


๋‹ค์Œ ๊ธ€์—์„œ๋Š” Boost Library๋ฅผ ์‚ฌ์šฉํ•œ ๊ฐ„๋‹จํ•œ ์ฝ”๋“œ์— ๋Œ€ํ•ด ์ ์–ด๋ณด๋„๋ก ํ•˜๊ฒ ์Šต๋‹ˆ๋‹ค....


๋ฐ˜์‘ํ˜•
TAGS.

Tistory Comments