lancaster-university / microbit-v2-samples

CODAL build tools and sample programs for the micro:bit v2.x
MIT License
66 stars 87 forks source link

Build error on Ubuntu 20.04 #16

Closed r8d8 closed 3 years ago

r8d8 commented 3 years ago

Trying to build project on Ubuntu 20.04, using CMAKE 3.17 and having next error:

[main] Building folder: codal-microbit-v2 
[main] Configuring folder: codal-microbit-v2 
[proc] Executing command: /usr/local/bin/cmake --no-warn-unused-cli -DCMAKE_EXPORT_COMPILE_COMMANDS:BOOL=TRUE -DCMAKE_BUILD_TYPE:STRING=Debug -H/home/k2/Workbench/codal-microbit-v2 -B/home/k2/Workbench/codal-microbit-v2/build -G "Unix Makefiles"
[cmake] Not searching for unused variables given on the command line.
[cmake] -- Configuring incomplete, errors occurred!
[cmake] See also "/home/k2/Workbench/codal-microbit-v2/build/CMakeFiles/CMakeOutput.log".
[cmake] CMake Error at CMakeLists.txt:5 (RECURSIVE_FIND_DIR):
[cmake]   Unknown CMake command "RECURSIVE_FIND_DIR".