CCSv4 build generates error - target pattern contains no `%'. Stop.

From Texas Instruments Embedded Processors Wiki

Jump to: navigation, search
Translate this page to   

Background

I attempted to rebuild the test_audio example that comes with the Logic PD OMAP-L138 BSL in CCSv4.1, but when I rebuild I get the following error:

**** Build of configuration Debug for project test_audio ****

C:\Program Files (x86)\Texas Instruments\ccsv4\utils\gmake\gmake -k all
subdir.mk:35: *** target pattern contains no `%'. Stop.

Build complete for project test_audio

This is not specific to just the OMAP-L138 BSL examples and likely could happen with any converted CCSv3.3 project.

Environment

I encountered the issue with CCSv4.1, CGTools v6.1.12, and the OMAP-L138 BSL 1014013A (dated Aug. 21, 2009), but again I do not believe this is specific to these specific versions.

Answer

In my case the conversion wizard was creating bad paths for the .obj, .out and .map files as well as two bad header include paths. To fix this I took the following steps:

At this point you should not get the strange gmake errors, but you may still get a linker error. To correct the linker error open the .cmd file and update the relative path to the BSL file (or any other library file) to an absolute path. You should now be able to completely build the project successfully.

With that said, bug SDSCM00034965 was created against the conversion wizard for the invalid search paths.

E2e.jpg For technical support please post your questions at http://e2e.ti.com. Please post only comments about the article CCSv4 build generates error - target pattern contains no `%'. Stop. here.
Hyperlink blue.png Links
ARM Microcontroller MCU ARM Processor Digital Media Processor Digital Signal Processing Microcontroller MCU Multi Core Processor
Ultra Low Power DSP 8 bit Microcontroller MCU 16 bit Microcontroller MCU 32 bit Microcontroller MCU

Leave a Comment
Personal tools
Namespaces
Variants
Actions
Navigation
Print/export
Toolbox