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.

Error #10008-D: cannot find file

Other Parts Discussed in Thread: PMP21529, UCD3138, UCD3138A

Hi Ki,

Per your comments, I tried the ccs 6.2 offline installer and it's successfully installed. However, I run into the build-up error with the log below. It looks .obj file is not generated. Could you advise how to solve it?


**** Clean-only build of configuration Debug for project PMP21529 ****

"C:\\ti\\ccsv6\\utils\\bin\\gmake" -k clean
DEL /F "PMP21529.out" "PMP21529.hex"
DEL /F "clear_program_flash.obj" "constants.obj" "cyclone_global_variables_defs.obj" "device_id.obj" "flash.obj" "init_adc12.obj" "init_bat_charge_loop.obj" "init_bus_backup_loop.obj" "init_dpwm.obj" "init_miscellaneous.obj" "init_protection.obj" "interrupts.obj" "main.obj" "pmbus.obj" "pmbus_coefficients.obj" "pmbus_handler.obj" "pmbus_manuf_info_commands.obj" "pmbus_manuf_specific_commands.obj" "pmbus_tools.obj" "software_interrupt_wrapper.obj" "standard_interrupt.obj" "zero_out_integrity_word.obj"
Could Not Find C:\Users\a0486368\Documents\FAE_SSNW\HERE!---------------------------------------------------Review Format\HVC\UCD3138A\FirmwareCode_ReferenceDesigns\PMP21529_4SWBuckBoostBIDIConverter\PMP21529Firmware-1.0\PMP21529 package\UCD3138_PMP21529\Debug\PMP21529.out
Could Not Find C:\Users\a0486368\Documents\FAE_SSNW\HERE!---------------------------------------------------Review Format\HVC\UCD3138A\FirmwareCode_ReferenceDesigns\PMP21529_4SWBuckBoostBIDIConverter\PMP21529Firmware-1.0\PMP21529 package\UCD3138_PMP21529\Debug\clear_program_flash.obj
'Finished clean'
' '

**** Build Finished ****

**** Build of configuration Debug for project PMP21529 ****

"C:\\ti\\ccsv6\\utils\\bin\\gmake" -k all
'Building target: PMP21529.out'
'Invoking: ARM Linker'
"C:/ti/ccsv6/tools/compiler/ti-cgt-arm_5.2.5/bin/armcl" -mv4 --code_state=16 --abi=ti_arm9_abi -O2 -g --preproc_with_compile --preproc_with_comment --diag_warning=225 --display_error_number -z -m"C:/Users/a0486368/Documents/FAE_SSNW/HERE!---------------------------------------------------Review Format/HVC/UCD3138A/FirmwareCode_ReferenceDesigns/PMP21529_4SWBuckBoostBIDIConverter/PMP21529Firmware-1.0/PMP21529 package/UCD3138_PMP21529/PMP21529.map" --heap_size=10 --stack_size=200 -i"C:/ti/ccsv6/tools/compiler/ti-cgt-arm_5.2.5/lib" -i"C:/ti/ccsv6/tools/compiler/ti-cgt-arm_5.2.5/include" --reread_libs --display_error_number --warn_sections --xml_link_info="PMP21529_linkInfo.xml" --rom_model -o "PMP21529.out" "./clear_program_flash.obj" "./constants.obj" "./cyclone_global_variables_defs.obj" "./device_id.obj" "./flash.obj" "./init_adc12.obj" "./init_bat_charge_loop.obj" "./init_bus_backup_loop.obj" "./init_dpwm.obj" "./init_miscellaneous.obj" "./init_protection.obj" "./interrupts.obj" "./main.obj" "./pmbus.obj" "./pmbus_coefficients.obj" "./pmbus_handler.obj" "./pmbus_manuf_info_commands.obj" "./pmbus_manuf_specific_commands.obj" "./pmbus_tools.obj" "./software_interrupt_wrapper.obj" "./standard_interrupt.obj" "./zero_out_integrity_word.obj" -l"C:/Users/a0486368/Documents/FAE_SSNW/HERE!---------------------------------------------------Review Format/HVC/UCD3138A/FirmwareCode_ReferenceDesigns/PMP21529_4SWBuckBoostBIDIConverter/PMP21529Firmware-1.0/PMP21529 package/Linker Files/cyclone.cmd" -l"C:/Users/a0486368/Documents/FAE_SSNW/HERE!---------------------------------------------------Review Format/HVC/UCD3138A/FirmwareCode_ReferenceDesigns/PMP21529_4SWBuckBoostBIDIConverter/PMP21529Firmware-1.0/PMP21529 package/Linker Files/cyclone_headers.cmd" -llibc.a
<Linking>
"C:\\Users\\a0486368\\AppData\\Local\\Temp\\290923", line 19: error #10008-D:

