死活找不到文件
-- App "86box_demo" version: 1
-- Adding linker script D:/esp-bsp/user/app/86box_demo/build/esp-idf/esp_system/ld/memory.ld
-- Adding linker script C:/Espressif/frameworks/esp-idf-v5.0/components/esp_system/ld/esp32s3/sections.ld.in
-- Adding linker script C:/Espressif/frameworks/esp-idf-v5.0/components/esp_rom/esp32s3/ld/esp32s3.rom.ld
-- Adding linker script C:/Espressif/frameworks/esp-idf-v5.0/components/esp_rom/esp32s3/ld/esp32s3.rom.api.ld
-- Adding linker script C:/Espressif/frameworks/esp-idf-v5.0/components/esp_rom/esp32s3/ld/esp32s3.rom.libgcc.ld
-- Adding linker script C:/Espressif/frameworks/esp-idf-v5.0/components/esp_rom/esp32s3/ld/esp32s3.rom.newlib.ld
-- Adding linker script C:/Espressif/frameworks/esp-idf-v5.0/components/esp_rom/esp32s3/ld/esp32s3.rom.version.ld
-- Adding linker script C:/Espressif/frameworks/esp-idf-v5.0/components/soc/esp32s3/ld/esp32s3.peripherals.ld
CMake Error at C:/Espressif/frameworks/esp-idf-v5.0/tools/cmake/component.cmake:280 (message):
SRC_DIRS entry
'D:/esp-bsp/user/app/86box_demo/managed_components/lvgl__lvgl/demos/benchmark/assets/img_benchmark_cogwheel_alpha16.c'
does not exist.
Call Stack (most recent call first):
C:/Espressif/frameworks/esp-idf-v5.0/tools/cmake/component.cmake:442 (__component_add_sources)
main/CMakeLists.txt:6 (idf_component_register)
main/cmakelists.txt 如下
set(LV_DEMO_DIR D:/esp-bsp/user/app/86box_demo/managed_components/lvgl__lvgl/demos)
#file(GLOB_RECURSE LV_DEMOS_SOURCES ${LV_DEMO_DIR}/*.c)
idf_component_register(
SRC_DIRS
"."
"gui"
"gui/font"
"gui/assert"
"gui_music"
"gui_music/assets"
"app"
${LV_DEMOS_SOURCES}
INCLUDE_DIRS
"."
"gui"
"app"
${LV_DEMO_DIR})
set_source_files_properties(
${LV_DEMOS_SOURCES}
PROPERTIES COMPILE_OPTIONS
-DLV_LVGL_H_INCLUDE_SIMPLE)
spiffs_create_partition_image(storage ../spiffs FLASH_IN_PROJECT)
相对路径又无法识别到路径
-- App "86box_demo" version: 1
-- Adding linker script D:/esp-bsp/user/app/86box_demo/build/esp-idf/esp_system/ld/memory.ld
-- Adding linker script C:/Espressif/frameworks/esp-idf-v5.0/components/esp_system/ld/esp32s3/sections.ld.in
-- Adding linker script C:/Espressif/frameworks/esp-idf-v5.0/components/esp_rom/esp32s3/ld/esp32s3.rom.ld
-- Adding linker script C:/Espressif/frameworks/esp-idf-v5.0/components/esp_rom/esp32s3/ld/esp32s3.rom.api.ld
-- Adding linker script C:/Espressif/frameworks/esp-idf-v5.0/components/esp_rom/esp32s3/ld/esp32s3.rom.libgcc.ld
-- Adding linker script C:/Espressif/frameworks/esp-idf-v5.0/components/esp_rom/esp32s3/ld/esp32s3.rom.newlib.ld
-- Adding linker script C:/Espressif/frameworks/esp-idf-v5.0/components/esp_rom/esp32s3/ld/esp32s3.rom.version.ld
-- Adding linker script C:/Espressif/frameworks/esp-idf-v5.0/components/soc/esp32s3/ld/esp32s3.peripherals.ld
CMake Error at C:/Espressif/frameworks/esp-idf-v5.0/tools/cmake/component.cmake:280 (message):
SRC_DIRS entry
'D:/esp-bsp/user/app/86box_demo/main/../managed_components/lvgl__lvgl/demos/benchmark/assets/img_benchmark_cogwheel_alpha16.c'
does not exist.
Call Stack (most recent call first):
C:/Espressif/frameworks/esp-idf-v5.0/tools/cmake/component.cmake:442 (__component_add_sources)
main/CMakeLists.txt:6 (idf_component_register)
main/cmakelists.txt如下
set(LV_DEMO_DIR ../managed_components/lvgl__lvgl/demos)
file(GLOB_RECURSE LV_DEMOS_SOURCES ${LV_DEMO_DIR}/*.c)
idf_component_register(
SRC_DIRS
"."
"gui"
"gui/font"
"gui/assert"
"gui_music"
"gui_music/assets"
"app"
${LV_DEMOS_SOURCES}
INCLUDE_DIRS
"."
"gui"
"app"
${LV_DEMO_DIR})
set_source_files_properties(
${LV_DEMOS_SOURCES}
PROPERTIES COMPILE_OPTIONS
-DLV_LVGL_H_INCLUDE_SIMPLE)
spiffs_create_partition_image(storage ../spiffs FLASH_IN_PROJECT)
86box_demo移植问题
Re: 86box_demo移植问题
这sdk搞得比linux还复杂,搞yacto的时候也没这么费劲
Re: 86box_demo移植问题
都不起作用啥情况
add_definitions(LV_LVGL_H_INCLUDE_SIMPLE)
set_source_files_properties(
# ${LV_DEMOS_SOURCES}
SRC_DIRS
PROPERTIES COMPILE_DEFINITIONS LV_LVGL_H_INCLUDE_SIMPLE)
set_source_files_properties(
# ${LV_DEMOS_SOURCES}
SRC_DIRS
PROPERTIES COMPILE_OPTIONS -DLV_LVGL_H_INCLUDE_SIMPLE=1)
add_definitions(LV_LVGL_H_INCLUDE_SIMPLE)
set_source_files_properties(
# ${LV_DEMOS_SOURCES}
SRC_DIRS
PROPERTIES COMPILE_DEFINITIONS LV_LVGL_H_INCLUDE_SIMPLE)
set_source_files_properties(
# ${LV_DEMOS_SOURCES}
SRC_DIRS
PROPERTIES COMPILE_OPTIONS -DLV_LVGL_H_INCLUDE_SIMPLE=1)
Re: 86box_demo移植问题
SRC_DIRS不起作用...
idf_component_register(
SRCS
"hmi_esp32_blink.c"
# "led_show/led_show.c"
# "audio/audio.c"
# "gui/lv_example_top_menu.c"
${LV_DEMOS_SOURCES}
SRC_DIRS
"."
"led_show/"
"audio/"
${LV_DEMO_DIR}
# "gui"
# "gui/font"
# "gui/assert"
# ${LV_SOURCES}
INCLUDE_DIRS
"."
"led_show"
"audio"
${LV_DEMO_DIR}
# "gui"
# "gui/font"
# "gui/assert"
# ${LV_SRC_DIR}
)
set_source_files_properties(
${LV_DEMOS_SOURCES}
PROPERTIES COMPILE_OPTIONS
-DLV_LVGL_H_INCLUDE_SIMPLE)
set_source_files_properties(
#${LV_DEMOS_SOURCES}
${LV_DEMO_DIR}
PROPERTIES COMPILE_OPTIONS
-DLV_LVGL_H_INCLUDE_SIMPLE)
idf_component_register(
SRCS
"hmi_esp32_blink.c"
# "led_show/led_show.c"
# "audio/audio.c"
# "gui/lv_example_top_menu.c"
${LV_DEMOS_SOURCES}
SRC_DIRS
"."
"led_show/"
"audio/"
${LV_DEMO_DIR}
# "gui"
# "gui/font"
# "gui/assert"
# ${LV_SOURCES}
INCLUDE_DIRS
"."
"led_show"
"audio"
${LV_DEMO_DIR}
# "gui"
# "gui/font"
# "gui/assert"
# ${LV_SRC_DIR}
)
set_source_files_properties(
${LV_DEMOS_SOURCES}
PROPERTIES COMPILE_OPTIONS
-DLV_LVGL_H_INCLUDE_SIMPLE)
set_source_files_properties(
#${LV_DEMOS_SOURCES}
${LV_DEMO_DIR}
PROPERTIES COMPILE_OPTIONS
-DLV_LVGL_H_INCLUDE_SIMPLE)
Who is online
Users browsing this forum: No registered users and 204 guests