alibaba / AliOS-Things

面向IoT领域的、高可伸缩的物联网操作系统,可去官网了解更多信息https://www.aliyun.com/product/aliosthings
Apache License 2.0
4.58k stars 1.14k forks source link

[compile error] No such file or directory #428

Closed neewbee closed 2 years ago

neewbee commented 6 years ago

Describe the bug

environment

  1. branch(master):
  2. Desktop OS(windows):
  3. example:

Expected behavior

Screenshots

ldapp@developerkit
PS D:\aliIoT\AliOS-Things\framework\GUI> aos make clean
aos-cube version: 0.2.45
Cleaning...
Done
PS D:\aliIoT\AliOS-Things\framework\GUI> aos make ldapp@developerkit
aos-cube version: 0.2.45
Check if required tools for developerkit exist
Making config file for first time
processing components: ldapp developerkit platform/mcu/stm32l4xx_cube vcall init auto_component
app_version:app-1.0.0-20180716.2344
kernel_version:AOS-R-1.3.1
app_version:app-1.0.0-20180716.2344
kernel_version:AOS-R-1.3.1
Build AOS Now
TOOLCHAIN_PATH=
Compiling alicrypto
Compiling atparser
Compiling auto_component
Compiling base64
Compiling cjson
Compiling cli
Compiling mqtt
Compiling MQTTPacket
Compiling developerkit
Compiling digest_algorithm
Compiling fota
Compiling fota_download
Compiling download_http
Compiling socket_stand
Compiling fota_platform
Compiling fota_mqtt_transport
Compiling lv_core
In file included from framework/GUI/littlevGL/lvgl/lv_core/lv_style.h:17:0,
                 from framework/GUI/littlevGL/lvgl/lv_core/lv_obj.h:19,
                 from framework/GUI/littlevGL/lvgl/lv_core/lv_indev.h:16,
                 from framework/GUI/littlevGL/lvgl/lv_core/lv_indev.c:9:
framework/GUI/littlevGL/lvgl/lv_core/../lv_misc/lv_color.h:16:27: fatal error: ../../lv_conf.h: No such file or directory
compilation terminated.
In file included from framework/GUI/littlevGL/lvgl/lv_core/lv_style.h:17:0,
                 from framework/GUI/littlevGL/lvgl/lv_core/lv_obj.h:19,
                 from framework/GUI/littlevGL/lvgl/lv_core/lv_group.h:17,
                 from framework/GUI/littlevGL/lvgl/lv_core/lv_group.c:9:
framework/GUI/littlevGL/lvgl/lv_core/../lv_misc/lv_color.h:16:27: fatal error: ../../lv_conf.h: No such file or directory
compilation terminated.
make.exe[1]: *** [build/aos_target_build.mk:258: out/ldapp@developerkit/Modules/./framework/GUI/littlevGL/lvgl/lv_core/lv_indev.o] Error 1
make.exe[1]: *** Waiting for unfinished jobs....
make.exe[1]: *** [build/aos_target_build.mk:258: out/ldapp@developerkit/Modules/./framework/GUI/littlevGL/lvgl/lv_core/lv_group.o] Error 1
In file included from framework/GUI/littlevGL/lvgl/lv_core/lv_style.h:17:0,
                 from framework/GUI/littlevGL/lvgl/lv_core/lv_obj.h:19,
                 from framework/GUI/littlevGL/lvgl/lv_core/lv_obj.c:9:
