add C module to micropython problems with version of cmake? #15104
Unanswered
git0fun
asked this question in
Using MicroPython
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm trying to add a C module (hello_sleep) to micropython. I have installed the latest version of cmake (3.29.3).
I get this error:
"[ -e build-RPI_PICO_W/Makefile ] || cmake -S . -B build-RPI_PICO_W -DPICO_BUILD_DOCS=0 -DMICROPY_BOARD=RPI_PICO_W -DMICROPY_BOARD_DIR="/Users/[username]/Documents/myproject/micropython/ports/rp2/boards/RPI_PICO_W"-DCMAKE_EXE_LINKER_FLAGS=-L/Users/[username]/Documents/myproject/pico-extras/build
/Library/Developer/CommandLineTools/usr/bin/make -s -C build-RPI_PICO_W || (echo -e "See \033[1;31mhttps://github.com/micropython/micropython/wiki/Build-Troubleshooting\033[0m"; false)
make[1]: /usr/local/Cellar/cmake/3.29.2/bin/cmake: No such file or directory
make[1]: *** [cmake_check_build_system] Error 1
-e See https://github.com/micropython/micropython/wiki/Build-Troubleshooting
make: *** [all] Error 1"
In the folder structure a lot of folders are called "3.29.2". How to make this work with version 3.92.3?
Path in bash_profile is: export PATH="/usr/local/bin/cmake"
Beta Was this translation helpful? Give feedback.
All reactions