Skip to content

CMake error #2

@Mistborn21

Description

@Mistborn21

Hello!
I'm trying to use this repository, but when I go to do the
cmake -DPICO_BOARD=pico_w -DPICO_SDK_PATH=/your/path/to/pico-sdk ../
command as in the instructions, I keep getting an error.

cmake -DPICO_BOARD=pico_w -DPICO_SDK_PATH="D:\Git_Stuff\pico_sdk_import.cmake"
CMake Warning:
No source or binary directory provided. Both will be assumed to be the
same as the current working directory, but note that this warning will
become a fatal error in future CMake releases.
CMake Error: The current CMakeCache.txt directory /mnt/d/git_stuff/picow_ds4/build/CMakeCache.txt is different than the directory d:/Git Stuff/picow_ds4/build where CMakeCache.txt was created. This may result in binaries being created in the wrong place. If you are not sure, reedit the CMakeCache.txt
CMake Error: The source directory "/mnt/d/git_stuff/picow_ds4/build" does not appear to contain CMakeLists.txt.
Specify --help for usage, or press the help button on the CMake GUI.

If I do make, it says no targets specified and won't work. What should I do?
Thanks!

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