Skip to content

trailing commas in sublime-project file trigger crypitc error during configure: "Error while configuring project: env" #28

@minerscale

Description

@minerscale

Hi! This sublime-project file will trigger this error during the configure step: "Error while configuring project: env"

The problem was fixed by removing the trailing comma from "CMAKE_TOOLCHAIN_FILE"

{
    "folders":
    [
        {
            "path": ".",
        }
    ],
    "settings":
    {
        "cmake":
        {
            "build_folder": "$folder/build",
            "generator": "Ninja",
            "command_line_overrides":
            {
                "CMAKE_TOOLCHAIN_FILE": "toolchain.cmake", // <- that trailing comma is the problem!
            },
        },
    },
}

Thanks,
Aaron.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions