首页
学习
活动
专区
工具
TVP
发布
精选内容/技术社群/优惠产品,尽在小程序
立即前往
您找到你想要的搜索结果了吗?
是的
没有找到

conan入门(十八):Cannot recognize the Windows subsystem, install MSYS2cygwin or specify a build_require

conan:交叉编译libiconv报错Cannot recognize the Windows subsystem, install MSYS2/cygwin or specify a build_require...今天在Windows下执行NDK交叉boost时报错了: libiconv/1.16: WARN: Error running `configure --help`: Cannot recognize...看提示应该是在编译boost的依赖库libiconv/1.16报的错,在linux下交叉编译并不会报这个错误, 原因就是没有指定-pr:b参数(--profile:build) 大多数情况下交叉编译-pr...但是对于libiconv/1.16这样的库在Windows下编译要需要依赖MSYS2环境来执行bash shell脚本来完成编译 以下代码摘自libiconv/1.16的conanfile.py..."CONAN_BASH_PATH"): self.build_requires("msys2/cci.latest") 如果不指定-pr:b参数,上面的条件就不成立,会导致编译libiconv

35210
领券