framework/GUI/littlevGL/lvgl/lv_core/../lv_misc/lv_color.h:16:27: fatal error: ../../lv_conf.h: No such file or directory
compilation terminated.
make.exe[1]: *** [build/aos_target_build.mk:258: out/ldapp@developerkit/Modules/./framework/GUI/littlevGL/lvgl/lv_core/lv_obj.o] Error 1
make.exe: *** [build/Makefile:267: main_app] Error 2
[AliOS-Things] ERROR: "D" returned error code 2.
[AliOS-Things] ERROR: Command "D : / a l i I o T / A l i O S - T h i n g s / b u i l d \ c m d / w i n 3 2 / m a k e . e x e   H O S T _ O S = W i n 3 2   T
O O L S _ R O O T = D : / a l i I o T / A l i O S - T h i n g s / b u i l d   - e   - f   b u i l d / M a k e f i l e   l d a p p @ d e v e l o p e r k i t"
in "D:\aliIoT\AliOS-Things"
---
PS D:\aliIoT\AliOS-Things\framework\GUI>
GUI@developerkit
PS D:\aliIoT\AliOS-Things\framework\GUI> aos make clean
aos-cube version: 0.2.45
Cleaning...
Done
PS D:\aliIoT\AliOS-Things\framework\GUI> aos make GUI@developerkit
aos-cube version: 0.2.45
Check if required tools for developerkit exist
Making config file for first time
processing components: GUI developerkit platform/mcu/stm32l4xx_cube vcall init auto_component
Unknown component: GUI - directory or makefile for component not found. Ensure the GUI directory contains GUI.mk
Below is a list of valid local components (Some are internal):
lora
bluetooth.nrf51822
bluetooth.mk3239.ble_app_framework_impl
bluetooth.mk3239.bt_smart
bluetooth.mk3239.low_energy
bluetooth.mk3239.firmware
bluetooth.mk3239.dual_mode
bluetooth.mk3239.ble_access
sal
sal.wifi.bk7231
sal.wifi.esp8266
sal.wifi.gt202
sal.wifi.mk3060
sal.gprs.sim800
gps
sensor
mcu.bk7231
mcu.bk7231.hal_init
mcu.bk7231.aos.app_runtime
mcu.bk7231.aos.framework_runtime
mcu.mkl27z644
mcu.rtl8710bn
mcu.rtl8710bn.sdk
mcu.rtl8710bn.peripherals
mcu.lpc54608
mcu.rda8955
mcu.csky
mcu.csky.hal_init
mcu.dahua
mcu.dahua.hal_init
mcu.mx1101
mcu.mx1101.sdk
mcu.stm32f4xx_cube
mcu.cy8c6347
mcu.esp32
mcu.stm32l4xx
mcu.lpc54102
mcu.esp8266
mcu.linux
mcu.stm32l475
mcu.stm32f4xx
mcu.stm32f4xx.spi_flash
mcu.stm32f4xx.peripherals
mcu.nrf52xxx
mcu.nrf52xxx.aos.app_runtime
mcu.stm32l0xx.stm32l071kb
mcu.stm32f7xx.src.STM32F769I-Discovery
mcu.atsamd5x_e5x
mcu.bk7231u
mcu.bk7231u.hal_init
mcu.bk7231u.aos.app_runtime
mcu.bk7231u.aos.framework_runtime
mcu.rda5981x
mcu.stm32l4xx_cube
mcu.moc108
mcu.moc108.aos.app_runtime
mcu.moc108.aos.framework_runtime
mcu.xr871
mcu.xr871.lib.libamr
mcu.xr871.lib.libmp3
mcu.xr871.lib.libamren
mcu.xr871.src.net.wlan
mcu.xr871.src.net.lwip
mcu.xr871.src.net.udhcp
mcu.xr871.src.efpg
mcu.xr871.src.driver.chip
mcu.xr871.src.image
mcu.xr871.src.ota
mcu.xr871.src.sys
mcu.xr871.src.console
mcu.xr871.src.audio.audio_manager
mcu.xr871.src.audio.audio_pcm
mcu.xr871.src.pm
mcu.xr871.src.cedarx
mcu.xr871.src.xz
mcu.xr871.project
mcu.xr871.aos
arch.csky.cskyv2-l
arch.xtensa.lx6
arch.xtensa.lx106
arch.linux
arch.mips.mips-I
arch.mips.mips32
arch.arm.armv7m
arch.arm.armv7a
arch.arm.armv6m
arch.arm.armv5
testcase
testcase.certificate_test
testcase.kernel.modules.fatfs_test
testcase.kernel.modules.kv_test
testcase.kernel.deviceIO_test
testcase.kernel.yloop_test
testcase.kernel.vcall_test
testcase.kernel.rhino_test
testcase.kernel.vfs_test
testcase.aosapi.api_test
testcase.framework.fota_test
testcase.framework.alink_test
testcase.framework.wifi_hal_test
testcase.framework.uData_test
testcase.framework.mqtt_test
testcase.framework.netmgr_test
testcase.framework.coap_test
testcase.security.sst_test
testcase.security.alicrypto_test
testcase.security.tls_test
testcase.security.tfs_test
testcase.3rdparty.experimental.ramfs_test
testcase.3rdparty.experimental.spiffs_test
testcase.basic_test
testcase.utility.hashtable_test
testcase.utility.cjson_test
testcase.utility.digest_algorithm_test
yunit
init
modules.fs.kv
modules.fs.fatfs
vfs
vfs.device
vfs.posix
hal
yloop
vcall
vcall.espos
ksyscall
ksyscall.kmbins
rhino
rhino.test
protocols.net
protocols.mesh
protocols.bluetooth
protocols.bluetooth.host.bt_mesh
protocols.bluetooth.controller
protocols.lorawan
auto_component
salserver
wifihalapp
littlevgl_developerkit
linkcoapclient
gpsapp
acapp
ldapp
uDataapp
emwinapp
netmgrapp
yts
pca_helloworld
littlevgl_starterkit
linkkitapp
starterkitgui
athost
sensorapp
helloworld_nocli
atapp
opusapp
bluetooth.blemesh_srv
bluetooth.blemesh_cli
bluetooth.blemesh
bluetooth.bleperipheral
bluetooth.bleadv
bluetooth.aisilopapp
bluetooth.ble_show_system_time
bluetooth.ble_advertisements
bluetooth.blemesh_tmall
nano
vflashdemo
linkcoapserver
mqttapp
meshapp
developerkitgui
tinyengine_app
coapapp
cameraapp
coapblock
networkapp
tls
hdlcapp.hdlcserver
hdlcapp.hdlcclient
rhinorun
blink
linuxapp
helloworld
linkvoiceapp
littlevgl_simulate
littlevgl_simulate.lv_drivers
littlevgl_simulate.lv_drivers.display
littlevgl_simulate.lv_drivers.indev
littlevgl_simulate.lv_examples
littlevgl_simulate.lv_examples.lv_apps
littlevgl_simulate.lv_examples.lv_apps.tpcal
littlevgl_simulate.lv_examples.lv_apps.sysmon
littlevgl_simulate.lv_examples.lv_apps.terminal
littlevgl_simulate.lv_examples.lv_apps.demo
littlevgl_simulate.lv_examples.lv_apps.benchmark
littlevgl_simulate.lv_examples.lv_tutorial
littlevgl_simulate.lv_examples.lv_tutorial.8_animations
littlevgl_simulate.lv_examples.lv_tutorial.0_porting
littlevgl_simulate.lv_examples.lv_tutorial.4_themes
littlevgl_simulate.lv_examples.lv_tutorial.9_responsive
littlevgl_simulate.lv_examples.lv_tutorial.5_antialiasing
littlevgl_simulate.lv_examples.lv_tutorial.7_fonts
littlevgl_simulate.lv_examples.lv_tutorial.3_styles
littlevgl_simulate.lv_examples.lv_tutorial.6_images
littlevgl_simulate.lv_examples.lv_tutorial.10_keyboard
littlevgl_simulate.lv_examples.lv_tutorial.1_hello_world
littlevgl_simulate.lv_examples.lv_tutorial.2_objects
littlevgl_simulate.lv_examples.lv_tests
littlevgl_simulate.lv_examples.lv_tests.lv_test_group
littlevgl_simulate.lv_examples.lv_tests.lv_test_stress
littlevgl_simulate.lv_examples.lv_tests.lv_test_theme
littlevgl_simulate.lv_examples.lv_tests.lv_test_obj
littlevgl_simulate.lv_examples.lv_tests.lv_test_objx.lv_test_ta
littlevgl_simulate.lv_examples.lv_tests.lv_test_objx.lv_test_cb
littlevgl_simulate.lv_examples.lv_tests.lv_test_objx.lv_test_cont
littlevgl_simulate.lv_examples.lv_tests.lv_test_objx.lv_test_chart
littlevgl_simulate.lv_examples.lv_tests.lv_test_objx.lv_test_img
littlevgl_simulate.lv_examples.lv_tests.lv_test_objx.lv_test_list
littlevgl_simulate.lv_examples.lv_tests.lv_test_objx.lv_test_slider
littlevgl_simulate.lv_examples.lv_tests.lv_test_objx.lv_test_win
littlevgl_simulate.lv_examples.lv_tests.lv_test_objx.lv_test_sw
littlevgl_simulate.lv_examples.lv_tests.lv_test_objx.lv_test_tabview
littlevgl_simulate.lv_examples.lv_tests.lv_test_objx.lv_test_lmeter
littlevgl_simulate.lv_examples.lv_tests.lv_test_objx.lv_test_roller
littlevgl_simulate.lv_examples.lv_tests.lv_test_objx.lv_test_page
littlevgl_simulate.lv_examples.lv_tests.lv_test_objx.lv_test_label
littlevgl_simulate.lv_examples.lv_tests.lv_test_objx.lv_test_btnm
littlevgl_simulate.lv_examples.lv_tests.lv_test_objx.lv_test_btn
littlevgl_simulate.lv_examples.lv_tests.lv_test_objx.lv_test_kb
littlevgl_simulate.lv_examples.lv_tests.lv_test_objx.lv_test_ddlist
littlevgl_simulate.lv_examples.lv_tests.lv_test_objx.lv_test_line
littlevgl_simulate.lv_examples.lv_tests.lv_test_objx.lv_test_mbox
littlevgl_simulate.lv_examples.lv_tests.lv_test_objx.lv_test_gauge
littlevgl_simulate.lv_examples.lv_tests.lv_test_objx.lv_test_led
littlevgl_simulate.lv_examples.lv_tests.lv_test_objx.lv_test_bar
lorawan.linkwan
smpapp
wifimonitor
salapp
ywss4linkkit
opus
opus.celt
opus.silk
cloud
protocol.linkkit.dm
protocol.linkkit.alcs
protocol.linkkit.cm
protocol.linkkit.iotkit
protocol.linkkit.iotkit.layers.config
protocol.linkkit.iotkit.base.utils.LITE-utils
protocol.linkkit.iotkit.iotkit-system
netmgr
fota
fota.platform
fota.platform.mqtt
fota.platform.coap
fota.platform.alink
fota.platform.common
fota.download
fota.download.http
fota.download.http.socket
fota.download.http.socket.stm32wifi
fota.download.http.socket.stand
fota.download.coap
usyscall.umbins
fsyscall
ywss
gateway
gateway.devmgr
gateway.msdp
bluetooth.ble_app_framework
bluetooth.ais_ilop.ali_lib
bluetooth.ais_ilop.ble_app_ali
bluetooth.profile
GUI.littlevGL
GUI.littlevGL.lvgl
GUI.littlevGL.lvgl.lv_themes
GUI.littlevGL.lvgl.lv_objx
GUI.littlevGL.lvgl.lv_hal
GUI.littlevGL.lvgl.lv_misc
GUI.littlevGL.lvgl.lv_misc.lv_fonts
GUI.littlevGL.lvgl.lv_core
GUI.littlevGL.lvgl.lv_draw
linkvoice
tinyengine
tinyengine.bone-framwork.service
tinyengine.bone-framwork.common
atparser
connectivity.link-coap
connectivity.mqtt
connectivity.mqtt.MQTTPacket
connectivity.coap
activation
common
uData
libkm
tfs
plat_gen
alicrypto
mbedtls
prov
libsst
libid2
3rdparty.experimental.ramfs
3rdparty.experimental.spiffs
3rdparty.experimental.uffs
at_adapter
cli
base64
zlib
libc
hashtable
digest_algorithm
iotx-utils.sdk-impl
iotx-utils.mbedtls-hal
iotx-utils.digest
iotx-utils.iotx-system
iotx-utils.misc
iotx-utils.LITE-utils
iotx-utils.guider
iotx-utils.LITE-log
log
cy8ckit-062
rda8955
dh5021a_evb
bk7231udevkitc
pca10040
amebaz_dev
cb2201
rk1108
b_l475e
esp8266
bk7231devkitc
pca10056
lpcxpresso54608
developerkit
developerkit.camera_hal
developerkit.irda_hal
eml3047
mk3165
mk3166
starterkit
starterkit.audio_hal
esp32devkitc
linuxhost
lpcxpresso54102
frdmkl27z
uno-91h
xr871evb
stm32f429zi-nucleo
mk3239
mk3060
mk1101
mk3080
Below is a list of valid components from the internet:

build/aos_target_config.mk:311: *** Unknown component: GUI - directory or makefile for component not found. Ensure the GUI directory contains GUI.mk.  Stop.
make.exe: *** No rule to make target 'out/GUI@developerkit/config.mk', needed by 'main_app'.  Stop.
[AliOS-Things] ERROR: "D" returned error code 2.
[AliOS-Things] ERROR: Command "D : / a l i I o T / A l i O S - T h i n g s / b u i l d \ c m d / w i n 3 2 / m a k e . e x e   H O S T _ O S = W i n 3 2   T
O O L S _ R O O T = D : / a l i I o T / A l i O S - T h i n g s / b u i l d   - e   - f   b u i l d / M a k e f i l e   G U I @ d e v e l o p e r k i t" in "D:\aliIoT\AliOS-Things"
---

Additional context

neewbee commented 6 years ago

可以参考

https://github.com/littlevgl/lvgl/issues/200