xmake-vscode
xmake-vscode copied to clipboard
在树莓派4b无法切换架构,编译报错
Note: If you use the fuzzy expressions such as 'can't use/no effect/problem/error', but don't give any relevant auxiliary information according to the template below, this issue will be not replied.
Describe the bug
在树莓派4b安装vscarm-64版本,使用xmake插件,架构固定显示x86/x64
Expected behavior
点击x86/x64切换架构时,报错Running the contributed command:'xmake.setargetarch' failed
Error output
Running the contributed command:'xmake.setargetarch' failed
Related Environment
Please provide compiling and running environment information:
- xmake version:
- os:Linux
- target platform:ubuntu18.04,raspberrypi4b,


这个属于插件问题,我暂时没你的环境,你可以下载插件代码,用vscode打开后,加载运行,自己调下相关位置代码
https://github.com/xmake-io/xmake-vscode/blob/0abf489e9aa538b25b296e6b60b357f006cb1ef7/src/xmake.ts#L925-L943
这个属于插件问题,我暂时没你的环境,你可以下载插件代码,用vscode打开后,加载运行,自己调下相关位置代码
https://github.com/xmake-io/xmake-vscode/blob/0abf489e9aa538b25b296e6b60b357f006cb1ef7/src/xmake.ts#L925-L943
那请问一下有其他方法能切换架构吗,现在因为架构问题无法编译
命令行下操作,xmake f -a x86_64; xmake
命令行下操作,
xmake f -a x86_64; xmake
好的谢谢