Skip to content

Instantly share code, notes, and snippets.

@aseelye
Created July 20, 2021 15:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save aseelye/c4170aecf15e61f1fae71d7572fa1fb5 to your computer and use it in GitHub Desktop.
Save aseelye/c4170aecf15e61f1fae71d7572fa1fb5 to your computer and use it in GitHub Desktop.
lv_micropython build fail
aaron@esp32-build:~$ cd lv_micropython/
aaron@esp32-build:~/lv_micropython$ git pull
Already up to date.
aaron@esp32-build:~/lv_micropython$ cd ports/esp32
aaron@esp32-build:~/lv_micropython/ports/esp32$ make
idf.py -D MICROPY_BOARD=GENERIC -B build-GENERIC build
Executing action: all (aliases: build)
Running cmake in directory /home/aaron/lv_micropython/ports/esp32/build-GENERIC
Executing "cmake -G Ninja -DPYTHON_DEPS_CHECKED=1 -DESP_PLATFORM=1 -DMICROPY_BOARD=GENERIC -DCCACHE_ENABLE=0 /home/aaron/lv_micropython/ports/esp32"...
-- Found Git: /usr/bin/git (found version "2.20.1")
-- IDF_TARGET not set, using default target: esp32
-- The C compiler identification is GNU 8.4.0
-- The CXX compiler identification is GNU 8.4.0
-- The ASM compiler identification is GNU
-- Found assembler: /home/aaron/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc
-- Check for working C compiler: /home/aaron/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc
-- Check for working C compiler: /home/aaron/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /home/aaron/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-g++
-- Check for working CXX compiler: /home/aaron/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-g++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Building ESP-IDF components for target esp32
-- Found Python3: /home/aaron/.espressif/python_env/idf4.2_py3.7_env/bin/python3.7 (found version "3.7.3") found components: Interpreter
CMake Error at /home/aaron/esp/esp-idf/tools/cmake/component.cmake:221 (message):
CMake Error at /usr/share/cmake-3.13/Modules/FindPython/Support.cmake:1139
(add_executable):
add_executable command is not scriptable
Call Stack (most recent call first):
/usr/share/cmake-3.13/Modules/FindPython3.cmake:163 (include)
/home/aaron/lv_micropython/lib/lv_bindings/mkrules.cmake:2 (find_package)
/home/aaron/lv_micropython/ports/esp32/main/CMakeLists.txt:78 (include)
/home/aaron/esp/esp-idf/tools/cmake/scripts/component_get_requirements.cmake:60 (include)
/home/aaron/esp/esp-idf/tools/cmake/scripts/component_get_requirements.cmake:76 (__component_get_requirements)
Call Stack (most recent call first):
/home/aaron/esp/esp-idf/tools/cmake/build.cmake:405 (__component_get_requirements)
/home/aaron/esp/esp-idf/tools/cmake/project.cmake:395 (idf_build_process)
CMakeLists.txt:47 (project)
-- Configuring incomplete, errors occurred!
See also "/home/aaron/lv_micropython/ports/esp32/build-GENERIC/CMakeFiles/CMakeOutput.log".
cmake failed with exit code 1
make: *** [Makefile:35: all] Error 2
aaron@esp32-build:~/lv_micropython/ports/esp32$ exit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment