-
xrepo安装boost在windows上是默认msvc,想切换到mingw的时候安装失败,查看上图的输出发现是试图运行 |
Beta Was this translation helpful? Give feedback.
Answered by
waruqi
Apr 16, 2023
Replies: 1 comment 11 replies
-
大部分 mingw 库编译,基本上都得依赖 msys 环境,尤其是 boost 这种大库,因为不光用了 mingw 还会去用 gnu make, autoconf, pkgconfig 以及各种 shell 脚本和命令,纯 cmd 很多是跑不过的。 boost 的 bootstrap.bat 通常是给 msvc 用的,不一定支持 mingw ,你可以试试,如果能过 可以提 pr 过来改进包 如果想少躺坑,就在 msys 下执行各种 mingw 包编译安装 |
Beta Was this translation helpful? Give feedback.
11 replies
Answer selected by
wanzzhehe
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
大部分 mingw 库编译,基本上都得依赖 msys 环境,尤其是 boost 这种大库,因为不光用了 mingw 还会去用 gnu make, autoconf, pkgconfig 以及各种 shell 脚本和命令,纯 cmd 很多是跑不过的。
boost 的 bootstrap.bat 通常是给 msvc 用的,不一定支持 mingw ,你可以试试,如果能过 可以提 pr 过来改进包
如果想少躺坑,就在 msys 下执行各种 mingw 包编译安装