Skip to content

Not able to build repository - Unknown CMake command Include build folder as part of .gitignore #46

@jcarranz97

Description

@jcarranz97

I am getting below error when trying to compile pico-playground repository

$ cmake .. -DBOARD=pico_w
Using PICO_SDK_PATH from environment ('/home/juan/repos/pico-sdk')
PICO_SDK_PATH is /home/juan/repos/pico-sdk
Defaulting PICO_PLATFORM to rp2040 since not specified.
Defaulting PICO platform compiler to pico_arm_gcc since not specified.
-- Defaulting build type to 'Release' since not specified.
PICO compiler is pico_arm_gcc
Defaulting PICO_EXTRAS_PATH as sibling of PICO_SDK_PATH: /home/juan/repos/pico-sdk/../pico-extras
-- The C compiler identification is GNU 10.3.1
-- The CXX compiler identification is GNU 10.3.1
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done

...
...
...

Build type is Release
Defaulting PICO target board to pico since not specified.
Using board configuration from /home/juan/repos/pico-sdk/src/boards/include/boards/pico.h
-- Found Python3: /usr/bin/python3.10 (found version "3.10.12") found components: Interpreter 
CMake Warning at /home/juan/repos/pico-sdk/src/rp2_common/tinyusb/CMakeLists.txt:10 (message):
  TinyUSB submodule has not been initialized; USB support will be unavailable

  hint: try 'git submodule update --init' from your SDK directory
  (/home/juan/repos/pico-sdk).


CMake Error at tone/christmas_melody/CMakeLists.txt:12 (example_auto_set_url):
  Unknown CMake command "example_auto_set_url".


-- Configuring incomplete, errors occurred!
See also "/home/juan/repos/pico-playground/build/CMakeFiles/CMakeOutput.log".
See also "/home/juan/repos/pico-playground/build/CMakeFiles/CMakeError.log".

$

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