Skip to content

Do not know how to make File target `exec' #21

@kennybytes

Description

@kennybytes

I get the following error trying to run pio run --target exec (as described in the docs):

$ ~/platform-native/examples/hello-world$ pio run --target exec
Processing native (platform: native)
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Verbose mode can be enabled via `-v, --verbose` option
LDF: Library Dependency Finder -> https://bit.ly/configure-pio-ldf
LDF Modes: Finder ~ chain, Compatibility ~ soft
Found 0 compatible libraries
Scanning dependencies...
No dependencies
Building in release mode
*** Do not know how to make File target `exec' (/home/kluong/platform-native/examples/hello-world/exec).  Stop.
========================================================================== [FAILED] Took 0.27 seconds ==========================================================================

Here is the version I'm using:

$ ~/platform-native/examples/hello-world$ pio --version
PlatformIO Core, version 6.1.4

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions