|
|||||||||||
Technical Support Support Resources
Product Information |
GENERAL: Error (Target Has No Object Modules)Information in this article applies to:
QUESTIONI'm working on a simple project that has just one source file named TEST.c. When I try to build my Target, I receive the following error:
What may be causing that error? ANSWERGo to Options for "Source Group 1 - Properties" and you will see that you have the Generate Assembler SRC file option checked and Assembly SRC file unchecked. This causes that error. The reasoning is: you are generating a .SRC file, but you are not assembling it (the Assembly SRC file option is disabled). The IDE expects the output of the assembly process to be an object file, but since you are not assembling it, the object file is not being generated. That's why you are receiving this error message. RESOLUTIONYou may disable the Generate Assembler SRC file Option OR enable both Generate Assembler SRC file and Assembly SRC file options. SEE ALSOLast Reviewed: Thursday, February 25, 2021 | ||||||||||
|
Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers
of your data.