Skip to content

Can't find a toolchain for the following configuration #1160

Open
@Joebeazelman

Description

@Joebeazelman

I get a strange error message when I try to compile my file. If I build using the build command in Visual Studio, I get the following error:

can't find a toolchain for the following configuration

I also get an error message in the problems tab area:

imported project file "pico_bsp.gpr" not found

However, it compiles successfully when I build from VS Code's terminal using alr build. If I go back and execute the build command again, I get:

gprconfig: can't find a toolchain for the following configuration:
gprconfig: language 'ada', target 'arm-eabi', runtime 'light-cortex-m0'
cpu_controller_config.gpr:2:06: imported project file "pico_bsp.gpr" not found
cpu_controller_config.gpr:2:06: imported by "/Users/joebeazelman/Projects/Repos/cpu_controller/config/cpu_controller_config.gpr"
cpu_controller_config.gpr:2:06: imported by "/Users/joebeazelman/Projects/Repos/cpu_controller/cpu_controller.gpr"
gprbuild: "cpu_controller.gpr" processing failed

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions