"Boost 빌드"의 두 판 사이의 차이
jjuiddong
(새 문서: * 참조 ** http://wiki.thedarkmod.com/index.php?title=Compile_the_static_Boost_Libraries_in_Windows) |
|||
(한 사용자의 중간의 편집 18개 숨겨짐) | |||
1번째 줄: | 1번째 줄: | ||
+ | * 기본 빌드 | ||
+ | c:\tools\bjam toolset=msvc link=static threading=multi release stage | ||
+ | c:\tools\bjam toolset=msvc link=static threading=multi debug stage | ||
+ | * x64 build | ||
+ | ** address-model=64 추가 | ||
+ | ** architecture=ia64 | ||
+ | ** http://egloos.zum.com/anster/v/2157882 | ||
+ | |||
* 참조 | * 참조 | ||
** http://wiki.thedarkmod.com/index.php?title=Compile_the_static_Boost_Libraries_in_Windows | ** http://wiki.thedarkmod.com/index.php?title=Compile_the_static_Boost_Libraries_in_Windows | ||
+ | * 에러 발생 1>LINK : fatal error LNK1104: 'libboost_thread-vc100-mt-s-1_52.lib' 파일을 열 수 없습니다. | ||
+ | ** 해결 | ||
+ | *** cmd창 명령어 입력 d:\boost\bjam.exe toolset=msvc link=static threading=multi runtime-link=static release stage | ||
+ | * 에러 발생 1>LINK : fatal error LNK1104: cannot open file 'libboost_thread-vc120-mt-sgd-1_56.lib' | ||
+ | ** 해결 | ||
+ | *** cmd창 명령어 입력 d:\boost\bjam.exe toolset=msvc link=static threading=multi runtime-link=static runtime-debugging=on debug stage | ||
+ | * 에러 발생 1>LINK : fatal error LNK1104: 'libboost_thread-vc100-mt-gd-1_55.lib' 파일을 열 수 없습니다. | ||
+ | ** 해결 | ||
+ | *** 부스트 디렉토리를 포함시키지 않아서 발생한 문제였음. | ||
+ | *Visual Studio Version | ||
+ | ** toolset=msvc-10.0 (for VC++ 2010). | ||
+ | ** toolset=msvc-14.0 (for VC++ 2015). | ||
+ | ** toolset=msvc-14.1 (for VC++ 2017). | ||
+ | |||
+ | *라이브러리 파일 이름의 뜻 | ||
+ | ** http://www.boost.org/doc/libs/1_53_0/more/getting_started/windows.html#library-naming | ||
+ | |||
+ | *빌드 속도 높이기 (쓰레드 4개 사용) | ||
+ | bjam.exe -j4 release | ||
+ | |||
+ | *전처리기 추가 | ||
+ | ** define="_ITERATOR_DEBUG_LEVEL=0" define="_HAS_ITERATOR_DEBUGGING=0" | ||
+ | ** 기존에 빌드한 데이타가 남아있다면 모두 지우고 다시 빌드하자. | ||
+ | *** bin.v2 폴더 제거 | ||
+ | c:\tools\bjam toolset=msvc link=static threading=multi define="_ITERATOR_DEBUG_LEVEL=0" define="_HAS_ITERATOR_DEBUGGING=0" debug stage | ||
+ | |||
+ | *부스트 빌드 관련 링크 | ||
+ | ** http://mindgear.tistory.com/203 | ||
+ | **http://anster.egloos.com/2157882 |
2019년 12월 12일 (목) 17:10 기준 최신판
- 기본 빌드
c:\tools\bjam toolset=msvc link=static threading=multi release stage c:\tools\bjam toolset=msvc link=static threading=multi debug stage
- x64 build
- address-model=64 추가
- architecture=ia64
- http://egloos.zum.com/anster/v/2157882
- 참조
- 에러 발생 1>LINK : fatal error LNK1104: 'libboost_thread-vc100-mt-s-1_52.lib' 파일을 열 수 없습니다.
- 해결
- cmd창 명령어 입력 d:\boost\bjam.exe toolset=msvc link=static threading=multi runtime-link=static release stage
- 해결
- 에러 발생 1>LINK : fatal error LNK1104: cannot open file 'libboost_thread-vc120-mt-sgd-1_56.lib'
- 해결
- cmd창 명령어 입력 d:\boost\bjam.exe toolset=msvc link=static threading=multi runtime-link=static runtime-debugging=on debug stage
- 해결
- 에러 발생 1>LINK : fatal error LNK1104: 'libboost_thread-vc100-mt-gd-1_55.lib' 파일을 열 수 없습니다.
- 해결
- 부스트 디렉토리를 포함시키지 않아서 발생한 문제였음.
- 해결
- Visual Studio Version
- toolset=msvc-10.0 (for VC++ 2010).
- toolset=msvc-14.0 (for VC++ 2015).
- toolset=msvc-14.1 (for VC++ 2017).
- 라이브러리 파일 이름의 뜻
- 빌드 속도 높이기 (쓰레드 4개 사용)
bjam.exe -j4 release
- 전처리기 추가
- define="_ITERATOR_DEBUG_LEVEL=0" define="_HAS_ITERATOR_DEBUGGING=0"
- 기존에 빌드한 데이타가 남아있다면 모두 지우고 다시 빌드하자.
- bin.v2 폴더 제거
c:\tools\bjam toolset=msvc link=static threading=multi define="_ITERATOR_DEBUG_LEVEL=0" define="_HAS_ITERATOR_DEBUGGING=0" debug stage