找不到远程工具链 #2931
Unanswered
HelloWorld886
asked this question in
Q&A
找不到远程工具链
#2931
Replies: 1 comment
-
使用指定的工具链 foo 并绑定包 bar。 set_toolchains("foo@bar") 使用指定的工具链 bar 并绑定包 bar。 set_toolchains("@bar")
你这没有定义 参考 它绑定到了自定义的 muslcc 工具链。 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Xmake 版本
2.6.4
操作系统版本和架构
Windows 10
描述问题
自定义仓库远程工具链,使用时the toolchain not found。
期待的结果
能正常使用远程工具链
工程配置
add_repositories("xswitch-repo https://github.com/HelloEngine/xswitch-repo.git main")
add_requires("devkit-a64")
target("application")
set_toolchains("@devkit-a64")
附加信息和错误日志
error: @programdir\core\main.lua:280: @programdir\core\project\target.lua:1956: the toolchain devkit-a64 not found!
stack traceback:
[C]: in function 'error'
[@programdir\core\base\os.lua:849]:
[@programdir\core\project\target.lua:1956]: in function 'toolchains'
[@programdir\actions\config\main.lua:136]: in function '_check_target_toolchains'
[@programdir\actions\config\main.lua:427]:
[C]: in function 'xpcall'
[@programdir\core\base\utils.lua:280]:
[@programdir\core\base\task.lua:519]: in function 'run'
[@programdir\core\main.lua:278]: in function 'cotask'
[@programdir\core\base\scheduler.lua:371]:
stack traceback:
[C]: in function 'error'
@programdir\core\base\os.lua:849: in function 'os.raiselevel'
(...tail calls...)
@programdir\core\main.lua:280: in upvalue 'cotask'
Beta Was this translation helpful? Give feedback.
All reactions