cannot find file "./clear_program_flash.obj"
>> Compilation failure
makefile:162: recipe for target 'PMP21529.out' failed
"C:\\Users\\a0486368\\AppData\\Local\\Temp\\290923", line 20: error #10008-D:
cannot find file "./constants.obj"
"C:\\Users\\a0486368\\AppData\\Local\\Temp\\290923", line 21: error #10008-D:
cannot find file "./cyclone_global_variables_defs.obj"
"C:\\Users\\a0486368\\AppData\\Local\\Temp\\290923", line 22: error #10008-D:
cannot find file "./device_id.obj"
"C:\\Users\\a0486368\\AppData\\Local\\Temp\\290923", line 23: error #10008-D:
cannot find file "./flash.obj"
"C:\\Users\\a0486368\\AppData\\Local\\Temp\\290923", line 24: error #10008-D:
cannot find file "./init_adc12.obj"
"C:\\Users\\a0486368\\AppData\\Local\\Temp\\290923", line 25: error #10008-D:
cannot find file "./init_bat_charge_loop.obj"
"C:\\Users\\a0486368\\AppData\\Local\\Temp\\290923", line 26: error #10008-D:
cannot find file "./init_bus_backup_loop.obj"
"C:\\Users\\a0486368\\AppData\\Local\\Temp\\290923", line 27: error #10008-D:
cannot find file "./init_dpwm.obj"
"C:\\Users\\a0486368\\AppData\\Local\\Temp\\290923", line 28: error #10008-D:
cannot find file "./init_miscellaneous.obj"
"C:\\Users\\a0486368\\AppData\\Local\\Temp\\290923", line 29: error #10008-D:
cannot find file "./init_protection.obj"
"C:\\Users\\a0486368\\AppData\\Local\\Temp\\290923", line 30: error #10008-D:
cannot find file "./interrupts.obj"
"C:\\Users\\a0486368\\AppData\\Local\\Temp\\290923", line 31: error #10008-D:
cannot find file "./main.obj"
"C:\\Users\\a0486368\\AppData\\Local\\Temp\\290923", line 32: error #10008-D:
cannot find file "./pmbus.obj"
"C:\\Users\\a0486368\\AppData\\Local\\Temp\\290923", line 33: error #10008-D:
cannot find file "./pmbus_coefficients.obj"
"C:\\Users\\a0486368\\AppData\\Local\\Temp\\290923", line 34: error #10008-D:
cannot find file "./pmbus_handler.obj"
"C:\\Users\\a0486368\\AppData\\Local\\Temp\\290923", line 35: error #10008-D:
cannot find file "./pmbus_manuf_info_commands.obj"
"C:\\Users\\a0486368\\AppData\\Local\\Temp\\290923", line 36: error #10008-D:
cannot find file "./pmbus_manuf_specific_commands.obj"
"C:\\Users\\a0486368\\AppData\\Local\\Temp\\290923", line 37: error #10008-D:
cannot find file "./pmbus_tools.obj"
"C:\\Users\\a0486368\\AppData\\Local\\Temp\\290923", line 38: error #10008-D:
cannot find file "./software_interrupt_wrapper.obj"
"C:\\Users\\a0486368\\AppData\\Local\\Temp\\290923", line 39: error #10008-D:
cannot find file "./standard_interrupt.obj"
"C:\\Users\\a0486368\\AppData\\Local\\Temp\\290923", line 40: error #10008-D:
cannot find file "./zero_out_integrity_word.obj"
warning #10211-D: cannot resolve archive
C:/ti/ccsv6/tools/compiler/ti-cgt-arm_5.2.5/lib/libc.a to a compatible
library, as no input files have been encountered
fatal error #10009: no input files
gmake: *** [PMP21529.out] Error 1
gmake: Target 'all' not remade because of errors.

