hadabot / hadabot_main

Content used in collaboration with various Hadabot blog posts to get guide you through learning ROS2.
https://blog.hadabot.com
GNU General Public License v3.0
37 stars 19 forks source link

VSCode Code Server complains that C++ module is not installed correctly #10

Closed jackpien closed 3 years ago

jackpien commented 3 years ago

A recent docker stack build causes VSCode Code Server tooltip to pops up saying C++ module (1.0.1) is not installed correctly.

Output panel says

[Error - 4:00:56 PM] Connection to server got closed. Server will not be restarted.
/home/hadabot/.local/share/code-server/extensions/ms-vscode.cpptools-1.0.1/bin/cpptools: 1: Syntax error: word unexpected (expecting ")")

Apparently other people also have problems - https://github.com/microsoft/vscode-cpptools/issues/6190

But looks like it's a Code Server issue downloading the aarch64 vesion of cpptools fro arm64 ?! - https://github.com/cdr/code-server/issues/2120

Workaround is to explicitly download the cpptools-linux version