谢谢,这解决了这个问题,但是最终的代码不会编译。有什么暗示吗?
以上来自于百度翻译
以下为原文
Thanks, that took care of that problem.
The resulting code will not compile however. Any hints on this?
................
"/Applications/microchip/xc32/v2.05/bin/xc32-gcc" -g -x c -c -mprocessor=32MX795F512L -ffunction-sections -O1 -I../src -I../src/system_config/default -I../src/default -I../../../../framework -I../src/system_config/default/framework -I../src/system_config/default/bsp -MMD -MF build/default/production/_ext/88308223/gfx_draw_stretchblit.o.d -o build/default/production/_ext/88308223/gfx_draw_stretchblit.o ../../../../framework/gfx/hal/src/gfx_draw_stretchblit.c -DXPRJ_default=default -no-legacy-libc
"/Applications/microchip/xc32/v2.05/bin/xc32-gcc" -g -x c -c -mprocessor=32MX795F512L -ffunction-sections -O1 -I../src -I../src/system_config/default -I../src/default -I../../../../framework -I../src/system_config/default/framework -I../src/system_config/default/bsp -MMD -MF build/default/production/_ext/1988394548/drv_gfx_lcc_generic.o.d -o build/default/production/_ext/1988394548/drv_gfx_lcc_generic.o ../src/system_config/default/framework/gfx/driver/controller/lcc/drv_gfx_lcc_generic.c -DXPRJ_default=default -no-legacy-libc
nbproject/Makefile-default.mk:1749: recipe for target 'build/default/production/_ext/1988394548/drv_gfx_lcc_generic.o' failed
../src/system_config/default/framework/gfx/driver/controller/lcc/drv_gfx_lcc_generic.c: In function 'DRV_GFX_LCC_Start':
../src/system_config/default/framework/gfx/driver/controller/lcc/drv_gfx_lcc_generic.c:316:29: error: 'DRV_GFX_LCC_TMR_INDEX' undeclared (first use in this function)
PLIB_TMR_PrescaleSelect(DRV_GFX_LCC_TMR_INDEX, 0);
^
../src/system_config/default/framework/gfx/driver/controller/lcc/drv_gfx_lcc_generic.c:316:29: note: each undeclared identifier is reported only once for each function it appears in
make[2]: *** [build/default/production/_ext/1988394548/drv_gfx_lcc_generic.o] Error 1
make[2]: *** Waiting for unfinished jobs....
"/Applications/microchip/xc32/v2.05/bin/xc32-gcc" -g -x c -c -mprocessor=32MX795F512L -ffunction-sections -O1 -I../src -I../src/system_config/default -I../src/default -I../../../../framework -I../src/system_config/default/framework -I../src/system_config/default/bsp -MMD -MF build/default/production/_ext/458109090/libaria_harmony.o.d -o build/default/production/_ext/458109090/libaria_harmony.o ../src/system_config/default/framework/gfx/libaria/libaria_harmony.c -DXPRJ_default=default -no-legacy-libc
../src/system_config/default/framework/gfx/libaria/libaria_harmony.c:48:1: error: unknown type name 'SYS_INP_InputListener'
nbproject/Makefile-default.mk:1755: recipe for target 'build/default/production/_ext/458109090/libaria_harmony.o' failed
SYS_INP_InputListener inputListener;
^
../src/system_config/default/framework/gfx/libaria/libaria_harmony.c:50:1: error: unknown type name 'SYS_INP_TouchStateEvent'
static void touchDownHandler(const SYS_INP_TouchStateEvent* const evt);
^
../src/system_config/default/framework/gfx/libaria/libaria_harmony.c:51:1: error: unknown type name 'SYS_INP_TouchStateEvent'
static void touchUpHandler(const SYS_INP_TouchStateEvent* const evt);
^
../src/system_config/default/framework/gfx/libaria/libaria_harmony.c:52:1: error: unknown type name 'SYS_INP_TouchMoveEvent'
static void touchMoveHandler(const SYS_INP_TouchMoveEvent* const evt);
^
../src/system_config/default/framework/gfx/libaria/libaria_harmony.c: In function 'LibAria_Initialize':
../src/system_config/default/framework/gfx/libaria/libaria_harmony.c:73:18: error: request for member 'handleTouchDown' in something not a structure or union
inputListener.handleTouchDown = &touchDownHandler;
^
../src/system_config/default/framework/gfx/libaria/libaria_harmony.c:74:18: error: request for member 'handleTouchUp' in something not a structure or union
inputListener.handleTouchUp = &touchUpHandler;
^
../src/system_config/default/framework/gfx/libaria/libaria_harmony.c:75:18: error: request for member 'handleTouchMove' in something not a structure or union
inputListener.handleTouchMove = &touchMoveHandler;
^
../src/system_config/default/framework/gfx/libaria/libaria_harmony.c: At top level:
../src/system_config/default/framework/gfx/libaria/libaria_harmony.c:113:1: error: unknown type name 'SYS_INP_TouchStateEvent'
void touchDownHandler(const SYS_INP_TouchStateEvent* const evt)
^
../src/system_config/default/framework/gfx/libaria/libaria_harmony.c: In function 'touchDownHandler':
../src/system_config/default/framework/gfx/libaria/libaria_harmony.c:115:32: error: request for member 'index' in something not a structure or union
laInput_InjectTouchDown(evt->index, evt->x, evt->y);
^
../src/system_config/default/framework/gfx/libaria/libaria_harmony.c:115:44: error: request for member 'x' in something not a structure or union
laInput_InjectTouchDown(evt->index, evt->x, evt->y);
^
../src/system_config/default/framework/gfx/libaria/libaria_harmony.c:115:52: error: request for member 'y' in something not a structure or union
laInput_InjectTouchDown(evt->index, evt->x, evt->y);
^
../src/system_config/default/framework/gfx/libaria/libaria_harmony.c: At top level:
../src/system_config/default/framework/gfx/libaria/libaria_harmony.c:118:1: error: unknown type name 'SYS_INP_TouchStateEvent'
void touchUpHandler(const SYS_INP_TouchStateEvent* const evt)
^
../src/system_config/default/framework/gfx/libaria/libaria_harmony.c: In function 'touchUpHandler':
../src/system_config/default/framework/gfx/libaria/libaria_harmony.c:120:30: error: request for member 'index' in something not a structure or union
laInput_InjectTouchUp(evt->index, evt->x, evt->y);
^
../src/system_config/default/framework/gfx/libaria/libaria_harmony.c:120:42: error: request for member 'x' in something not a structure or union
laInput_InjectTouchUp(evt->index, evt->x, evt->y);
^
../src/system_config/default/framework/gfx/libaria/libaria_harmony.c:120:50: error: request for member 'y' in something not a structure or union
laInput_InjectTouchUp(evt->index, evt->x, evt->y);
^
../src/system_config/default/framework/gfx/libaria/libaria_harmony.c: At top level:
../src/system_config/default/framework/gfx/libaria/libaria_harmony.c:123:1: error: unknown type name 'SYS_INP_TouchMoveEvent'
void touchMoveHandler(const SYS_INP_TouchMoveEvent* const evt)
^
../src/system_config/default/framework/gfx/libaria/libaria_harmony.c: In function 'touchMoveHandler':
../src/system_config/default/framework/gfx/libaria/libaria_harmony.c:125:33: error: request for member 'index' in something not a structure or union
laInput_InjectTouchMoved(evt->index, evt->x, evt->y);
^
../src/system_config/default/framework/gfx/libaria/libaria_harmony.c:125:45: error: request for member 'x' in something not a structure or union
laInput_InjectTouchMoved(evt->index, evt->x, evt->y);
^
../src/system_config/default/framework/gfx/libaria/libaria_harmony.c:125:53: error: request for member 'y' in something not a structure or union
laInput_InjectTouchMoved(evt->index, evt->x, evt->y);
^
make[2]: *** [build/default/production/_ext/458109090/libaria_harmony.o] Error 1
"/Applications/microchip/xc32/v2.05/bin/xc32-gcc" -g -x c -c -mprocessor=32MX795F512L -ffunction-sections -O1 -I../src -I../src/system_config/default -I../src/default -I../../../../framework -I../src/system_config/default/framework -I../src/system_config/default/bsp -MMD -MF build/default/production/_ext/458109090/libaria_init.o.d -o build/default/production/_ext/458109090/libaria_init.o ../src/system_config/default/framework/gfx/libaria/libaria_init.c -DXPRJ_default=default -no-legacy-libc
"/Applications/microchip/xc32/v2.05/bin/xc32-gcc" -g -x c -c -mprocessor=32MX795F512L -ffunction-sections -O1 -I../src -I../src/system_config/default -I../src/default -I../../../../framework -I../src/system_config/default/framework -I../src/system_config/default/bsp -MMD -MF build/default/production/_ext/2065038297/gfx_display_def.o.d -o build/default/production/_ext/2065038297/gfx_display_def.o ../src/system_config/default/framework/gfx/hal/gfx_display_def.c -DXPRJ_default=default -no-legacy-libc
"/Applications/microchip/xc32/v2.05/bin/xc32-gcc" -g -x c -c -mprocessor=32MX795F512L -ffunction-sections -O1 -I../src -I../src/system_config/default -I../src/default -I../../../../framework -I../src/system_config/default/framework -I../src/system_config/default/bsp -MMD -MF build/default/production/_ext/65930274/sys_dma.o.d -o build/default/production/_ext/65930274/sys_dma.o ../../../../framework/system/dma/src/sys_dma.c -DXPRJ_default=default -no-legacy-libc
"/Applications/microchip/xc32/v2.05/bin/xc32-gcc" -g -x c -c -mprocessor=32MX795F512L -ffunction-sections -O1 -I../src -I../src/system_config/default -I../src/default -I../../../../framework -I../src/system_config/default/framework -I../src/system_config/default/bsp -MMD -MF build/default/production/_ext/2065038297/gfx_driver_def.o.d -o build/default/production/_ext/2065038297/gfx_driver_def.o ../src/system_config/default/framework/gfx/hal/gfx_driver_def.c -DXPRJ_default=default -no-legacy-libc
"/Applications/microchip/xc32/v2.05/bin/xc32-gcc" -g -x c -c -mprocessor=32MX795F512L -ffunction-sections -O1 -I../src -I../src/system_config/default -I../src/default -I../../../../framework -I../src/system_config/default/framework -I../src/system_config/default/bsp -MMD -MF build/default/production/_ext/458109090/libaria_events.o.d -o build/default/production/_ext/458109090/libaria_events.o ../src/system_config/default/framework/gfx/libaria/libaria_events.c -DXPRJ_default=default -no-legacy-libc
"/Applications/microchip/xc32/v2.05/bin/xc32-gcc" -g -x c -c -mprocessor=32MX795F512L -ffunction-sections -O1 -I../src -I../src/system_config/default -I../src/default -I../../../../framework -I../src/system_config/default/framework -I../src/system_config/default/bsp -MMD -MF build/default/production/_ext/2065038297/gfx_processor_def.o.d -o build/default/production/_ext/2065038297/gfx_processor_def.o ../src/system_config/default/framework/gfx/hal/gfx_processor_def.c -DXPRJ_default=default -no-legacy-libc
"/Applications/microchip/xc32/v2.05/bin/xc32-gcc" -g -x c -c -mprocessor=32MX795F512L -ffunction-sections -O1 -I../src -I../src/system_config/default -I../src/default -I../../../../framework -I../src/system_config/default/framework -I../src/system_config/default/bsp -MMD -MF build/default/production/_ext/458109090/libaria_macros.o.d -o build/default/production/_ext/458109090/libaria_macros.o ../src/system_config/default/framework/gfx/libaria/libaria_macros.c -DXPRJ_default=default -no-legacy-libc
"/Applications/microchip/xc32/v2.05/bin/xc32-gcc" -g -x c -c -mprocessor=32MX795F512L -ffunction-sections -O1 -I../src -I../src/system_config/default -I../src/default -I../../../../framework -I../src/system_config/default/framework -I../src/system_config/default/bsp -MMD -MF build/default/production/_ext/639803181/sys_clk_pic32mx.o.d -o build/default/production/_ext/639803181/sys_clk_pic32mx.o ../src/system_config/default/framework/system/clk/src/sys_clk_pic32mx.c -DXPRJ_default=default -no-legacy-libc
"/Applications/microchip/xc32/v2.05/bin/xc32-gcc" -g -x c -c -mprocessor=32MX795F512L -ffunction-sections -O1 -I../src -I../src/system_config/default -I../src/default -I../../../../framework -I../src/system_config/default/framework -I../src/system_config/default/bsp -MMD -MF build/default/production/_ext/340578644/sys_devcon.o.d -o build/default/production/_ext/340578644/sys_devcon.o ../src/system_config/default/framework/system/devcon/src/sys_devcon.c -DXPRJ_default=default -no-legacy-libc
"/Applications/microchip/xc32/v2.05/bin/xc32-gcc" -g -x c -c -mprocessor=32MX795F512L -ffunction-sections -O1 -I../src -I../src/system_config/default -I../src/default -I../../../../framework -I../src/system_config/default/framework -I../src/system_config/default/bsp -MMD -MF build/default/production/_ext/340578644/sys_devcon_pic32mx.o.d -o build/default/production/_ext/340578644/sys_devcon_pic32mx.o ../src/system_config/default/framework/system/devcon/src/sys_devcon_pic32mx.c -DXPRJ_default=default -no-legacy-libc
"/Applications/microchip/xc32/v2.05/bin/xc32-gcc" -g -x c -c -mprocessor=32MX795F512L -ffunction-sections -O1 -I../src -I../src/system_config/default -I../src/default -I../../../../framework -I../src/system_config/default/framework -I../src/system_config/default/bsp -MMD -MF build/default/production/_ext/74298950/bsp.o.d -o build/default/production/_ext/74298950/bsp.o ../src/system_config/default/bsp/bsp.c -DXPRJ_default=default -no-legacy-libc
make[1]: *** [.build-conf] Error 2
make: *** [.build-impl] Error 2
"/Applications/microchip/xc32/v2.05/bin/xc32-gcc" -g -x c -c -mprocessor=32MX795F512L -ffunction-sections -O1 -I../src -I../src/system_config/default -I../src/default -I../../../../framework -I../src/system_config/default/framework -I../src/system_config/default/bsp -MMD -MF build/default/production/_ext/1688732426/system_init.o.d -o build/default/production/_ext/1688732426/system_init.o ../src/system_config/default/system_init.c -DXPRJ_default=default -no-legacy-libc
"/Applications/microchip/xc32/v2.05/bin/xc32-gcc" -g -x c -c -mprocessor=32MX795F512L -ffunction-sections -O1 -I../src -I../src/system_config/default -I../src/default -I../../../../framework -I../src/system_config/default/framework -I../src/system_config/default/bsp -MMD -MF build/default/production/_ext/822048611/sys_ports_static.o.d -o build/default/production/_ext/822048611/sys_ports_static.o ../src/system_config/default/framework/system/ports/src/sys_ports_static.c -DXPRJ_default=default -no-legacy-libc
"/Applications/microchip/xc32/v2.05/bin/xc32-gcc" -g -x c -c -mprocessor=32MX795F512L -ffunction-sections -O1 -I../src -I../src/system_config/default -I../src/default -I../../../../framework -I../src/system_config/default/framework -I../src/system_config/default/bsp -MMD -MF build/default/production/_ext/1688732426/system_interrupt.o.d -o build/default/production/_ext/1688732426/system_interrupt.o ../src/system_config/default/system_interrupt.c -DXPRJ_default=default -no-legacy-libc
make[2]: Leaving directory '/Users/Bill/microchip/harmony/v2_06/apps/temp/firmware/temp.X'
nbproject/Makefile-default.mk:90: recipe for target '.build-conf' failed
make[1]: Leaving directory '/Users/Bill/microchip/harmony/v2_06/apps/temp/firmware/temp.X'
nbproject/Makefile-impl.mk:39: recipe for target '.build-impl' failed
BUILD FAILED (exit value 2, total time: 19s)