Update:
Success and a new version of the same problem.
Ref: Posting at:
viewtopic.php?t=191342&sid=7f3d700901e7 ... fbc6c627d9
which shows a successful install of VS Code Version 1.4.n (I was able to get it working with 1.6.9)
To help troubleshoot the problem, I "back-rev'd" to a different Buster installation that was previously working with Visual Studio code, last used in March of 2022. I also removed all traces of Visual Studio Code from my Windows 10 system and installed version 1.6.9, which was the one current at that time.
Nothing comes for free, and there were a few issues, but I was actually getting error messages that were relevant and helpful, so after a few tweaks like making sure the OpenSSH SERVER was installed on the Windows box, re-linking the repositories, and copying the Windows public key to the linux box and the private key to ~\.ssh - I was able to connect, load up a repository and things looked golden.
The acid test:
After backing-up the entire 1.6.9 context on the Windows box, I allowed Visual Studio Code to upgrade to the latest version, 1.9.1.1 as of this instant date.
The result:
No joy. Won't connect and continues to try to download the visual studio code server to the Raspberry Pi. Even if I remove the .vscode-server dirrectory on the PI, it still does not work, showing the following error. (Note that the displayed error text is identically the same both before and after the directory was removed.
Viz.:The relevant part appears to be:I noticed some people on other forum threads, (elsewhere, not here), trying to re-compile gcc to 3.4.36 on their systems and the consensus of opinion is HECK NO!! as it will bork the system beyond all recognition.
I don't know for sure, but I suspect that the GLIBCXX version it wants is not compatible with Buster. If we assume that this is the case, does anyone know what the latest version of VS Code IS compatible with Buster?
Thanks!
Success and a new version of the same problem.
Ref: Posting at:
viewtopic.php?t=191342&sid=7f3d700901e7 ... fbc6c627d9
which shows a successful install of VS Code Version 1.4.n (I was able to get it working with 1.6.9)
To help troubleshoot the problem, I "back-rev'd" to a different Buster installation that was previously working with Visual Studio code, last used in March of 2022. I also removed all traces of Visual Studio Code from my Windows 10 system and installed version 1.6.9, which was the one current at that time.
Nothing comes for free, and there were a few issues, but I was actually getting error messages that were relevant and helpful, so after a few tweaks like making sure the OpenSSH SERVER was installed on the Windows box, re-linking the repositories, and copying the Windows public key to the linux box and the private key to ~\.ssh - I was able to connect, load up a repository and things looked golden.
The acid test:
After backing-up the entire 1.6.9 context on the Windows box, I allowed Visual Studio Code to upgrade to the latest version, 1.9.1.1 as of this instant date.
The result:
No joy. Won't connect and continues to try to download the visual studio code server to the Raspberry Pi. Even if I remove the .vscode-server dirrectory on the PI, it still does not work, showing the following error. (Note that the displayed error text is identically the same both before and after the directory was removed.
Viz.:
Code:
Failed to connect to the remote extension host server (Error: WrappedError(WrappedError { message: "error checking server integrity", original: "failed to run command \"/home/pi/.vscode-server/cli/servers/Stable-f1e16e1e6214d7c44d078b1f0607b2388f29d729.staging/server/bin/code-server --version\" (code 1): /home/pi/.vscode-server/cli/servers/Stable-f1e16e1e6214d7c44d078b1f0607b2388f29d729.staging/server/node: /lib/arm-linux-gnueabihf/libstdc++.so.6: version `GLIBCXX_3.4.26' not found (required by /home/pi/.vscode-server/cli/servers/Stable-f1e16e1e6214d7c44d078b1f0607b2388f29d729.staging/server/node)\n" }))
Code:
/lib/arm-linux-gnueabihf/libstdc++.so.6: version `GLIBCXX_3.4.26' not found
I don't know for sure, but I suspect that the GLIBCXX version it wants is not compatible with Buster. If we assume that this is the case, does anyone know what the latest version of VS Code IS compatible with Buster?
Thanks!
Statistics: Posted by jharris1993 — Mon Jul 15, 2024 5:08 pm