How to solve Following "multiple uses of -o are not allowed" Error ??

unable generate .elf file using command -output=${project name}.elf it showing below given Error.

cctc E204: multiple uses of -o are not allowed
Compiler: Tasking

The linker argument list for an add_executable already contains the output file (-o or -output) based on your target name.
You cannot add this linker argument yourself.

If you need a different filename you can control it via the OUTPUT_NAME property.

2 Likes

Also note that the tasking compiler is not 100% supported by cmake yet.