AnsweredAssumed Answered

Can't build the 'hello world' application provided with SDK_2.x_RapidIoT_MK64F12, the file GUI.h is missing in the SDK.

Question asked by Luc De pauw on Oct 12, 2018
Latest reply on Oct 17, 2018 by Theophile Leroy

Hello,

 

Using MCUXpresso with the SDK_2.x_RapidIoT_MK64F12 (2.3.0) I'm trying to build the 'hello world' app as instructed here NXP Rapid IoT Prototyping Kit|NXP 

 

The compiler can't find the file GUI.h, it isn't in the SDK  ?

 

Here's an extract from the build log:

 

Invoking: MCU C Compiler
arm-none-eabi-gcc -std=gnu99 -D__REDLIB__ -DCPU_MK64FN1M0VDC12_cm4 -DCPU_MK64FN1M0VDC12 -DENABLE_RAM_VECTOR_TABLE=1 -DCPU_MK64FN1M0VMD12 -DRAPID_IOT -DFRDM_K64F -DNDEBUG -DUSE_RTOS=1 -DFRDM_K64F_KW41Z=1 -DFSL_RTOS_FREE_RTOS -DPRINTF_FLOAT_ENABLE=1 -DSDK_DEBUGCONSOLE=1 -D__MCUXPRESSO -D__USE_CMSIS -DDEBUG -I../board -I../source -I../ -I../drivers -I../CMSIS -I../drivers/freertos -I../freertos/include -I../freertos/portable -I../utilities -I../startup -I../emwin/emWin_Config -I../emwin/emWin_header -I../freertos -I../devices -I../CMSIS_driver -I../systick_utils -I../app_update/smc -I../app_update/crc -I../authentication -I../spi_flash -I../app_update -I../ui_manager -I../ui_manager/pictures -I../lcd -I../bluetooth -I../framework/Flash/Internal -I../framework/FSCI/Interface -I../framework/FSCI/Source -I../framework/FunctionLib -I../framework/GPIO -I../framework/Keyboard/Interface -I../framework/LED/Interface -I../framework/Lists -I../framework/MemManager/Interface -I../framework/Messaging/Interface -I../framework/Messaging/ModuleInfo -I../framework/OSAbstraction/Interface -I../framework/Panic/Interface -I../framework/SerialManager/Interface -I../framework/SerialManager/Source -I../framework/Shell/Interface -I../framework/TimersManager/Interface -I../framework/TimersManager/Source -I../framework -I../nwk_ip/base/interface -I../nwk_ip/core/interface -I../nwk_ip/core/interface/modules -I../nwk_ip/core/interface/thread -I../nwk_ip/border_router -I../nwk_ip/common -I../nwk_ip/kinetis_host/inc -I../sensors -I../sensors/interfaces -I../lwip/port -I../lwip/port/arch -I../lwip/src/include/lwip -I../lwip/src/include/lwip/priv -I../lwip/src/include/lwip/prot -I../lwip/src/include/netif -I../lwip/src/include/netif/ppp -I../lwip/src/include/netif/ppp/polarssl -I../lwip/src/include -O0 -fno-common -g -Wall -c  -ffunction-sections  -fdata-sections  -ffreestanding  -fno-builtin -imacros "./nwk_ip/border_router/config.h" -mcpu=cortex-m4 -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -D__REDLIB__ -specs=redlib.specs -MMD -MP -MF"utilities/fsl_assert.d" -MT"utilities/fsl_assert.o" -MT"utilities/fsl_assert.d" -o "utilities/fsl_assert.o" "../utilities/fsl_assert.c"
../ui_manager/ui_manager.c:52:10: fatal error: GUI.h: No such file or directory
arm-none-eabi-gcc -std=gnu99 -D__REDLIB__ -DCPU_MK64FN1M0VDC12_cm4 -DCPU_MK64FN1M0VDC12 -DENABLE_RAM_VECTOR_TABLE=1 -DCPU_MK64FN1M0VMD12 -DRAPID_IOT -DFRDM_K64F -DNDEBUG -DUSE_RTOS=1 -DFRDM_K64F_KW41Z=1 -DFSL_RTOS_FREE_RTOS -DPRINTF_FLOAT_ENABLE=1 -DSDK_DEBUGCONSOLE=1 -D__MCUXPRESSO -D__USE_CMSIS -DDEBUG -I../board -I../source -I../ -I../drivers -I../CMSIS -I../drivers/freertos -I../freertos/include -I../freertos/portable -I../utilities -I../startup -I../emwin/emWin_Config -I../emwin/emWin_header -I../freertos -I../devices -I../CMSIS_driver -I../systick_utils -I../app_update/smc -I../app_update/crc -I../authentication -I../spi_flash -I../app_update -I../ui_manager -I../ui_manager/pictures -I../lcd -I../bluetooth -I../framework/Flash/Internal -I../framework/FSCI/Interface -I../framework/FSCI/Source -I../framework/FunctionLib -I../framework/GPIO -I../framework/Keyboard/Interface -I../framework/LED/Interface -I../framework/Lists -I../framework/MemManager/Interface -I../framework/Messaging/Interface -I../framework/Messaging/ModuleInfo -I../framework/OSAbstraction/Interface -I../framework/Panic/Interface -I../framework/SerialManager/Interface -I../framework/SerialManager/Source -I../framework/Shell/Interface -I../framework/TimersManager/Interface -I../framework/TimersManager/Source -I../framework -I../nwk_ip/base/interface -I../nwk_ip/core/interface -I../nwk_ip/core/interface/modules -I../nwk_ip/core/interface/thread -I../nwk_ip/border_router -I../nwk_ip/common -I../nwk_ip/kinetis_host/inc -I../sensors -I../sensors/interfaces -I../lwip/port -I../lwip/port/arch -I../lwip/src/include/lwip -I../lwip/src/include/lwip/priv -I../lwip/src/include/lwip/prot -I../lwip/src/include/netif -I../lwip/src/include/netif/ppp -I../lwip/src/include/netif/ppp/polarssl -I../lwip/src/include -O0 -fno-common -g -Wall -c  -ffunction-sections  -fdata-sections  -ffreestanding  -fno-builtin -imacros "./nwk_ip/border_router/config.h" -mcpu=cortex-m4 -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -D__REDLIB__ -specs=redlib.specs -MMD -MP -MF"utilities/fsl_log.d" -MT"utilities/fsl_log.o" -MT"utilities/fsl_log.d" -o "utilities/fsl_log.o" "../utilities/fsl_log.c"
 #include "GUI.h"
