This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Part Number: MSP-EXP432P401R
Tool/software: Code Composer Studio
Hi, I want to test out empty_MSP_EXP432P401R_tirtos_ccs project mentioned in http://dev.ti.com/tirex/#/?link=Software%2FSimpleLink%20MSP432P4%20SDK%2FSimpleLink%20Academy%2FTI%20Drivers%2FConfiguring%20TI%20Drivers with newly installed CCS 8.3 version. But after the hammer button was clicked just after the project was imported, the console will output:
Buildfile generation error occurred.. Cannot build project. Referenced RTSC Configuration project 'tirtos_builds_MSP_EXP432P401R_release_ccs' contains build-errors. Build stopped..
And when I do this at second and third time, there will be more output.
**** Clean-only build of configuration Debug for project empty_MSP_EXP432P401R_tirtos_ccs **** "D:\\Program Files\\ti\\ccsv8\\utils\\bin\\gmake" -k -j 8 clean -O DEL /F "empty_MSP_EXP432P401R_tirtos_ccs.hex" "empty_MSP_EXP432P401R_tirtos_ccs.out" DEL /F "MSP_EXP432P401R.obj" "empty.obj" "main_tirtos.obj" DEL /F "MSP_EXP432P401R.d" "empty.d" "main_tirtos.d" Cannot find D:\test\empty_MSP_EXP432P401R_tirtos_ccs\Debug\empty_MSP_EXP432P401R_tirtos_ccs.hex Cannot find D:\test\empty_MSP_EXP432P401R_tirtos_ccs\Debug\MSP_EXP432P401R.obj Cannot find D:\test\empty_MSP_EXP432P401R_tirtos_ccs\Debug\MSP_EXP432P401R.d Finished clean **** Build Finished **** Buildfile generation error occurred.. Cannot build project. Referenced RTSC Configuration project 'tirtos_builds_MSP_EXP432P401R_release_ccs' contains build-errors. Build stopped..
I have tried this process several times and with different workspaces, but things have never worked. Also I noticed IDE seems call DEL command to remove these later not found files. I failed to find similar issues on the web so I am here to ask for suggestion. Thanks.
So here is what I get when build the tirtos_builds_MSP_EXP432P401R_release_ccs project:
**** Build of configuration Debug for project tirtos_builds_MSP_EXP432P401R_release_ccs **** "D:\\Program Files\\ti\\ccsv8\\utils\\bin\\gmake" -k -j 8 all -O making ../src/sysbios/sysbios.aem4f ... gmake[1]: Entering directory 'D:/test/tirtos_builds_MSP_EXP432P401R_release_ccs/src/sysbios' asmem4f D:/PROGRA~1/ti/simplelink_msp432p4_sdk_2_40_00_10/kernel/tirtos/packages/ti/sysbios/family/arm/m3/IntrinsicsSupport_asm.sv7M ... >> Compilation failure makefile:50: recipe for target 'm3_IntrinsicsSupport_asm.obj' failed gmake[1]: *** No rule to make target 'ti/posix/tirtos/clock.c', needed by 'BIOS.obj'. gmake[1]: *** No rule to make target 'ti/posix/tirtos/mqueue.c', needed by 'BIOS.obj'. gmake[1]: *** No rule to make target 'ti/posix/tirtos/pthread.c', needed by 'BIOS.obj'. gmake[1]: *** No rule to make target 'ti/posix/tirtos/pthread_barrier.c', needed by 'BIOS.obj'. gmake[1]: *** No rule to make target 'ti/posix/tirtos/pthread_cond.c', needed by 'BIOS.obj'. gmake[1]: *** No rule to make target 'ti/posix/tirtos/pthread_key.c', needed by 'BIOS.obj'. gmake[1]: *** No rule to make target 'ti/posix/tirtos/pthread_mutex.c', needed by 'BIOS.obj'. gmake[1]: *** No rule to make target 'ti/posix/tirtos/pthread_rwlock.c', needed by 'BIOS.obj'. gmake[1]: *** No rule to make target 'ti/posix/tirtos/pthread_util.c', needed by 'BIOS.obj'. gmake[1]: *** No rule to make target 'ti/posix/tirtos/sched.c', needed by 'BIOS.obj'. gmake[1]: *** No rule to make target 'ti/posix/tirtos/semaphore.c', needed by 'BIOS.obj'. gmake[1]: *** No rule to make target 'ti/posix/tirtos/sleep.c', needed by 'BIOS.obj'. gmake[1]: *** No rule to make target 'ti/posix/tirtos/timer.c', needed by 'BIOS.obj'. Fatal error: cannot open source file "Files/ti/simplelink_msp432p4_sdk_2_40_00_10/source/ti/posix/ccs" 1 catastrophic error detected in the compilation of "Files/ti/simplelink_msp432p4_sdk_2_40_00_10/source/ti/posix/ccs". Compilation terminated. gmake[1]: *** [m3_IntrinsicsSupport_asm.obj] Error 1 Fatal error: cannot open source file "Files/ti/simplelink_msp432p4_sdk_2_40_00_10/source/ti/posix/ccs" 1 catastrophic error detected in the compilation of "Files/ti/simplelink_msp432p4_sdk_2_40_00_10/source/ti/posix/ccs". Compilation terminated. gmake[1]: *** [m3_Hwi_asm.obj] Error 1 gmake[1]: Leaving directory 'D:/test/tirtos_builds_MSP_EXP432P401R_release_ccs/src/sysbios' gmake[1]: Entering directory 'D:/test/tirtos_builds_MSP_EXP432P401R_release_ccs/src/sysbios' asmem4f D:/PROGRA~1/ti/simplelink_msp432p4_sdk_2_40_00_10/kernel/tirtos/packages/ti/sysbios/family/arm/m3/Hwi_asm.sv7M ... >> Compilation failure makefile:42: recipe for target 'm3_Hwi_asm.obj' failed Fatal error: cannot open source file "Files/ti/simplelink_msp432p4_sdk_2_40_00_10/source/ti/posix/ccs" 1 catastrophic error detected in the compilation of "Files/ti/simplelink_msp432p4_sdk_2_40_00_10/source/ti/posix/ccs". Compilation terminated. gmake[1]: *** [m3_Hwi_asm_switch.obj] Error 1 Fatal error: cannot open source file "Files/ti/simplelink_msp432p4_sdk_2_40_00_10/source/ti/posix/ccs" 1 catastrophic error detected in the compilation of "Files/ti/simplelink_msp432p4_sdk_2_40_00_10/source/ti/posix/ccs". Compilation terminated. gmake[1]: *** [m3_TaskSupport_asm.obj] Error 1 gmake[1]: Target 'all' not remade because of errors. gmake[1]: Leaving directory 'D:/test/tirtos_builds_MSP_EXP432P401R_release_ccs/src/sysbios' gmake[1]: Entering directory 'D:/test/tirtos_builds_MSP_EXP432P401R_release_ccs/src/sysbios' asmem4f D:/PROGRA~1/ti/simplelink_msp432p4_sdk_2_40_00_10/kernel/tirtos/packages/ti/sysbios/family/arm/m3/Hwi_asm_switch.sv7M ... >> Compilation failure makefile:46: recipe for target 'm3_Hwi_asm_switch.obj' failed gmake[1]: Leaving directory 'D:/test/tirtos_builds_MSP_EXP432P401R_release_ccs/src/sysbios' gmake[1]: Entering directory 'D:/test/tirtos_builds_MSP_EXP432P401R_release_ccs/src/sysbios' asmem4f D:/PROGRA~1/ti/simplelink_msp432p4_sdk_2_40_00_10/kernel/tirtos/packages/ti/sysbios/family/arm/m3/TaskSupport_asm.sv7M ... >> Compilation failure makefile:54: recipe for target 'm3_TaskSupport_asm.obj' failed gmake: *** [../src/sysbios/sysbios.aem4f] Error 2 gmake[1]: Leaving directory 'D:/test/tirtos_builds_MSP_EXP432P401R_release_ccs/src/sysbios' ../src/makefile.libs:56: recipe for target '../src/sysbios/sysbios.aem4f' failed gmake: Target 'all' not remade because of errors. **** Build Finished ****
Could you please explain what should I do to resolve this?
Thanks.
This is the issue:
user5964221 said:"D:\\Program Files\\ti\\ccsv8\\utils\\bin\\gmake"
You installed CCS (and other software packages like the SDK) inside a folder with spaces.
See the below link:
http://software-dl.ti.com/ccs/esd/documents/sdto_ccs_build-errors.html#general
Specifically this part:
A space/whitespace character, while acceptable in most cases, can cause build issues with SYS/BIOS projects, hence it is recommended to also avoid it.
Your dependent SYS/BIOS project is failing to build.
Thanks
ki