[EXT_EP-10379] Project build linker error when building programs that are linked/added to the project and also reside in a path with whitespaces Created: 04/Jun/21 Updated: 11/Jun/21 |
|
Status: | Accepted |
Project: | Embedded Software & Tools |
Component/s: | None |
Affects Version/s: | None |
Fix Version/s: | None |
Type: | Bug | Priority: | Medium |
Reporter: | TI User | Assignee: | TI User |
Resolution: | Unresolved | Votes: | 0 |
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified |
Product: | Code Composer Studio IDE |
Internal ID: | CCSIDE-4017 |
Forum URL: | https://e2e.ti.com/support/tools/code-composer-studio-group/ccs/f/code-composer-studio-forum/1006874/codecomposer-error-linking-libraries-in-linked-folder-with-spaces-in-path |
Found In Release: | CCS_10.3.0 |
Affected Platform/Device: | Generic |
Description |
A linker linker error when building libraries that are linked/added to the project that reside is a path with whitespaces. For example: Building target: "empty_MSP_EXP432P4111_tirtos_ccs.out" " "C:\\Users\\xxxxxxx\\AppData\\Local\\Temp {0C4E3BC4-FF43-405D-B7AF-3FF9E78B4716} ", line 39: error #10008-D: cannot find file "Space/src/Libs/IQmathLib.a" " "C:\\Users\\xxxxxxx\\AppData\\Local\\Temp {0C4E3BC4-FF43-405D-B7AF-3FF9E78B4716} ", line 41: error #10008-D: cannot find file "Space/src/Libs/QmathLib.a" >> Compilation failure
In the errors above, the libraries in question are in a directory: The path is passed to the Linker as: Note the '\' character added after "Folder" and before "Space", likely an escape character. Instead, the path likely just needs to be passed in quotes, without the escape character Note that this issue only affects linking. There are no issue compiling source files in the same directory. |