xmake-vscode icon indicating copy to clipboard operation
xmake-vscode copied to clipboard

在树莓派4b无法切换架构,编译报错

Open TimeInDreams opened this issue 4 years ago • 4 comments
trafficstars

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,

image

image

TimeInDreams avatar Feb 22 '21 15:02 TimeInDreams

这个属于插件问题,我暂时没你的环境,你可以下载插件代码,用vscode打开后,加载运行,自己调下相关位置代码

https://github.com/xmake-io/xmake-vscode/blob/0abf489e9aa538b25b296e6b60b357f006cb1ef7/src/xmake.ts#L925-L943

waruqi avatar Feb 22 '21 15:02 waruqi

这个属于插件问题,我暂时没你的环境,你可以下载插件代码,用vscode打开后,加载运行,自己调下相关位置代码

https://github.com/xmake-io/xmake-vscode/blob/0abf489e9aa538b25b296e6b60b357f006cb1ef7/src/xmake.ts#L925-L943

那请问一下有其他方法能切换架构吗,现在因为架构问题无法编译

TimeInDreams avatar Feb 24 '21 01:02 TimeInDreams

命令行下操作,xmake f -a x86_64; xmake

waruqi avatar Feb 24 '21 01:02 waruqi

命令行下操作,xmake f -a x86_64; xmake

好的谢谢

TimeInDreams avatar Feb 24 '21 01:02 TimeInDreams