**** Build Finished ****

When it comes to reason why I need the old version, please kindly check this thread. I found that a firmware code was not built up in ccs v10. Could you also help to build the code in ccs v10?

  • Based on the build output, it looks like only the linker is running, despite cleaning the project. Are the object files indeed missing? If so, that would explaain the error.

    Where is this project from? Was this project created with CCS 6.2.0? 

    There are some unusual paths in the project. For example:

    C:/Users/a0486368/Documents/FAE_SSNW/HERE!---------------------------------------------------Review Format/HVC/UCD3138A/FirmwareCode_ReferenceDesigns/PMP21529_4SWBuckBoostBIDIConverter/PMP21529Firmware-1.0/PMP21529 package/Linker Files/cyclone_headers.cmd

    You have unicode characters like "!" and "-", inaddition to whitespaces. This can cause problems.

    Could you also help to build the code in ccs v10?

    What build errors are you seeing with CCS10?

  • Hi Ki,

    I can build it up in CCS 6.2 when removing unicode characters in file directory.

    For error message in CCS10, please find the error below. Maybe we can continue the debug in this thread?


    **** Clean-only build of configuration Debug for project PMP21529 ****

    "C:\\ti\\ccs1040\\ccs\\utils\\bin\\gmake" -k clean

    DEL /F "PMP21529.out" "PMP21529.hex"
    DEL /F "clear_program_flash.obj" "constants.obj" "cyclone_global_variables_defs.obj" "device_id.obj" "flash.obj" "init_adc12.obj" "init_bat_charge_loop.obj" "init_bus_backup_loop.obj" "init_dpwm.obj" "init_miscellaneous.obj" "init_protection.obj" "interrupts.obj" "main.obj" "pmbus.obj" "pmbus_coefficients.obj" "pmbus_handler.obj" "pmbus_manuf_info_commands.obj" "pmbus_manuf_specific_commands.obj" "pmbus_tools.obj" "software_interrupt_wrapper.obj" "standard_interrupt.obj" "zero_out_integrity_word.obj"
    Finished clean

    **** Build Finished ****
    Buildfile generation error occurred..
    This project was created using a version of compiler that is not currently installed - 5.2.4 [Arm]:
    - See 'Help > Install New Software' and select 'Code Generation Tools Updates' to check if this compiler is available through a CCS update.
    - Visit CCS App Center to get the latest compiler support.
    - Or download and install the compiler [http://software-dl.ti.com/codegen/non-esd/downloads], then register it with CCS through 'Preferences > CCS > Build > Compilers'.
    Build stopped..

    Where is this project from? Was this project created with CCS 6.2.0? 

    I have a relevant question from your comment above. I download the code (including project file) from ti.com (link). How do I know which version of CCS create this project? 

    I noticed that several project files cannot be opened/built in different version of CCS, e.g. I have an old customer project file that was created in CCS 3 but it cannot be found in CCS v6 and v10.

  • I can build it up in CCS 6.2 when removing unicode characters in file directory.

    Good to hear

    For error message in CCS10, please find the error below
    This project was created using a version of compiler that is not currently installed - 5.2.4 [Arm]:

    The priject has a dependency on an old compiler version. Please install Arm 5.2.x compiler. See the below link on how to do that from CCS:

    https://software-dl.ti.com/ccs/esd/documents/ccs_compiler-installation-selection.html#within-ccs

    I have a relevant question from your comment above. I download the code (including project file) from ti.com (link). How do I know which version of CCS create this project? 

    Sometimes the CCS version can be found in the project metadata. However, I do not see the version listed for this project. It appears to be an older CCS version (perhaps CCS 5.5 if I had to guess).

    I have an old customer project file that was created in CCS 3 but it cannot be found in CCS v6 and v10.

    CCS 3.3 projects have a completely different project format that what was used in CCSv4 and greater and require a special migration to use it in CCS Eclipse based environments. Please see the below link for more details:

    https://dev.ti.com/tirex/explore/node?node=ANA-2UvaDVeIvwRHD7a0Sw__FUz-xrs__LATEST

    Thanks

    ki