본문 바로가기
프로그래밍/C#

C# C++ boost api 설치

by Cat Tool 2016. 7. 11.
반응형

*visual studio가 미리 설치 되어있어야한다


1. 아래 사이트에서boost를 최신버전으로 받아서  압축을 해제한다


http://www.boost.org/ 



2. 압축을 해제한 폴더로 들어간 후 bootstrap.bat 실행


b2.exe 생성을 확인할 수 있다.


3. cmd를 통하여 관리자권한으로 접근후 b2를 아래의 옵션으로 실행


b2 toolset=msvc-14.0 variant=debug,release link=static threading=multi address-model=32 runtime-link=shared


#필자는 64비트 파일을 찾지못하여 32바이트로 설치하였다
msvc버전은 아래와 같으므로 14로
address-model은 64비트라 64로 지정하엿음 자세한것은 아래 사이트 참고


http://www.viper.pe.kr/cgi-bin/moin.cgi/Boost



비주얼 C++ .NET 2002 (7.0)13.002002년13007.01.0X86
비주얼 C++ .NET 2003 (7.1)13.102003년13107.11.1X86, AMD64
비주얼 C++ 2005 (8.0)14.00.50727.7622005년14008.02.0X86, AMD64, 아이테니엄
비주얼 C++ 2008 (9.0)15.00.30729.012007년15009.03.5X86, AMD64, 아이테니엄
비주얼 C++ 2010 (10.0)16.00.40219.012010년1600104.0X86, AMD64, 아이테니엄
비주얼 C++ 2012 (11.0)17.00.60315.12012년1700114.5X86, AMD64, 아이테니엄, ARM
비주얼 C++ 2013 (12.0)18.0.21005.12013년1800124.5.1X86, AMD64, ARM

비주얼 2015                                                                                                    14        와 동일



참조사이트

http://www.boost.org/

http://shaeod.tistory.com/396

http://imssosso.tistory.com/16

http://think-async.com/Asio/CommercialSupport


완료시 다음과 같이 뜬다



The Boost C++ Libraries were successfully built!


The following directory should be added to compiler include paths:


    C:\boost_1_61_0


The following directory should be added to linker library paths:


    C:\boost_1_61_0\stage\lib





*opendnp3 라이브러리 사용시

asio필요

asio 사용시 boost있으면 바로 사용가능



반응형

'프로그래밍 > C#' 카테고리의 다른 글

C# 델리게이트  (0) 2016.05.13