当前位置:网站首页>MinGW compile boost library
MinGW compile boost library
2022-07-03 17:30:00 【sukhoi27smk】
Introduce
stay windows Compile below boost You can choose msvc and mingw Two ways , Here's how to use mingw How to compile ,msvc It's a similar operation
Source download
for example 1.48.0
http://www.boost.org/users/history/version_1_48_0.html
When using different versions, the version_1_48_0 Replace it
compile
compile b2.exe
Get into boost The catalog of , function bootstrap.bat, It's going to be generated on success b2.exe
compile Boost
Compile and install boost
.\b2.exe install --build-type=complete threading=multi link=shared address-model=64 toolset=gcc
stage Indicates that only the library is generated (dll and lib),install It will also generate include Catalog ;
--build-type=complete Indicates simultaneous generation Debug and Release edition ;
threading=multi Indicates that the thread mode is used “multi ”( Multithreading );
link=shared Indicates that the link mode is used “shared”( That is to build a dynamic library ),“static” Represents compiling into a static library ;
address-model=64 Indicates that the address model uses 64 position ( That is, the generated libraries are 64 Location base );
toolset=gcc Indicates that the tool set uses “gcc”;
--prefix Generate address for class library
--with-XXX Compile the specified module , Otherwise, compile all
边栏推荐
- Installation and configuration of network hard disk NFS
- [combinatorics] recursive equation (special solution example 1 Hannover tower complete solution process | special solution example 2 special solution processing when the characteristic root is 1)
- TensorBoard快速入门(Pytorch使用TensorBoard)
- Leetcode 108 converts an ordered array into a binary search tree -- recursive method
- Loop through JSON object list
- Kotlin learning quick start (7) -- wonderful use of expansion
- One brush 147-force deduction hot question-4 find the median of two positive arrays (H)
- [combinatorics] recursive equation (special solution form | special solution solving method | special solution example)
- Applet setting multi account debugging
- PHP online confusion encryption tutorial sharing + basically no solution
猜你喜欢
Redis: operation commands for list type data
[UE4] brush Arctic pack high quality Arctic terrain pack
Great changes! National housing prices fell below the 10000 yuan mark
TensorBoard快速入门(Pytorch使用TensorBoard)
Qt调节Win屏幕亮度和声音大小
【JokerのZYNQ7020】DDS_ Compiler。
问题随记 —— 在 edge 上看视频会绿屏
Internet hospital his management platform source code, online consultation, appointment registration smart hospital applet source code
【RT-Thread】nxp rt10xx 设备驱动框架之--Audio搭建和使用
Free data | new library online | cnopendata complete data of China's insurance intermediary outlets
随机推荐
Assignment examination questions of advanced English (III) for the course examination of Fujian Normal University in February 2022
[combinatorics] recursive equation (case where the non-homogeneous part is exponential | example where the non-homogeneous part is exponential)
kubernetes资源对象介绍及常用命令(三)
Y is always discrete and can't understand, how to solve it? Answer: read it several times
[combinatorics] recursive equation (summary of the solution process of recursive equation | homogeneous | double root | non-homogeneous | characteristic root is 1 | exponential form | the bottom is th
Cloud primordial weekly | CNCF released the 2021 cloud primordial development status report, which was released on istio 1.13
鸿蒙第三次培训
Squid 服务启动脚本
Examination questions for the assignment of selected readings of British and American Literature in the course examination of Fujian Normal University in February 2022
Where is the database account used when running SQL tasks in data warehouse tasks configured
c# .net 工具生态
Cross border e-commerce: advantages of foreign trade enterprises in overseas social media marketing
SWM32系列教程4-端口映射及串口应用
September, 19, "cam principle and application" online assignment [Full Score answer]
[combinatorics] recursive equation (four cases where the non-homogeneous part of a linear non-homogeneous recursive equation with constant coefficients is the general solution of the combination of po
QT learning diary 9 - dialog box
【RT-Thread】nxp rt10xx 设备驱动框架之--Pin搭建和使用
How to enforce parameters in PowerShell- How do I make parameters mandatory in PowerShell?
免费数据 | 新库上线 | CnOpenData中国保险中介机构网点全集数据
The difference between i++ and ++i: tell their differences easily