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.

CCS/CCSTUDIO-C2000: error #10008-D: cannot find file obj File

Part Number: CCSTUDIO-C2000

Tool/software: Code Composer Studio

Hi

I am new with the CCS9.

I have imported a Project from ccs3.3 to ccs9
One Project is OK and Build is possible.

With other Project  there is a linking ERROR:

"C:\\Users\\EMP001~1\\AppData\\Local\\Temp\\{5D17648B-D56D-4F19-9819-81C1E556A364}", line 37: error #10008-D: cannot find file "C:/test/test1/Valid.obj"
"C:\\Users\\EMP001~1\\AppData\\Local\\Temp\\{5D17648B-D56D-4F19-9819-81C1E556A364}", line 38: error #10008-D: cannot find file "C:/test/test1/mcp_transp.obj"
"C:\\Users\\EMP001~1\\AppData\\Local\\Temp\\{5D17648B-D56D-4F19-9819-81C1E556A364}", line 39: error #10008-D: cannot find file "C:/test/test1/modul_io.obj"

These 3 *.obj Files are made from the compiler in:

C:\test\test1\Src  

I think the Path info from all *.obj Files should be in the

*_linkInfo.xml File.

But i cant find these 3 missing obj Files in the *_linkInfo.xml File.

How to make a *_linkInfo.xml File with Infromation from all obj Files? Or is there a other solution?

Infos:

Invoking: C2000 Compiler
"C:/ti/ccs930/ccs/tools/compiler/ti-cgt-c2000_18.12.4.LTS/bin/cl2000" -v28 -ml -O3 --include_path="C:/smart_git/projekte/mcp/Target/MCP_TRANSPORTS_2812/MCP_TRANSPORTS_2812" --include_path="/packages/ti/xdais" --include_path="D:/Projekte/mcp" --include_path="C:/ti/ccs930/ccs/tools/compiler/ti-cgt-c2000_18.12.4.LTS/include" --define=_DEBUG --define=RELATIVE_PATH --define=LARGE_MODEL --define=HW_MCP_TRANSPORTS_2812 -g --diag_wrap=off --display_error_number --abi=coffabi -k --asm_directory="C:/test/test1" --temp_directory="C:/test/test1" --preproc_with_compile --preproc_dependency="Src/Valid.d_raw" --obj_directory="C:/test/test1/Src"  "C:/smart_git/projekte/mcp/Target/MCP_TRANSPORTS_2812/src/Valid.asm"
Finished building: "C:/smart_git/projekte/mcp/Target/MCP_TRANSPORTS_2812/src/Valid.asm"

Invoking: C2000 Linker
"C:/ti/ccs930/ccs/tools/compiler/ti-cgt-c2000_18.12.4.LTS/bin/cl2000" -v28 -ml -O3 --define=_DEBUG --define=RELATIVE_PATH --define=LARGE_MODEL --define=HW_MCP_TRANSPORTS_2812 -g --diag_wrap=off --display_error_number --abi=coffabi -k --asm_directory="C:/test/test1" --temp_directory="C:/test/test1" -z -m"C:/smart_git/projekte/mcp/Target/MCP_TRANSPORTS_2812/MCP_TRANSPORTS_2812.map" --stack_size=0x400 --warn_sections -i"C:/ti/ccs930/ccs/tools/compiler/ti-cgt-c2000_18.12.4.LTS/lib" -i"C:/test/test1/Src" -i"C:/smart_git/projekte/mcp/Target/MCP_TRANSPORTS_2812/MCP_TRANSPORTS_2812" -i"C:/smart_git/projekte/mcp/Target/MCP_TRANSPORTS_2812" -i"C:/ti/ccs930/ccs/tools/compiler/ti-cgt-c2000_18.12.4.LTS/include" --reread_libs --diag_wrap=off --display_error_number --absolute_exe --xml_link_info="MCP_TRANSPORTS_2812_linkInfo.xml" --rom_model -o "C:/smart_git/projekte/mcp/Target/MCP_TRANSPORTS_2812/MCP_TRANSPORTS_2812/../../../Target/MCP_TRANSPORTS_2812/MCP_TRANSPORTS_2812.out" "C:/smart_git/projekte/mcp/Cpu/TMS320F2812/F2812.cmd" "C:/test/test1/A_IN.obj" "C:/test/test1/CAN_2812_int.obj" "C:/test/test1/CodeStartBranch.obj" "C:/test/test1/DI.obj" "C:/test/test1/DO.obj" "C:/test/test1/DSP281x_Xintf.obj" "C:/test/test1/I2C.obj" "C:/test/test1/MOT.obj" "C:/test/test1/SMI_EMB.obj" "C:/test/test1/SYS.obj" "C:/test/test1/main.obj" "C:/smart_git/projekte/mcp/Cpu/TMS320F2810/softfloat/softfloat.obj" "C:/test/test1/Valid.obj" "C:/test/test1/mcp_transp.obj" "C:/test/test1/modul_io.obj"  
<Linking>
"C:\\Users\\EMP001~1\\AppData\\Local\\Temp\\{5D17648B-D56D-4F19-9819-81C1E556A364}", line 37: error #10008-D: cannot find file "C:/test/test1/Valid.obj"

regards

Chris

  • Chis,

    Was this a CCS 3.3 project that was imported directly into CCS9? That is a pretty large jump in CCS versions and a direct migration across these versions has been known to cause occasional problems. 

    Dati said:

    These 3 *.obj Files are made from the compiler in:

    C:\test\test1\Src  

     

    After doing a Rebuild of the project, could you check the build log to see if the --obj_directory="C:/test/test1/Src"  option is being passed to those 3 source files? 
    And in which directory are those 3 .obj files actually generated?

    If you save the complete build log to a text file (as described in this page) and attach it here that might provide some additional clues.

  • Hi AartiG

    Thank you for the answer.
    By some projects the linker searched the obj files in the wrong path.

    I tried some path defines but that did not solve the problem.
    I found this solution:


    1 I deleted the 3source files  in the project (just the link)


    2 then i added the source file to the project


    3 and then the Compiler found the obj files (the obj file were in the same place, as before, but now the linker searched them in the right path)


    regards


    Chris 

  • Hi AartiG

    Yes this was a CCS 3.3 project that was imported directly into CCS9

  • Thank you for the update. Every once in a while these types of settings get a bit messed up during project migration, but I'm glad that you were able to find a solution.