The CMakeLists.txt file has the following
Code: Select all
# The following lines of boilerplate have to be in your project's
# CMakeLists in this exact order for cmake to work correctly
cmake_minimum_required(VERSION 3.5)
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
set(EXTRA_COMPONENT_DIRS
../../components (Was this the line that was the issue?)
)
add_compile_options(-fdiagnostics-color=always
-Wno-format
-DLV_LVGL_H_INCLUDE_SIMPLE
-Wno-ignored-qualifiers
-Wno-unused-function
-Wno-unused-variable)
project(smart_panel)
In the end, I just made sure I had the same directory structure as the example and got it to work. What was confusing, was this example had its own folder, but it was drawing from files outside/above the folder apparently files common to all examples. Never found any reference to the path to the files outside the example folder, other than "../../components" above