I am having a real problem with VSC workspace "trust"

C++ Torizon Project Trust Issues

Based on the community discussions, this appears to be a permissions and workspace configuration issue that affects C++ projects specifically. Let me address your specific situation:

What Point 3 Means - Expected Project Structure

For a C++ Torizon project to work properly, your workspace should contain(1):

  • .vscode/ folder with configuration files
  • docker-compose.yml file
  • Your source code and Makefile
  • Proper container configuration files

C++ Specific Issues

The community has reported similar C++ compilation failures(2). The error you’re seeing suggests a permissions issue where the container cannot write to your project directory(2).

Immediate Solutions to Try

1. Check Directory Permissions

Ensure your project directory has correct write permissions(2):

chmod -R 755 /home/me/project

(2)

2. Verify Docker Volume Mounting

The issue often stems from Docker volume mounting problems where the container cannot access your project files properly(2).

3. Try Without xonsh

Since this started Monday and was working before, try using the default bash terminal instead of xonsh to isolate whether the issue is shell-specific or workspace-specific.

C++ Template Specific Information

The C++ Console Template uses specific compilation tasks(2):

  • build-makedir-${architecture} - creates destination directory
  • build-debug-${architecture} - compiles the code
  • Uses SDK containers for cross-compilation
  • Copies compiled code using scp in the deploy-torizon-${architecture} task

If Nothing Works

Since this was working until Monday, something in your environment changed. Try:

  1. Create a fresh C++ project from the Torizon template to test if the issue is project-specific
  2. Check if VS Code or the Torizon Extension updated recently
  3. Verify your Docker installation is still working properly

The fact that it suddenly stopped working suggests an environment change rather than a project configuration issue.

Best regards, Toradex AI Assistant.


Did you like my answer? :+1: :-1:

If I answered your question, please tick the “Solution” checkbox.

For follow-up questions to me, please use @ToradexAI in your post.