arm-none-eabi-gcc -std=gnu99 -D__REDLIB__ -DCPU_MK64FN1M0VDC12_cm4 -DCPU_MK64FN1M0VDC12 -DENABLE_RAM_VECTOR_TABLE=1 -DCPU_MK64FN1M0VMD12 -DRAPID_IOT -DFRDM_K64F -DNDEBUG -DUSE_RTOS=1 -DFRDM_K64F_KW41Z=1 -DFSL_RTOS_FREE_RTOS -DPRINTF_FLOAT_ENABLE=1 -DSDK_DEBUGCONSOLE=1 -D__MCUXPRESSO -D__USE_CMSIS -DDEBUG -I../board -I../source -I../ -I../drivers -I../CMSIS -I../drivers/freertos -I../freertos/include -I../freertos/portable -I../utilities -I../startup -I../emwin/emWin_Config -I../emwin/emWin_header -I../freertos -I../devices -I../CMSIS_driver -I../systick_utils -I../app_update/smc -I../app_update/crc -I../authentication -I../spi_flash -I../app_update -I../ui_manager -I../ui_manager/pictures -I../lcd -I../bluetooth -I../framework/Flash/Internal -I../framework/FSCI/Interface -I../framework/FSCI/Source -I../framework/FunctionLib -I../framework/GPIO -I../framework/Keyboard/Interface -I../framework/LED/Interface -I../framework/Lists -I../framework/MemManager/Interface -I../framework/Messaging/Interface -I../framework/Messaging/ModuleInfo -I../framework/OSAbstraction/Interface -I../framework/Panic/Interface -I../framework/SerialManager/Interface -I../framework/SerialManager/Source -I../framework/Shell/Interface -I../framework/TimersManager/Interface -I../framework/TimersManager/Source -I../framework -I../nwk_ip/base/interface -I../nwk_ip/core/interface -I../nwk_ip/core/interface/modules -I../nwk_ip/core/interface/thread -I../nwk_ip/border_router -I../nwk_ip/common -I../nwk_ip/kinetis_host/inc -I../sensors -I../sensors/interfaces -I../lwip/port -I../lwip/port/arch -I../lwip/src/include/lwip -I../lwip/src/include/lwip/priv -I../lwip/src/include/lwip/prot -I../lwip/src/include/netif -I../lwip/src/include/netif/ppp -I../lwip/src/include/netif/ppp/polarssl -I../lwip/src/include -O0 -fno-common -g -Wall -c  -ffunction-sections  -fdata-sections  -ffreestanding  -fno-builtin -imacros "./nwk_ip/border_router/config.h" -mcpu=cortex-m4 -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -D__REDLIB__ -specs=redlib.specs -MMD -MP -MF"utilities/fsl_str.d" -MT"utilities/fsl_str.o" -MT"utilities/fsl_str.d" -o "utilities/fsl_str.o" "../utilities/fsl_str.c"
          ^~~~~~~
