compiling error for PIC32 starter kits
Posted: Sat May 05, 2012 8:58 am
Hi Lubin,
I am receiving compiling error wrt to "GenericTypeDefs.h:60: error: syntax error before '(' token" while am trying to compile a programme with 2 uart for both PIC32 starter kits and cerebot 32mx
here is error message:
### Processing Template Makefile: D:\LUBIN BLOCKSETS\install_dsPIC_R2007b_PhD_Ismaeel_Tijani_Shahril_Pawanchee_Malaysia (1)\dspic\pic32_gcc.tmf
-- Bypassing matlab internal LCC configuration --
### Creating UAV_controllerMCU.mk from D:\LUBIN BLOCKSETS\install_dsPIC_R2007b_PhD_Ismaeel_Tijani_Shahril_Pawanchee_Malaysia (1)\dspic\pic32_gcc.tmf
### Building UAV_controllerMCU: "C:\PROGRA~1\MATLAB\R2007b\bin\win32\gmake" -f UAV_controllerMCU.mk GENERATE_REPORT=0 MULTI_INSTANCE_CODE=0 PORTABLE_WORDSIZES=0 GENERATE_ASAP2=0 TMW_EXTMODE_TESTING=0
''pic32-gcc -c -mprocessor=32MX460F512L -O3 -fschedule-insns -fschedule-insns2 -O -I. -I..\.. -IC:\PROGRA~1\MATLAB\R2007b/simulink/include -IC:\PROGRA~1\MATLAB\R2007b/extern/include -IC:\PROGRA~1\MATLAB\R2007b/rtw/c/src -IC:\PROGRA~1\MATLAB\R2007b/rtw/c/ert -IC:\PROGRA~1\MATLAB\R2007b/rtw/c/src/ext_mode/common -ID:\EMBEDD~1\UAVDAQ~1\UAV_PI~1\UAV_CO~2\sources -ID:\EMBEDD~1\UAVDAQ~1\UAV_PI~1 -IC:\PROGRA~1\MATLAB\R2007b\rtw\c\libsrc -IC:\MICROC~1\PIC32S~1\MPLABC~1\pic32mx\include -IC:\MICROC~1\PIC32S~1\MPLABC~1\pic32mx\include\peripheral UAV_controllerMCU_data.c
UAV_controllerMCU_data.c:1: warning: Compiler option ignored due to an expired standard-evaluation period
UAV_controllerMCU_data.c:1: warning: Disable the option or visit http://www.microchip.com/c32 to purchase a full standard-edition license.
In file included from C:/MICROC~1/PIC32S~1/MPLABC~1/pic32mx/include/peripheral/uart.h:52,
from UAV_controllerMCU_private.h:40,
from UAV_controllerMCU_data.c:28:
C:/MICROC~1/PIC32S~1/MPLABC~1/pic32mx/include/GenericTypeDefs.h:60: error: syntax error before '(' token
gmake: *** [UAV_controllerMCU_data.o] Error 1
### Real-Time Workshop build procedure for model: 'UAV_controllerMCU' aborted due
I already tried to follow one of your response here, I comment out line 60 of the .h file, but error is the same.
what could be the problem pls.
thanks
I am receiving compiling error wrt to "GenericTypeDefs.h:60: error: syntax error before '(' token" while am trying to compile a programme with 2 uart for both PIC32 starter kits and cerebot 32mx
here is error message:
### Processing Template Makefile: D:\LUBIN BLOCKSETS\install_dsPIC_R2007b_PhD_Ismaeel_Tijani_Shahril_Pawanchee_Malaysia (1)\dspic\pic32_gcc.tmf
-- Bypassing matlab internal LCC configuration --
### Creating UAV_controllerMCU.mk from D:\LUBIN BLOCKSETS\install_dsPIC_R2007b_PhD_Ismaeel_Tijani_Shahril_Pawanchee_Malaysia (1)\dspic\pic32_gcc.tmf
### Building UAV_controllerMCU: "C:\PROGRA~1\MATLAB\R2007b\bin\win32\gmake" -f UAV_controllerMCU.mk GENERATE_REPORT=0 MULTI_INSTANCE_CODE=0 PORTABLE_WORDSIZES=0 GENERATE_ASAP2=0 TMW_EXTMODE_TESTING=0
''pic32-gcc -c -mprocessor=32MX460F512L -O3 -fschedule-insns -fschedule-insns2 -O -I. -I..\.. -IC:\PROGRA~1\MATLAB\R2007b/simulink/include -IC:\PROGRA~1\MATLAB\R2007b/extern/include -IC:\PROGRA~1\MATLAB\R2007b/rtw/c/src -IC:\PROGRA~1\MATLAB\R2007b/rtw/c/ert -IC:\PROGRA~1\MATLAB\R2007b/rtw/c/src/ext_mode/common -ID:\EMBEDD~1\UAVDAQ~1\UAV_PI~1\UAV_CO~2\sources -ID:\EMBEDD~1\UAVDAQ~1\UAV_PI~1 -IC:\PROGRA~1\MATLAB\R2007b\rtw\c\libsrc -IC:\MICROC~1\PIC32S~1\MPLABC~1\pic32mx\include -IC:\MICROC~1\PIC32S~1\MPLABC~1\pic32mx\include\peripheral UAV_controllerMCU_data.c
UAV_controllerMCU_data.c:1: warning: Compiler option ignored due to an expired standard-evaluation period
UAV_controllerMCU_data.c:1: warning: Disable the option or visit http://www.microchip.com/c32 to purchase a full standard-edition license.
In file included from C:/MICROC~1/PIC32S~1/MPLABC~1/pic32mx/include/peripheral/uart.h:52,
from UAV_controllerMCU_private.h:40,
from UAV_controllerMCU_data.c:28:
C:/MICROC~1/PIC32S~1/MPLABC~1/pic32mx/include/GenericTypeDefs.h:60: error: syntax error before '(' token
gmake: *** [UAV_controllerMCU_data.o] Error 1
### Real-Time Workshop build procedure for model: 'UAV_controllerMCU' aborted due
I already tried to follow one of your response here, I comment out line 60 of the .h file, but error is the same.
what could be the problem pls.
thanks