프로그래밍/C/C++
[Boost] 설치
엘레멘탈키스
2016. 3. 19. 20:44
https://www.boost.org/에서 최신버전을 다운 받는다.
bootstrap.bat을 실행하면 b2.exe와 bjam.exe가 두 exe가 나온다.
빌드하기
b2 바이너리로 컴파일 하고 라이브러리를 뽑아내면 된다.
1 | b2 toolset=msvc-14.0 variant=debug,release link=static threading=multi address-model=32 runtime-link=shared | cs |
대충 이런 꼬라지로 만들면 된다. 옵션은 프로젝트의 성격에 맞게 정하면 된다.
자세한 옵션
http://www.viper.pe.kr/cgi-bin/moin.cgi/Boost
lib가 뽑아져나온다.
프로젝트 속성에 VC++ 디렉토리 설정에서 폴더를 정해준다.
include 디렉토리에 boost_x_x/까지만 해주고
lib 디렉토리에 boost_x_x/stage/lib
728x90
반응형