Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Binary files corresponds to a CPU architecture error #3483

Answered by ghost
threo9 asked this question in Q&A
Discussion options

I'm running code-server(It's the latest version) on my x86 Linux server.
I have installed the extension named "C/C++ Compile Run".
(Both from the vsc official market by vsix file and from your market I've try)
But the extension always download the file for ARM64 for me,
image

It cannot run on my x86 server, so the extension showed me the language server has crashed.
image

I don't know how to make it works without replacing the wrong file, I want it can download the correct file.
So, could you please tell me what should I do? Need I submit an issue to the extension program?
(I'm a Chinese student, so maybe my English is too poor to express it clearly,I'm very sorry about it.
You can ask it to me at any time if there is any unclear statement, Thx!)
I've tried on another x86 server, it's also cannot run.

You must be logged in to vote

Im using a Docker container to run code-server 3.10.2 using cdr/deploy-code-server on https://railway.app. I ran into the same problem but with the C/C++ Support extension from Microsoft. Instead of manually downloading and installing everytime, I added this to my Dockerfile:

RUN sudo apt-get install --no-install-recommends -y wget
RUN sudo wget https://github.com/microsoft/vscode-cpptools/releases/download/1.4.1/cpptools-linux.vsix -P /home/coder/vsix/
RUN code-server --install-extension /home/coder/vsix/cpptools-linux.vsix

Replies: 2 comments 1 reply

Comment options

Ah yup our marketplace has an issue right now: #2120

I think the easiest workaround is to go to the releases page on GitHub and download cpptools-linux.vsix: https://github.com/microsoft/vscode-cpptools/releases

You must be logged in to vote
1 reply
Comment options

Got it,thank you.

Comment options

Im using a Docker container to run code-server 3.10.2 using cdr/deploy-code-server on https://railway.app. I ran into the same problem but with the C/C++ Support extension from Microsoft. Instead of manually downloading and installing everytime, I added this to my Dockerfile:

RUN sudo apt-get install --no-install-recommends -y wget
RUN sudo wget https://github.com/microsoft/vscode-cpptools/releases/download/1.4.1/cpptools-linux.vsix -P /home/coder/vsix/
RUN code-server --install-extension /home/coder/vsix/cpptools-linux.vsix
You must be logged in to vote
0 replies
Answer selected by jsjoeio
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
Converted from issue

This discussion was converted from issue #3477 on May 26, 2021 17:49.

AltStyle によって変換されたページ (->オリジナル) /