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.
I have updated my project from CCSv5.3 to CCSv5.5 with the same CGT version but the compiler generate a new error:
"Description Resource Path Location Type #10008-D cannot find file F2809.cmd /Projects/cmd line 119 C/C++ Problem" it means it cannot find the file "Flash2809_API_V100.lib" which is in my project.
Related CMD file is
.text: ram
{ Flash2809_API_V100.lib (.text, .econst)
Flash_API.obj(.text, .econst) ...... }
LOAD = FLASHA,
RUN = L03SARAM, PAGE = 0
table(BINIT),
For which I want to link the .lib to the group of copy to ram.
I also update the file search path --library and --search_path option but it doesn't works.
CCSv5.x before v5.5 has no this issue.
Who can help to answer or solve this issue? Thanks a lot.
Best Regards
Xiaoming
Xiaoming,
I am unsure why the project worked with v5.3 but not with v5.5, but the fact the library is in the project directory does not necessarily mean the linker "sees" it. Its name must be specified in the Include file option and its path must be specified in the Linker File Search path (which it seems you already checked) - to double-check this, please see this post that mentions a quick way to inspect all options.
Apart from this, I can't think of anything else that is necessary to include a library to a project.
Hope this helps,
Rafael
Thanks Rafael, but unfortunately it still doesn't work in CCSv5.5
I believe it is a bug in CCSv5.5 where it cannot find the .lib files in CMD file.
Others versions of CCS with CGT 6.20, 6.13, 6.10 works well for the same project.
I have to stop using CCSv5.5 and hope this issue will solved in the next released of CCS.
Thanks again.
Xiaoming
Jian Xiaoming said:I believe it is a bug in CCSv5.5 where it cannot find the .lib files in CMD file.
Could you share with us a simple project that can be used to reproduce the issue, so we can confirm if there is a bug and file a bug report?
Hi all
I do face exactly the same problem as described in the above post. A project compiling an linking perfectly fine in CCS 5.3 does now throw a linker error in CCS 5.5!
bl_link.cmd:
cannot find file "F021_API_CortexR4_LE_V3D16.lib"
F021_API_CortexR4_LE_V3D16.lib (.text)
Is there any solution?