Run/Debug with apolloX / imx6q / torizonCore

Hi @Fonky ,

From this image I can see that V1 of the extension is trying to initialize, but failing to do so (see at the bottom: Torizon: Initializing...). This is probably the cause of the issue you’re having with V1 i.e. the LibGpiodDriver is only supported on Linux/Unix error.

I recommend always disabling one version when using the other.

One more thing to keep in mind is that ApolloX sets a variable in VSCode that makes V1 unable to initialize correctly. You need remove this line if you want to use V1.

So in summary:

If you’re trying to use V1 of the extension:

  • Disable/Uninstall ApolloX
  • Open the command palette with F1 then type ‘Preferences: Open User Settings (JSON)’. A file called settings.json will open
  • Comment/remove the line that starts with "DOCKER_HOST": ..., then save the file.
  • V1 should be able to initialize correctly.

If you’re trying to use V2/ApolloX:

  • Disable/Uninstall V1 of the extension

Also, keep in mind that when using ApolloX, VSCode has to be connected to WSL in order to function correctly.

solved with : sudo apt-get update && sudo apt-get install net-tools

After running run-share-wsl-ports, did you manage to run the ApolloX project successfully? Let me know.

Best regards,
Lucas Akira