当前位置:网站首页>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
边栏推荐
- Golang unit test, mock test and benchmark test
- QT adjust win screen brightness and sound size
- Stm32h7 Hal library SPI DMA transmission has been in busy solution
- Enterprise custom form engine solution (XI) -- form rule engine 1
- Y is always discrete and can't understand, how to solve it? Answer: read it several times
- Automata and automatic line of non-standard design
- 数仓任务里面 跑SQL任务的时候用的数据库账号是在哪里配置的
- Type conversion, variable
- Swm32 series Tutorial 4 port mapping and serial port application
- September, 19, "cam principle and application" online assignment [Full Score answer]
猜你喜欢
1164 Good in C
Qt调节Win屏幕亮度和声音大小
1164 Good in C
Automata and automatic line of non-standard design
【RT-Thread】nxp rt10xx 设备驱动框架之--Audio搭建和使用
How to train mask r-cnn model with your own data
How do large consumer enterprises make digital transformation?
1147_ Makefile learning_ Target files and dependent files in makefile
Leetcode Valentine's Day Special - looking for a single dog
Leetcode 669 pruning binary search tree -- recursive method and iterative method
随机推荐
新库上线 | CnOpenData中国观鸟记录数据
[UE4] brush Arctic pack high quality Arctic terrain pack
The difference between i++ and ++i: tell their differences easily
How to train mask r-cnn model with your own data
Leetcode 669 pruning binary search tree -- recursive method and iterative method
WEB-UI自动化测试-最全元素定位方法
Swm32 series Tutorial 4 port mapping and serial port application
[RT thread] NXP rt10xx device driver framework -- Audio construction and use
Free data | new library online | cnopendata complete data of China's insurance intermediary outlets
Leetcode13. Roman numeral to integer (three solutions)
One brush 147-force deduction hot question-4 find the median of two positive arrays (H)
Collection of the most beautiful graduation photos in the graduation season, collection of excellent graduation photos
Electronic technology 20th autumn "Introduction to machine manufacturing" online assignment 3 [standard answer]
An example of HP array card troubleshooting
Cross border e-commerce: advantages of foreign trade enterprises in overseas social media marketing
SQL injection database operation foundation
A day's work list of an ordinary programmer
Where is the monitoring page of RDS database?
Leetcode 108 converts an ordered array into a binary search tree -- recursive method
基于主机的入侵系统IDS