AnsweredAssumed Answered

Error while building sample application for MCAL Autosar 4.0

Question asked by Saurabh Muley on Jul 15, 2019
Latest reply on Jul 17, 2019 by Saurabh Muley

Hello,

 

I was trying to run the sample application provided by NXP with the download of the Autosar MCAL 4.0. I have installed the EB Tresos and then the MCAL software from NXP. i tried following the steps in the video here: https://www.nxp.com/video/introduction-to-nxp-autosar-mcal-software:AUTOSAR-OnDemand-Training-Video. But i am getting the error mentioned below:

 

 

15:13:57 **** Build of configuration Default for project MPC574XP_MCAL4_0_RTM_2_0_2_Sample_Application ****
launch.bat TOOLCHAIN=diab
C:/gnuwin32/bin/make.exe -f makefile TOOLCHAIN=diab
Using diab toolchain: TOOLCHAIN_DIR= C:/NXP/AUTOSAR/MPC574XP_MCAL4_0_RTM_2_0_2/MPC574XP_MCAL4_0_RTM_2_0_2_Sample_Application/make/diab
Running for 5744P derivative, on 574xP platform
---------------------------------------------------------------------------------
C:/NXP/AUTOSAR/MPC574XP_MCAL4_0_RTM_2_0_2/MPC574XP_MCAL4_0_RTM_2_0_2_Sample_Application/make/diab/WIN32/bin/dcc.exe -tPPCE200Z4204N3VEN:simple -DMPC5744P -g3 -W:as:,-l -DDERIVATIVE_5744P -DDIAB -DAUTOSAR_OS_NOT_USED -DEU_DISABLE_ANSILIB_CALLS -Xdialect-ansi -XO -Xsize-opt -Xsmall-data=0 -Xno-common -Wa,-Xisa-vle -Xdebug-dwarf2 -Xdebug-local-all -Xdebug-local-cie -Xdebug-struct-all -Xforce-declarations -Xmacro-undefined-warn -ee1481 -Xnested-interrupts -Xaddr-sconst=0x11 -Xaddr-sdata=0x11 -Xlink-time-lint -DMCAL_CER_VALIDATION -DFILE_BASENAME=Startup_vle -c ./toolchains/Startup_vle.c -I./cfg/include -I./include -IC:/EB/tresos/plugins/Mcu_TS_T2D30M20I2R0/include -IC:/EB/tresos/plugins/Adc_TS_T2D30M20I2R0/include -IC:/EB/tresos/plugins/Base_TS_T2D30M20I2R0/include -IC:/EB/tresos/plugins/Can_TS_T2D30M20I2R0/include -IC:/EB/tresos/plugins/CanIf_TS_T2D30M20I2R0/include -IC:/EB/tresos/plugins/Det_TS_T2D30M20I2R0/include -IC:/EB/tresos/plugins/Dem_TS_T2D30M20I2R0/include -IC:/EB/tresos/plugins/Dio_TS_T2D30M20I2R0/include -IC:/EB/tresos/plugins/EcuM_TS_T2D30M20I2R0/include -IC:/EB/tresos/plugins/Fee_TS_T2D30M20I2R0/include -IC:/EB/tresos/plugins/Fls_TS_T2D30M20I2R0/include -IC:/EB/tresos/plugins/Gpt_TS_T2D30M20I2R0/include -IC:/EB/tresos/plugins/Icu_TS_T2D30M20I2R0/include -IC:/EB/tresos/plugins/Lin_TS_T2D30M20I2R0/include -IC:/EB/tresos/plugins/LinIf_TS_T2D30M20I2R0/include -IC:/EB/tresos/plugins/Mcl_TS_T2D30M20I2R0/include -IC:/EB/tresos/plugins/Mcu_TS_T2D30M20I2R0/include -IC:/EB/tresos/plugins/MemIf_TS_T2D30M20I2R0/include -IC:/EB/tresos/plugins/Port_TS_T2D30M20I2R0/include -IC:/EB/tresos/plugins/Pwm_TS_T2D30M20I2R0/include -IC:/EB/tresos/plugins/Rte_TS_T2D30M20I2R0/include -IC:/EB/tresos/plugins/Spi_TS_T2D30M20I2R0/include -IC:/EB/tresos/plugins/Wdg_TS_T2D30M20I2R0/include -IC:/EB/tresos/plugins/WdgIf_TS_T2D30M20I2R0/include -IC:/EB/tresos/plugins/CanIf_TS_T2D30M20I2R0/include -o ./bin/Startup_vle.o
process_begin: CreateProcess(NULL, C:/NXP/AUTOSAR/MPC574XP_MCAL4_0_RTM_2_0_2/MPC574XP_MCAL4_0_RTM_2_0_2_Sample_Application/make/diab/WIN32/bin/dcc.exe -tPPCE200Z4204N3VEN:simple -DMPC5744P -g3 -W:as:,-l -DDERIVATIVE_5744P -DDIAB -DAUTOSAR_OS_NOT_USED -DEU_DISABLE_ANSILIB_CALLS -Xdialect-ansi -XO -Xsize-opt -Xsmall-data=0 -Xno-common -Wa,-Xisa-vle -Xdebug-dwarf2 -Xdebug-local-all -Xdebug-local-cie -Xdebug-struct-all -Xforce-declarations -Xmacro-undefined-warn -ee1481 -Xnested-interrupts -Xaddr-sconst=0x11 -Xaddr-sdata=0x11 -Xlink-time-lint -DMCAL_CER_VALIDATION -DFILE_BASENAME=Startup_vle -c ./toolchains/Startup_vle.c -I./cfg/include -I./include -IC:/EB/tresos/plugins/Mcu_TS_T2D30M20I2R0/include -IC:/EB/tresos/plugins/Adc_TS_T2D30M20I2R0/include -IC:/EB/tresos/plugins/Base_TS_T2D30M20I2R0/include -IC:/EB/tresos/plugins/Can_TS_T2D30M20I2R0/include -IC:/EB/tresos/plugins/CanIf_TS_T2D30M20I2R0/include -IC:/EB/tresos/plugins/Det_TS_T2D30M20I2R0/include -IC:/EB/tresos/plugins/Dem_TS_T2D30M20I2R0/include -IC:/EB/tresos/plugins/Dio_TS_T2D30M20I2R0/include -IC:/EB/tresos/plugins/EcuM_TS_T2D30M20I2R0/include -IC:/EB/tresos/plugins/Fee_TS_T2D30M20I2R0/include -IC:/EB/tresos/plugins/Fls_TS_T2D30M20I2R0/include -IC:/EB/tresos/plugins/Gpt_TS_T2D30M20I2R0/include -IC:/EB/tresos/plugins/Icu_TS_T2D30M20I2R0/include -IC:/EB/tresos/plugins/Lin_TS_T2D30M20I2R0/include -IC:/EB/tresos/plugins/LinIf_TS_T2D30M20I2R0/include -IC:/EB/tresos/plugins/Mcl_TS_T2D30M20I2R0/include -IC:/EB/tresos/plugins/Mcu_TS_T2D30M20I2R0/include -IC:/EB/tresos/plugins/MemIf_TS_T2D30M20I2R0/include -IC:/EB/tresos/plugins/Port_TS_T2D30M20I2R0/include -IC:/EB/tresos/plugins/Pwm_TS_T2D30M20I2R0/include -IC:/EB/tresos/plugins/Rte_TS_T2D30M20I2R0/include -IC:/EB/tresos/plugins/Spi_TS_T2D30M20I2R0/include -IC:/EB/tresos/plugins/Wdg_TS_T2D30M20I2R0/include -IC:/EB/tresos/plugins/WdgIf_TS_T2D30M20I2R0/include -IC:/EB/tresos/plugins/CanIf_TS_T2D30M20I2R0/include -o ./bin/Startup_vle.o, ...) failed.
make (e=2): The system cannot find the file specified.

make.exe: *** [Startup_vle.o] Error 2

15:13:57 Build Finished (took 319ms)

 

 

I followed all the steps exactly as mentioned bu am unable to build the project and dont know if there are additional setting that need to be done.

Can someone help me with this? Any help is appreciated.

 

Thanks.

Outcomes