Error in build step #10 (Make): Make process exited with code 2. How can i solve it?

Error in build step #10 (Make): Make process exited with code 2:

“C:/Users/EnesMUSAPASAOGLU/OneDrive/Belgeler/Plexim/PLECS 4.9 (64 bit)/make/make” -f pl_280039.mk ./output_TI28003x/pl_280039.elf
make[1]: Entering directory ‘C:/Plexim/Coder Targets/tsp_ti_c2000/demos/simple_model/simple_model_codegen’
“C:/Plexim/bin”/cl2000 -D_PLEXIM_ -DCPU1 -DBASE_NAME=pl_280039 -DEXTERNAL_MODE=1 -fr./output_TI28003x -fs./output_TI28003x -v28 -ml -mt --float_support=fpu32 --fp_mode=relaxed --float_operations_allowed=all -O0 --include_path=“C:/Plexim/Coder Targets/tsp_ti_c2000/ccs/28003x/app” --include_path=“C:/Plexim/Coder Targets/tsp_ti_c2000/ccs/28003x/../pil” --include_path=“C:/Plexim/Coder Targets/tsp_ti_c2000/ccs/28003x/../shrd” --include_path=“C:/Plexim/Coder Targets/tsp_ti_c2000/ccs/28003x/../inc” --include_path=“C:/Plexim/Coder Targets/tsp_ti_c2000/ccs/28003x/inc_impl” --include_path=“C:/Plexim/Coder Targets/tsp_ti_c2000/ccs/28003x/tiinc” --include_path=“C:/Plexim/Coder Targets/tsp_ti_c2000/ccs/28003x/tiinc/driverlib” --include_path=“C:/Plexim/Coder Targets/tsp_ti_c2000/ccs/28003x/../dcl/include” --include_path=“C:/Plexim/include” --include_path=“./” -g --symdebug:dwarf_version=3 --abi=eabi --cla_support=cla2 --tmu_support=tmu1 --c11 --printf_support=full --preproc_dependency=output_TI28003x/pl_280039_hal.d “pl_280039_hal.c”
“C:/Plexim/bin”/cl2000 -D_PLEXIM_ -DCPU1 -DBASE_NAME=pl_280039 -DEXTERNAL_MODE=1 -fr./output_TI28003x -fs./output_TI28003x -v28 -ml -mt --float_support=fpu32 --fp_mode=relaxed --float_operations_allowed=all -O0 --include_path=“C:/Plexim/Coder Targets/tsp_ti_c2000/ccs/28003x/app” --include_path=“C:/Plexim/Coder Targets/tsp_ti_c2000/ccs/28003x/../pil” --include_path=“C:/Plexim/Coder Targets/tsp_ti_c2000/ccs/28003x/../shrd” --include_path=“C:/Plexim/Coder Targets/tsp_ti_c2000/ccs/28003x/../inc” --include_path=“C:/Plexim/Coder Targets/tsp_ti_c2000/ccs/28003x/inc_impl” --include_path=“C:/Plexim/Coder Targets/tsp_ti_c2000/ccs/28003x/tiinc” --include_path=“C:/Plexim/Coder Targets/tsp_ti_c2000/ccs/28003x/tiinc/driverlib” --include_path=“C:/Plexim/Coder Targets/tsp_ti_c2000/ccs/28003x/../dcl/include” --include_path=“C:/Plexim/include” --include_path=“./” -g --symdebug:dwarf_version=3 --abi=eabi --cla_support=cla2 --tmu_support=tmu1 --c11 --printf_support=full pl_280039_hal.c

Compilation failure
pl_280039.mk:306: recipe for target ‘output_TI28003x/pl_280039_hal.obj’ failed
make[1]: Leaving directory ‘C:/Plexim/Coder Targets/tsp_ti_c2000/demos/simple_model/simple_model_codegen’
pl_280039.mk:168: recipe for target ‘all’ failed

“C:\Plexim\Coder Targets\tsp_ti_c2000\ccs\28003x\tiinc\driverlib\inc/hw_types.h”, line 80: warning: typedef name has already been declared (with same type)
“C:\Plexim\Coder Targets\tsp_ti_c2000\ccs\28003x\tiinc\driverlib\inc/hw_types.h”, line 81: warning: typedef name has already been declared (with same type)
“C:\Plexim\Coder Targets\tsp_ti_c2000\ccs\28003x\tiinc\driverlib\cpu.h”, line 61: error: declaration is incompatible with “volatile unsigned int IFR” (declared at line 55 of “C:/Plexim/Coder Targets/tsp_ti_c2000/ccs/28003x/tiinc/f28003x_device.h”)
“C:\Plexim\Coder Targets\tsp_ti_c2000\ccs\28003x\tiinc\driverlib\cpu.h”, line 68: error: declaration is incompatible with “volatile unsigned int IER” (declared at line 56 of “C:/Plexim/Coder Targets/tsp_ti_c2000/ccs/28003x/tiinc/f28003x_device.h”)
“C:\Plexim\Coder Targets\tsp_ti_c2000\ccs\28003x\tiinc\driverlib\interrupt.h”, line 532: warning: declaration hides built-in function “__disable_interrupts”
“C:\Plexim\Coder Targets\tsp_ti_c2000\ccs\28003x\tiinc\driverlib\interrupt.h”, line 533: warning: declaration hides built-in function “__enable_interrupts”
2 errors detected in the compilation of “pl_280039_hal.c”.
make[1]: * [output_TI28003x/pl_280039_hal.obj] Error 1
make: * [all] Error 2

Hello,

Can you provide your:

  1. PLECS version
  2. TI C2000 TSP version
  3. TI CGT version

Also information about your machine and setup would help as well! We don’t see this when testing on our end.

Hello,

We strongly suspect it may be the TI CGT version you are using. Are you using version 22.6.0, or 22.6.1, or a newer version? We recommend the first two I listed, as later versions (like 25.X.X) can cause this issue. We hope to have a fix for that soon!

Thanks!