arm-none-eabi-gcc -std=gnu99 -D__REDLIB__ -DCPU_MK64FN1M0VDC12_cm4 -DCPU_MK64FN1M0VDC12 -DENABLE_RAM_VECTOR_TABLE=1 -DCPU_MK64FN1M0VMD12 -DRAPID_IOT -DFRDM_K64F -DNDEBUG -DUSE_RTOS=1 -DFRDM_K64F_KW41Z=1 -DFSL_RTOS_FREE_RTOS -DPRINTF_FLOAT_ENABLE=1 -DSDK_DEBUGCONSOLE=1 -D__MCUXPRESSO -D__USE_CMSIS -DDEBUG -I../board -I../source -I../ -I../drivers -I../CMSIS -I../drivers/freertos -I../freertos/include -I../freertos/portable -I../utilities -I../startup -I../emwin/emWin_Config -I../emwin/emWin_header -I../freertos -I../devices -I../CMSIS_driver -I../systick_utils -I../app_update/smc -I../app_update/crc -I../authentication -I../spi_flash -I../app_update -I../ui_manager -I../ui_manager/pictures -I../lcd -I../bluetooth -I../framework/Flash/Internal -I../framework/FSCI/Interface -I../framework/FSCI/Source -I../framework/FunctionLib -I../framework/GPIO -I../framework/Keyboard/Interface -I../framework/LED/Interface -I../framework/Lists -I../framework/MemManager/Interface -I../framework/Messaging/Interface -I../framework/Messaging/ModuleInfo -I../framework/OSAbstraction/Interface -I../framework/Panic/Interface -I../framework/SerialManager/Interface -I../framework/SerialManager/Source -I../framework/Shell/Interface -I../framework/TimersManager/Interface -I../framework/TimersManager/Source -I../framework -I../nwk_ip/base/interface -I../nwk_ip/core/interface -I../nwk_ip/core/interface/modules -I../nwk_ip/core/interface/thread -I../nwk_ip/border_router -I../nwk_ip/common -I../nwk_ip/kinetis_host/inc -I../sensors -I../sensors/interfaces -I../lwip/port -I../lwip/port/arch -I../lwip/src/include/lwip -I../lwip/src/include/lwip/priv -I../lwip/src/include/lwip/prot -I../lwip/src/include/netif -I../lwip/src/include/netif/ppp -I../lwip/src/include/netif/ppp/polarssl -I../lwip/src/include -O0 -fno-common -g -Wall -c  -ffunction-sections  -fdata-sections  -ffreestanding  -fno-builtin -imacros "./nwk_ip/border_router/config.h" -mcpu=cortex-m4 -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -D__REDLIB__ -specs=redlib.specs -MMD -MP -MF"ui_manager/pictures/img_bmp_callbacks.d" -MT"ui_manager/pictures/img_bmp_callbacks.o" -MT"ui_manager/pictures/img_bmp_callbacks.d" -o "ui_manager/pictures/img_bmp_callbacks.o" "../ui_manager/pictures/img_bmp_callbacks.c"
compilation terminated.
arm-none-eabi-gcc -std=gnu99 -D__REDLIB__ -DCPU_MK64FN1M0VDC12_cm4 -DCPU_MK64FN1M0VDC12 -DENABLE_RAM_VECTOR_TABLE=1 -DCPU_MK64FN1M0VMD12 -DRAPID_IOT -DFRDM_K64F -DNDEBUG -DUSE_RTOS=1 -DFRDM_K64F_KW41Z=1 -DFSL_RTOS_FREE_RTOS -DPRINTF_FLOAT_ENABLE=1 -DSDK_DEBUGCONSOLE=1 -D__MCUXPRESSO -D__USE_CMSIS -DDEBUG -I../board -I../source -I../ -I../drivers -I../CMSIS -I../drivers/freertos -I../freertos/include -I../freertos/portable -I../utilities -I../startup -I../emwin/emWin_Config -I../emwin/emWin_header -I../freertos -I../devices -I../CMSIS_driver -I../systick_utils -I../app_update/smc -I../app_update/crc -I../authentication -I../spi_flash -I../app_update -I../ui_manager -I../ui_manager/pictures -I../lcd -I../bluetooth -I../framework/Flash/Internal -I../framework/FSCI/Interface -I../framework/FSCI/Source -I../framework/FunctionLib -I../framework/GPIO -I../framework/Keyboard/Interface -I../framework/LED/Interface -I../framework/Lists -I../framework/MemManager/Interface -I../framework/Messaging/Interface -I../framework/Messaging/ModuleInfo -I../framework/OSAbstraction/Interface -I../framework/Panic/Interface -I../framework/SerialManager/Interface -I../framework/SerialManager/Source -I../framework/Shell/Interface -I../framework/TimersManager/Interface -I../framework/TimersManager/Source -I../framework -I../nwk_ip/base/interface -I../nwk_ip/core/interface -I../nwk_ip/core/interface/modules -I../nwk_ip/core/interface/thread -I../nwk_ip/border_router -I../nwk_ip/common -I../nwk_ip/kinetis_host/inc -I../sensors -I../sensors/interfaces -I../lwip/port -I../lwip/port/arch -I../lwip/src/include/lwip -I../lwip/src/include/lwip/priv -I../lwip/src/include/lwip/prot -I../lwip/src/include/netif -I../lwip/src/include/netif/ppp -I../lwip/src/include/netif/ppp/polarssl -I../lwip/src/include -O0 -fno-common -g -Wall -c  -ffunction-sections  -fdata-sections  -ffreestanding  -fno-builtin -imacros "./nwk_ip/border_router/config.h" -mcpu=cortex-m4 -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -D__REDLIB__ -specs=redlib.specs -MMD -MP -MF"ui_manager/ui_manager.d" -MT"ui_manager/ui_manager.o" -MT"ui_manager/ui_manager.d" -o "ui_manager/ui_manager.o" "../ui_manager/ui_manager.c"
make: *** [ui_manager/ui_manager.o] Error 1
arm-none-eabi-gcc -std=gnu99 -D__REDLIB__ -DCPU_MK64FN1M0VDC12_cm4 -DCPU_MK64FN1M0VDC12 -DENABLE_RAM_VECTOR_TABLE=1 -DCPU_MK64FN1M0VMD12 -DRAPID_IOT -DFRDM_K64F -DNDEBUG -DUSE_RTOS=1 -DFRDM_K64F_KW41Z=1 -DFSL_RTOS_FREE_RTOS -DPRINTF_FLOAT_ENABLE=1 -DSDK_DEBUGCONSOLE=1 -D__MCUXPRESSO -D__USE_CMSIS -DDEBUG -I../board -I../source -I../ -I../drivers -I../CMSIS -I../drivers/freertos -I../freertos/include -I../freertos/portable -I../utilities -I../startup -I../emwin/emWin_Config -I../emwin/emWin_header -I../freertos -I../devices -I../CMSIS_driver -I../systick_utils -I../app_update/smc -I../app_update/crc -I../authentication -I../spi_flash -I../app_update -I../ui_manager -I../ui_manager/pictures -I../lcd -I../bluetooth -I../framework/Flash/Internal -I../framework/FSCI/Interface -I../framework/FSCI/Source -I../framework/FunctionLib -I../framework/GPIO -I../framework/Keyboard/Interface -I../framework/LED/Interface -I../framework/Lists -I../framework/MemManager/Interface -I../framework/Messaging/Interface -I../framework/Messaging/ModuleInfo -I../framework/OSAbstraction/Interface -I../framework/Panic/Interface -I../framework/SerialManager/Interface -I../framework/SerialManager/Source -I../framework/Shell/Interface -I../framework/TimersManager/Interface -I../framework/TimersManager/Source -I../framework -I../nwk_ip/base/interface -I../nwk_ip/core/interface -I../nwk_ip/core/interface/modules -I../nwk_ip/core/interface/thread -I../nwk_ip/border_router -I../nwk_ip/common -I../nwk_ip/kinetis_host/inc -I../sensors -I../sensors/interfaces -I../lwip/port -I../lwip/port/arch -I../lwip/src/include/lwip -I../lwip/src/include/lwip/priv -I../lwip/src/include/lwip/prot -I../lwip/src/include/netif -I../lwip/src/include/netif/ppp -I../lwip/src/include/netif/ppp/polarssl -I../lwip/src/include -O0 -fno-common -g -Wall -c  -ffunction-sections  -fdata-sections  -ffreestanding  -fno-builtin -imacros "./nwk_ip/border_router/config.h" -mcpu=cortex-m4 -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -D__REDLIB__ -specs=redlib.specs -MMD -MP -MF"systick_utils/systick_utils.d" -MT"systick_utils/systick_utils.o" -MT"systick_utils/systick_utils.d" -o "systick_utils/systick_utils.o" "../systick_utils/systick_utils.c"
make: *** Waiting for unfinished jobs....
ui_manager/subdir.mk:18: recipe for target 'ui_manager/ui_manager.o' failed
Finished building: ../ui_manager/pictures/img_bmp_callbacks.c
Finished building: ../utilities/fsl_assert.c
 
 
Finished building: ../utilities/fsl_log.c
Finished building: ../utilities/fsl_io.c
 
 
Finished building: ../utilities/fsl_debug_console.c
 
Finished building: ../systick_utils/systick_utils.c
 
Finished building: ../utilities/fsl_str.c

Outcomes