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.

Compiler/CCSTUDIO: Compilation fatal error "file not found" caused by project name

Part Number: CCSTUDIO

Tool/software: TI C/C++ Compiler

Hello,i noticed a bug that i thought i should let everyone know.

I have many user projects named as "USR (project name...)" . Now ,with this project i was working some days now, it sometimes threw me an error during build:

'USR' is not recognized as an internal or external command,
operable program or batch file.
fatal error: cannot open input file

I found out it was ok if i changed the project name to "USR_(project name..)".

Why are spaces in project name causing errors...

  • Alex,

    Looks like maybe the space in the project name is causing some sort of issue and the USR and the rest of the project name are getting split up.  That should not be an issue but maybe one of the build tools is getting tripped up.  The project name gets used in some options, typically it gets quotes put around it but maybe that is missing here.

    Would you be able to post the full contents of the console?  We should be able to see where that is happening and then go in and fix the project options.

    Regards,

    John

  • Yes here is the console output

    **** Clean-only build of configuration Release for project USR mqtt_client_tirtosTEST3 ****
    
    "C:\\ti\\ccs930\\ccs\\utils\\bin\\gmake" -k -j 4 clean -O 
     
    DEL /F  "USR mqtt_client_tirtosTEST3.bin"  "USR mqtt_client_tirtosTEST3.out" 
    DEL /F "adc_if.obj" "button_if.obj" "gpio_if.obj" "main.obj" "network_common.obj" "network_if.obj" "pinmux.obj" "timer_if.obj" "uart_if.obj" 
    DEL /F "adc_if.d" "button_if.d" "gpio_if.d" "main.d" "network_common.d" "network_if.d" "pinmux.d" "timer_if.d" "uart_if.d" 
    Could Not Find C:\Users\kinezos\workspace_v9\USR mqtt_client_tirtosTEST3\Release\USR mqtt_client_tirtosTEST3.bin
    Finished clean
     
    
    **** Build Finished ****
    
    **** Build of configuration Release for project USR mqtt_client_tirtosTEST3 ****
    
    "C:\\ti\\ccs930\\ccs\\utils\\bin\\gmake" -k -j 4 all -O 
     
    Building file: "C:/ti/CC3200SDK_1.5.0/cc3200-sdk/example/common/button_if.c"
    Invoking: ARM Compiler
    "C:/ti/ccs930/ccs/tools/compiler/ti-cgt-arm_18.12.4.LTS/bin/armcl" -mv7M4 --code_state=16 --float_support=none -me -Ooff --include_path="C:/Users/kinezos/workspace_v9/USR mqtt_client_tirtosTEST3" --include_path="C:/ti/CC3200SDK_1.5.0/cc3200-sdk/simplelink" --include_path="C:/ti/CC3200SDK_1.5.0/cc3200-sdk/simplelink/include" --include_path="C:/ti/CC3200SDK_1.5.0/cc3200-sdk/simplelink/source" --include_path="C:/ti/CC3200SDK_1.5.0/cc3200-sdk/driverlib" --include_path="C:/ti/CC3200SDK_1.5.0/cc3200-sdk/inc" --include_path="C:/ti/CC3200SDK_1.5.0/cc3200-sdk/example/common" --include_path="C:/ti/CC3200SDK_1.5.0/cc3200-sdk/netapps" --include_path="C:/ti/CC3200SDK_1.5.0/cc3200-sdk/simplelink_extlib/provisioninglib" --include_path="C:/ti/CC3200SDK_1.5.0/cc3200-sdk/oslib" --include_path="C:/ti/CC3200SDK_1.5.0/cc3200-sdk/netapps/mqtt/client" --include_path="C:/ti/CC3200SDK_1.5.0/cc3200-sdk/netapps/mqtt/common" --include_path="C:/ti/CC3200SDK_1.5.0/cc3200-sdk/netapps/mqtt/platform" --include_path="C:/ti/CC3200SDK_1.5.0/cc3200-sdk/netapps/mqtt/include" --include_path="C:/ti/ccs930/ccs/tools/compiler/ti-cgt-arm_18.12.4.LTS/include" --define=ccs --define=cc3200 --define=USE_TIRTOS --define=SL_PLATFORM_MULTI_THREADED -g --diag_warning=225 --diag_wrap=off --display_error_number --abi=eabi --preproc_with_compile --preproc_dependency="button_if.d_raw" --cmd_file="C:/ti/CC3200SDK_1.5.0/cc3200-sdk/ti_rtos/ti_rtos_config/ccs/Default/configPkg/compiler.opt" "C:/ti/CC3200SDK_1.5.0/cc3200-sdk/example/common/button_if.c"
    Finished building: "C:/ti/CC3200SDK_1.5.0/cc3200-sdk/example/common/button_if.c"
     
    Building file: "C:/ti/CC3200SDK_1.5.0/cc3200-sdk/example/common/gpio_if.c"
    Invoking: ARM Compiler
    "C:/ti/ccs930/ccs/tools/compiler/ti-cgt-arm_18.12.4.LTS/bin/armcl" -mv7M4 --code_state=16 --float_support=none -me -Ooff --include_path="C:/Users/kinezos/workspace_v9/USR mqtt_client_tirtosTEST3" --include_path="C:/ti/CC3200SDK_1.5.0/cc3200-sdk/simplelink" --include_path="C:/ti/CC3200SDK_1.5.0/cc3200-sdk/simplelink/include" --include_path="C:/ti/CC3200SDK_1.5.0/cc3200-sdk/simplelink/source" --include_path="C:/ti/CC3200SDK_1.5.0/cc3200-sdk/driverlib" --include_path="C:/ti/CC3200SDK_1.5.0/cc3200-sdk/inc" --include_path="C:/ti/CC3200SDK_1.5.0/cc3200-sdk/example/common" --include_path="C:/ti/CC3200SDK_1.5.0/cc3200-sdk/netapps" --include_path="C:/ti/CC3200SDK_1.5.0/cc3200-sdk/simplelink_extlib/provisioninglib" --include_path="C:/ti/CC3200SDK_1.5.0/cc3200-sdk/oslib" --include_path="C:/ti/CC3200SDK_1.5.0/cc3200-sdk/netapps/mqtt/client" --include_path="C:/ti/CC3200SDK_1.5.0/cc3200-sdk/netapps/mqtt/common" --include_path="C:/ti/CC3200SDK_1.5.0/cc3200-sdk/netapps/mqtt/platform" --include_path="C:/ti/CC3200SDK_1.5.0/cc3200-sdk/netapps/mqtt/include" --include_path="C:/ti/ccs930/ccs/tools/compiler/ti-cgt-arm_18.12.4.LTS/include" --define=ccs --define=cc3200 --define=USE_TIRTOS --define=SL_PLATFORM_MULTI_THREADED -g --diag_warning=225 --diag_wrap=off --display_error_number --abi=eabi --preproc_with_compile --preproc_dependency="gpio_if.d_raw" --cmd_file="C:/ti/CC3200SDK_1.5.0/cc3200-sdk/ti_rtos/ti_rtos_config/ccs/Default/configPkg/compiler.opt" "C:/ti/CC3200SDK_1.5.0/cc3200-sdk/example/common/gpio_if.c"
    Finished building: "C:/ti/CC3200SDK_1.5.0/cc3200-sdk/example/common/gpio_if.c"
     
    Building file: "../adc_if.c"
    Invoking: ARM Compiler
    "C:/ti/ccs930/ccs/tools/compiler/ti-cgt-arm_18.12.4.LTS/bin/armcl" -mv7M4 --code_state=16 --float_support=none -me -Ooff --include_path="C:/Users/kinezos/workspace_v9/USR mqtt_client_tirtosTEST3" --include_path="C:/ti/CC3200SDK_1.5.0/cc3200-sdk/simplelink" --include_path="C:/ti/CC3200SDK_1.5.0/cc3200-sdk/simplelink/include" --include_path="C:/ti/CC3200SDK_1.5.0/cc3200-sdk/simplelink/source" --include_path="C:/ti/CC3200SDK_1.5.0/cc3200-sdk/driverlib" --include_path="C:/ti/CC3200SDK_1.5.0/cc3200-sdk/inc" --include_path="C:/ti/CC3200SDK_1.5.0/cc3200-sdk/example/common" --include_path="C:/ti/CC3200SDK_1.5.0/cc3200-sdk/netapps" --include_path="C:/ti/CC3200SDK_1.5.0/cc3200-sdk/simplelink_extlib/provisioninglib" --include_path="C:/ti/CC3200SDK_1.5.0/cc3200-sdk/oslib" --include_path="C:/ti/CC3200SDK_1.5.0/cc3200-sdk/netapps/mqtt/client" --include_path="C:/ti/CC3200SDK_1.5.0/cc3200-sdk/netapps/mqtt/common" --include_path="C:/ti/CC3200SDK_1.5.0/cc3200-sdk/netapps/mqtt/platform" --include_path="C:/ti/CC3200SDK_1.5.0/cc3200-sdk/netapps/mqtt/include" --include_path="C:/ti/ccs930/ccs/tools/compiler/ti-cgt-arm_18.12.4.LTS/include" --define=ccs --define=cc3200 --define=USE_TIRTOS --define=SL_PLATFORM_MULTI_THREADED -g --diag_warning=225 --diag_wrap=off --display_error_number --abi=eabi --preproc_with_compile --preproc_dependency="adc_if.d_raw" --cmd_file="C:/ti/CC3200SDK_1.5.0/cc3200-sdk/ti_rtos/ti_rtos_config/ccs/Default/configPkg/compiler.opt" "../adc_if.c"
    Finished building: "../adc_if.c"
     
    Building file: "../main.c"
    Invoking: ARM Compiler
    "C:/ti/ccs930/ccs/tools/compiler/ti-cgt-arm_18.12.4.LTS/bin/armcl" -mv7M4 --code_state=16 --float_support=none -me -Ooff --include_path="C:/Users/kinezos/workspace_v9/USR mqtt_client_tirtosTEST3" --include_path="C:/ti/CC3200SDK_1.5.0/cc3200-sdk/simplelink" --include_path="C:/ti/CC3200SDK_1.5.0/cc3200-sdk/simplelink/include" --include_path="C:/ti/CC3200SDK_1.5.0/cc3200-sdk/simplelink/source" --include_path="C:/ti/CC3200SDK_1.5.0/cc3200-sdk/driverlib" --include_path="C:/ti/CC3200SDK_1.5.0/cc3200-sdk/inc" --include_path="C:/ti/CC3200SDK_1.5.0/cc3200-sdk/example/common" --include_path="C:/ti/CC3200SDK_1.5.0/cc3200-sdk/netapps" --include_path="C:/ti/CC3200SDK_1.5.0/cc3200-sdk/simplelink_extlib/provisioninglib" --include_path="C:/ti/CC3200SDK_1.5.0/cc3200-sdk/oslib" --include_path="C:/ti/CC3200SDK_1.5.0/cc3200-sdk/netapps/mqtt/client" --include_path="C:/ti/CC3200SDK_1.5.0/cc3200-sdk/netapps/mqtt/common" --include_path="C:/ti/CC3200SDK_1.5.0/cc3200-sdk/netapps/mqtt/platform" --include_path="C:/ti/CC3200SDK_1.5.0/cc3200-sdk/netapps/mqtt/include" --include_path="C:/ti/ccs930/ccs/tools/compiler/ti-cgt-arm_18.12.4.LTS/include" --define=ccs --define=cc3200 --define=USE_TIRTOS --define=SL_PLATFORM_MULTI_THREADED -g --diag_warning=225 --diag_wrap=off --display_error_number --abi=eabi --preproc_with_compile --preproc_dependency="main.d_raw" --cmd_file="C:/ti/CC3200SDK_1.5.0/cc3200-sdk/ti_rtos/ti_rtos_config/ccs/Default/configPkg/compiler.opt" "../main.c"
    "..\adc_if.h", line 22: warning #303-D: typedef name has already been declared (with same type)
    "../main.c", line 850: warning #169-D: argument of type "char *" is incompatible with parameter of type "const signed char *"
    "../main.c", line 1143: warning #169-D: argument of type "unsigned char *" is incompatible with parameter of type "char *__restrict__"
    Finished building: "../main.c"
     
    Building file: "../pinmux.c"
    Invoking: ARM Compiler
    "C:/ti/ccs930/ccs/tools/compiler/ti-cgt-arm_18.12.4.LTS/bin/armcl" -mv7M4 --code_state=16 --float_support=none -me -Ooff --include_path="C:/Users/kinezos/workspace_v9/USR mqtt_client_tirtosTEST3" --include_path="C:/ti/CC3200SDK_1.5.0/cc3200-sdk/simplelink" --include_path="C:/ti/CC3200SDK_1.5.0/cc3200-sdk/simplelink/include" --include_path="C:/ti/CC3200SDK_1.5.0/cc3200-sdk/simplelink/source" --include_path="C:/ti/CC3200SDK_1.5.0/cc3200-sdk/driverlib" --include_path="C:/ti/CC3200SDK_1.5.0/cc3200-sdk/inc" --include_path="C:/ti/CC3200SDK_1.5.0/cc3200-sdk/example/common" --include_path="C:/ti/CC3200SDK_1.5.0/cc3200-sdk/netapps" --include_path="C:/ti/CC3200SDK_1.5.0/cc3200-sdk/simplelink_extlib/provisioninglib" --include_path="C:/ti/CC3200SDK_1.5.0/cc3200-sdk/oslib" --include_path="C:/ti/CC3200SDK_1.5.0/cc3200-sdk/netapps/mqtt/client" --include_path="C:/ti/CC3200SDK_1.5.0/cc3200-sdk/netapps/mqtt/common" --include_path="C:/ti/CC3200SDK_1.5.0/cc3200-sdk/netapps/mqtt/platform" --include_path="C:/ti/CC3200SDK_1.5.0/cc3200-sdk/netapps/mqtt/include" --include_path="C:/ti/ccs930/ccs/tools/compiler/ti-cgt-arm_18.12.4.LTS/include" --define=ccs --define=cc3200 --define=USE_TIRTOS --define=SL_PLATFORM_MULTI_THREADED -g --diag_warning=225 --diag_wrap=off --display_error_number --abi=eabi --preproc_with_compile --preproc_dependency="pinmux.d_raw" --cmd_file="C:/ti/CC3200SDK_1.5.0/cc3200-sdk/ti_rtos/ti_rtos_config/ccs/Default/configPkg/compiler.opt" "../pinmux.c"
    Finished building: "../pinmux.c"
     
    Building file: "C:/ti/CC3200SDK_1.5.0/cc3200-sdk/example/common/network_common.c"
    Invoking: ARM Compiler
    "C:/ti/ccs930/ccs/tools/compiler/ti-cgt-arm_18.12.4.LTS/bin/armcl" -mv7M4 --code_state=16 --float_support=none -me -Ooff --include_path="C:/Users/kinezos/workspace_v9/USR mqtt_client_tirtosTEST3" --include_path="C:/ti/CC3200SDK_1.5.0/cc3200-sdk/simplelink" --include_path="C:/ti/CC3200SDK_1.5.0/cc3200-sdk/simplelink/include" --include_path="C:/ti/CC3200SDK_1.5.0/cc3200-sdk/simplelink/source" --include_path="C:/ti/CC3200SDK_1.5.0/cc3200-sdk/driverlib" --include_path="C:/ti/CC3200SDK_1.5.0/cc3200-sdk/inc" --include_path="C:/ti/CC3200SDK_1.5.0/cc3200-sdk/example/common" --include_path="C:/ti/CC3200SDK_1.5.0/cc3200-sdk/netapps" --include_path="C:/ti/CC3200SDK_1.5.0/cc3200-sdk/simplelink_extlib/provisioninglib" --include_path="C:/ti/CC3200SDK_1.5.0/cc3200-sdk/oslib" --include_path="C:/ti/CC3200SDK_1.5.0/cc3200-sdk/netapps/mqtt/client" --include_path="C:/ti/CC3200SDK_1.5.0/cc3200-sdk/netapps/mqtt/common" --include_path="C:/ti/CC3200SDK_1.5.0/cc3200-sdk/netapps/mqtt/platform" --include_path="C:/ti/CC3200SDK_1.5.0/cc3200-sdk/netapps/mqtt/include" --include_path="C:/ti/ccs930/ccs/tools/compiler/ti-cgt-arm_18.12.4.LTS/include" --define=ccs --define=cc3200 --define=USE_TIRTOS --define=SL_PLATFORM_MULTI_THREADED -g --diag_warning=225 --diag_wrap=off --display_error_number --abi=eabi --preproc_with_compile --preproc_dependency="network_common.d_raw" --cmd_file="C:/ti/CC3200SDK_1.5.0/cc3200-sdk/ti_rtos/ti_rtos_config/ccs/Default/configPkg/compiler.opt" "C:/ti/CC3200SDK_1.5.0/cc3200-sdk/example/common/network_common.c"
    Finished building: "C:/ti/CC3200SDK_1.5.0/cc3200-sdk/example/common/network_common.c"
     
    Building file: "C:/ti/CC3200SDK_1.5.0/cc3200-sdk/example/common/timer_if.c"
    Invoking: ARM Compiler
    "C:/ti/ccs930/ccs/tools/compiler/ti-cgt-arm_18.12.4.LTS/bin/armcl" -mv7M4 --code_state=16 --float_support=none -me -Ooff --include_path="C:/Users/kinezos/workspace_v9/USR mqtt_client_tirtosTEST3" --include_path="C:/ti/CC3200SDK_1.5.0/cc3200-sdk/simplelink" --include_path="C:/ti/CC3200SDK_1.5.0/cc3200-sdk/simplelink/include" --include_path="C:/ti/CC3200SDK_1.5.0/cc3200-sdk/simplelink/source" --include_path="C:/ti/CC3200SDK_1.5.0/cc3200-sdk/driverlib" --include_path="C:/ti/CC3200SDK_1.5.0/cc3200-sdk/inc" --include_path="C:/ti/CC3200SDK_1.5.0/cc3200-sdk/example/common" --include_path="C:/ti/CC3200SDK_1.5.0/cc3200-sdk/netapps" --include_path="C:/ti/CC3200SDK_1.5.0/cc3200-sdk/simplelink_extlib/provisioninglib" --include_path="C:/ti/CC3200SDK_1.5.0/cc3200-sdk/oslib" --include_path="C:/ti/CC3200SDK_1.5.0/cc3200-sdk/netapps/mqtt/client" --include_path="C:/ti/CC3200SDK_1.5.0/cc3200-sdk/netapps/mqtt/common" --include_path="C:/ti/CC3200SDK_1.5.0/cc3200-sdk/netapps/mqtt/platform" --include_path="C:/ti/CC3200SDK_1.5.0/cc3200-sdk/netapps/mqtt/include" --include_path="C:/ti/ccs930/ccs/tools/compiler/ti-cgt-arm_18.12.4.LTS/include" --define=ccs --define=cc3200 --define=USE_TIRTOS --define=SL_PLATFORM_MULTI_THREADED -g --diag_warning=225 --diag_wrap=off --display_error_number --abi=eabi --preproc_with_compile --preproc_dependency="timer_if.d_raw" --cmd_file="C:/ti/CC3200SDK_1.5.0/cc3200-sdk/ti_rtos/ti_rtos_config/ccs/Default/configPkg/compiler.opt" "C:/ti/CC3200SDK_1.5.0/cc3200-sdk/example/common/timer_if.c"
    Finished building: "C:/ti/CC3200SDK_1.5.0/cc3200-sdk/example/common/timer_if.c"
     
    Building file: "C:/ti/CC3200SDK_1.5.0/cc3200-sdk/example/common/network_if.c"
    Invoking: ARM Compiler
    "C:/ti/ccs930/ccs/tools/compiler/ti-cgt-arm_18.12.4.LTS/bin/armcl" -mv7M4 --code_state=16 --float_support=none -me -Ooff --include_path="C:/Users/kinezos/workspace_v9/USR mqtt_client_tirtosTEST3" --include_path="C:/ti/CC3200SDK_1.5.0/cc3200-sdk/simplelink" --include_path="C:/ti/CC3200SDK_1.5.0/cc3200-sdk/simplelink/include" --include_path="C:/ti/CC3200SDK_1.5.0/cc3200-sdk/simplelink/source" --include_path="C:/ti/CC3200SDK_1.5.0/cc3200-sdk/driverlib" --include_path="C:/ti/CC3200SDK_1.5.0/cc3200-sdk/inc" --include_path="C:/ti/CC3200SDK_1.5.0/cc3200-sdk/example/common" --include_path="C:/ti/CC3200SDK_1.5.0/cc3200-sdk/netapps" --include_path="C:/ti/CC3200SDK_1.5.0/cc3200-sdk/simplelink_extlib/provisioninglib" --include_path="C:/ti/CC3200SDK_1.5.0/cc3200-sdk/oslib" --include_path="C:/ti/CC3200SDK_1.5.0/cc3200-sdk/netapps/mqtt/client" --include_path="C:/ti/CC3200SDK_1.5.0/cc3200-sdk/netapps/mqtt/common" --include_path="C:/ti/CC3200SDK_1.5.0/cc3200-sdk/netapps/mqtt/platform" --include_path="C:/ti/CC3200SDK_1.5.0/cc3200-sdk/netapps/mqtt/include" --include_path="C:/ti/ccs930/ccs/tools/compiler/ti-cgt-arm_18.12.4.LTS/include" --define=ccs --define=cc3200 --define=USE_TIRTOS --define=SL_PLATFORM_MULTI_THREADED -g --diag_warning=225 --diag_wrap=off --display_error_number --abi=eabi --preproc_with_compile --preproc_dependency="network_if.d_raw" --cmd_file="C:/ti/CC3200SDK_1.5.0/cc3200-sdk/ti_rtos/ti_rtos_config/ccs/Default/configPkg/compiler.opt" "C:/ti/CC3200SDK_1.5.0/cc3200-sdk/example/common/network_if.c"
    Finished building: "C:/ti/CC3200SDK_1.5.0/cc3200-sdk/example/common/network_if.c"
     
    Building file: "C:/ti/CC3200SDK_1.5.0/cc3200-sdk/example/common/uart_if.c"
    Invoking: ARM Compiler
    "C:/ti/ccs930/ccs/tools/compiler/ti-cgt-arm_18.12.4.LTS/bin/armcl" -mv7M4 --code_state=16 --float_support=none -me -Ooff --include_path="C:/Users/kinezos/workspace_v9/USR mqtt_client_tirtosTEST3" --include_path="C:/ti/CC3200SDK_1.5.0/cc3200-sdk/simplelink" --include_path="C:/ti/CC3200SDK_1.5.0/cc3200-sdk/simplelink/include" --include_path="C:/ti/CC3200SDK_1.5.0/cc3200-sdk/simplelink/source" --include_path="C:/ti/CC3200SDK_1.5.0/cc3200-sdk/driverlib" --include_path="C:/ti/CC3200SDK_1.5.0/cc3200-sdk/inc" --include_path="C:/ti/CC3200SDK_1.5.0/cc3200-sdk/example/common" --include_path="C:/ti/CC3200SDK_1.5.0/cc3200-sdk/netapps" --include_path="C:/ti/CC3200SDK_1.5.0/cc3200-sdk/simplelink_extlib/provisioninglib" --include_path="C:/ti/CC3200SDK_1.5.0/cc3200-sdk/oslib" --include_path="C:/ti/CC3200SDK_1.5.0/cc3200-sdk/netapps/mqtt/client" --include_path="C:/ti/CC3200SDK_1.5.0/cc3200-sdk/netapps/mqtt/common" --include_path="C:/ti/CC3200SDK_1.5.0/cc3200-sdk/netapps/mqtt/platform" --include_path="C:/ti/CC3200SDK_1.5.0/cc3200-sdk/netapps/mqtt/include" --include_path="C:/ti/ccs930/ccs/tools/compiler/ti-cgt-arm_18.12.4.LTS/include" --define=ccs --define=cc3200 --define=USE_TIRTOS --define=SL_PLATFORM_MULTI_THREADED -g --diag_warning=225 --diag_wrap=off --display_error_number --abi=eabi --preproc_with_compile --preproc_dependency="uart_if.d_raw" --cmd_file="C:/ti/CC3200SDK_1.5.0/cc3200-sdk/ti_rtos/ti_rtos_config/ccs/Default/configPkg/compiler.opt" "C:/ti/CC3200SDK_1.5.0/cc3200-sdk/example/common/uart_if.c"
    Finished building: "C:/ti/CC3200SDK_1.5.0/cc3200-sdk/example/common/uart_if.c"
     
    Building target: "USR mqtt_client_tirtosTEST3.out"
    Invoking: ARM Linker
    "C:/ti/ccs930/ccs/tools/compiler/ti-cgt-arm_18.12.4.LTS/bin/armcl" -mv7M4 --code_state=16 --float_support=none -me -Ooff --define=ccs --define=cc3200 --define=USE_TIRTOS --define=SL_PLATFORM_MULTI_THREADED -g --diag_warning=225 --diag_wrap=off --display_error_number --abi=eabi -z -m"USR mqtt_client_tirtosTEST3.map" --heap_size=0x8000 --stack_size=0x5000 -i"C:/ti/ccs930/ccs/tools/compiler/ti-cgt-arm_18.12.4.LTS/lib" -i"C:/ti/ccs930/ccs/tools/compiler/ti-cgt-arm_18.12.4.LTS/include" --reread_libs --diag_wrap=off --display_error_number --warn_sections --xml_link_info="USR mqtt_client_tirtosTEST3_linkInfo.xml" --rom_model -o "USR mqtt_client_tirtosTEST3.out" "./adc_if.obj" "./button_if.obj" "./gpio_if.obj" "./main.obj" "./network_common.obj" "./network_if.obj" "./pinmux.obj" "./timer_if.obj" "./uart_if.obj" "../cc3200v1p32.cmd" -l"C:/ti/CC3200SDK_1.5.0/cc3200-sdk/ti_rtos/ti_rtos_config/ccs/Default/configPkg/linker.cmd" -l"C:/ti/CC3200SDK_1.5.0/cc3200-sdk/oslib/ccs/ti_rtos/ti_rtos.a" -l"C:/ti/CC3200SDK_1.5.0/cc3200-sdk/simplelink/ccs/OS_debug/simplelink.a" -l"C:/ti/CC3200SDK_1.5.0/cc3200-sdk/driverlib/ccs/Release/driverlib.a" -l"C:/ti/CC3200SDK_1.5.0/cc3200-sdk/netapps/mqtt/ccs/client/mqtt.a" -llibc.a 
    <Linking>
    Finished building target: "USR mqtt_client_tirtosTEST3.out"
     
    C:/ti/ccs930/ccs/utils/tiobj2bin/tiobj2bin USR mqtt_client_tirtosTEST3.out USR mqtt_client_tirtosTEST3.bin C:/ti/ccs930/ccs/tools/compiler/ti-cgt-arm_18.12.4.LTS/bin/armofd C:/ti/ccs930/ccs/tools/compiler/ti-cgt-arm_18.12.4.LTS/bin/armhex C:/ti/ccs930/ccs/utils/tiobj2bin/mkhex4bin
    C:/ti/ccs930/ccs/tools/compiler/ti-cgt-arm_18.12.4.LTS/bin/armofd failure occurred.  Giving up.
     
    'USR' is not recognized as an internal or external command,
    operable program or batch file.
    fatal error: cannot open input file
       "C:/ti/ccs930/ccs/tools/compiler/ti-cgt-arm_18.12.4.LTS/bin/armofd.out": No
       such file or directory
    
    **** Build Finished ****

  • Thanks.  Looks like the problem is in a post-build step.  After the line that says "Finished building target: "USR mqtt_client_tirtosTEST3.out" there is a command:

    C:/ti/ccs930/ccs/utils/tiobj2bin/tiobj2bin USR mqtt_client_tirtosTEST3.out USR mqtt_client_tirtosTEST3.bin C:/ti/ccs930/ccs/tools/compiler/ti-cgt-arm_18.12.4.LTS/bin/armofd C:/ti/ccs930/ccs/tools/compiler/ti-cgt-arm_18.12.4.LTS/bin/armhex C:/ti/ccs930/ccs/utils/tiobj2bin/mkhex4bin
    C:/ti/ccs930/ccs/tools/compiler/ti-cgt-arm_18.12.4.LTS/bin/armofd failure occurred.  Giving up.
    The fisrt 2 parameters after tiobjbin would need to be in quotes.  If you go to the project properties.  Select "build" in the tree on the left the click on the "steps" tab on the right.  Here you can specify pre and post build steps.  In the post build steps there will be a command specified.  I bet it is using variables like ${ProjName}.  Might look something like tiobj2bin ${ProjName}.out ${ProjName}.bin...   Try changing to tiobj2bin "${ProjName}.out" "${ProjName}.bin" ...  i.e. put in the quotes.  That ${ProjName} would be resolving to USR mqtt_client_tirtosTEST3 but it needs the quotes on the command line.
    Regards,
    John
  • Indeed it works! Here is what i changed: