KUO avatar

부스트 라이브러리 설치 (빌드)

forensicmon

Published: 08 Apr 2018 › Updated: 08 Apr 2018부스트 라이브러리 설치 (빌드)

부스트 라이브러리 설치 (빌드)

Boost Library는 C++ 에서의 선형대수, 난수 발생, 멀티스레딩 등을 지원하는 라이브러리들의 집합이다. 표준 라이브러리는 아니지만 활용도가 놓아 널리 사용되고 있다.

설치방법

  1. boost 라이브러리를 다운로드 (https://www.boost.org/)

  2. 적당한 곳에 압축 해제하고 bootstrap.bat 실행한다. 같은 경로에 b2.exe와 bjam.exe가 생성되면 성공

  3. 다음으로 커맨드 창을 열어 다음과 같은 명령을 실행하면 라이브러리가 빌드된다. 이 때 사용하는 비주얼 스튜디오의 버전에 맞게 msvc 버전을 입력해주어야 한다.
    b2 toolset=msvc-14.1 variant=debug,release link=static threading=multi address-model=32 runtime-link=shared
    참고로 2017은 14.1, 2012는 11.0, 2010은 10.0 이다.

  4. 실행하면 라이브러리가 빌드되고 시간이 제법 걸린다.

  5. 프로젝트 설정에서 포함 디렉터리와 링커 추가 라이브러리 디렉터리에 경로를 추가하면 끝

Leave 부스트 라이브러리 설치 (빌드) to:

Written by

Read more #programming posts


Best Posts From KUO

We have not curated any of forensicmon's posts yet. But you can encourage our curation team to review posts by visiting them regularly and by referring other readers. Because we give priority to frequently read content.

More Posts From KUO