-
-
Notifications
You must be signed in to change notification settings - Fork 822
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
conan更新到2之后,报错提示无效参数 #3633
Comments
不过试了下把conan降级为1.59.0,会报另外的错,设置的编译器参数不对
|
报错是因为他编译器的命名变了
|
新版本 conan 似乎做了很多改动,得重新适配。 |
这是由于之前有人报错才改了编译器名。。#3583 似乎新版本 conan 改成了新的 msvc 名字,编译器版本格式也变了。。 我暂时先回退到之前的编译器命名了,你先试试。并且限制目前仅支持 conan 1.x
|
|
回头我会对 conan 2.x 做兼容,暂时先用 conan 1.x |
由于 conan 2 不再支持 custom generator,所以现有的 1.x 集成方式已经无法继续使用,我已经将此问题反馈给 conan 那边 conan2 的下一个版本 2.0.5 会重新支持全局 custom generator,因此需要等待他们实现并发布下一个版本后,这边才能继续后面的工作 具体 conan 那边进展可以跟进下 conan-io/conan#13709 (comment) |
conan那边已经快支持上了,速度好快 conan-io/conan#13718 |
我初步支持了,但需要 conan 2.0.5 。。如果要提前体验,可以安装 conan 最新 commit 版本。。 $ git clone https://github.com/conan-io/conan.git
$ cd conan
$ sudo pip install -e . 然后更新 xmake $ xmake update -s dev |
Xmake 版本
2.7.8
操作系统版本和架构
windows 11
描述问题
conan版本 2.0.4
main.cpp
xmake.lua
编译
期待的结果
支持conan 2之后的版本。或者对不支持的conan版本进行提示
工程配置
No response
附加信息和错误日志
No response
The text was updated successfully, but these errors were encountered: