Skip to content

After following the Documentation: compiling GDExtension in VS Code results in: "scons: command not found" #7801

@Crakmaks

Description

@Crakmaks

Your Godot version: 4.1

Issue description: I've followed the Tutorials in the following order:
https://docs.godotengine.org/en/stable/contributing/development/compiling/compiling_for_linuxbsd.html

  • worked, no problems

https://docs.godotengine.org/en/stable/tutorials/scripting/gdextension/gdextension_cpp_example.html

  • worked, no problems

https://docs.godotengine.org/en/stable/contributing/development/configuring_an_ide/visual_studio_code.html

  • When running the Task with Ctrl + Shift + B, I get thee following Error in Visual Studio Code(1.81.0) :
    "Executing task: scons
    /bin/sh: line 1: scons: command not found
  • The terminal process "/bin/sh '-c', 'scons'" failed to launch (exit code: 127). "

I'm on pop_os (ubuntu) and had this working in the past, but for some reason this time, VSCode (1.81.0) does not recognize scons. The OS install is completely fresh, the tutorials are basically the first thing I did after installing the OS. I hope this is easy to fix but I found nothing on google regarding this. Any idea what could be the reason for this? Help would be much appreciated!

URL to the documentation page: https://docs.godotengine.org/en/stable/contributing/development/configuring_an_ide/visual_studio_code.html

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions