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.

error while building

i was working with code composer studio v 3.1. While building the project it was said " error: linking files for incompatible targets(library '<path to rts6700.lib>',member 'addf.obj') and many similar error. can anyone help me to solve it???? pls..

Thanks in advance..

  • Hi,

    This error usually occurs if your project includes libraries built for different devices.

    For example: if your project specifies, say, C64x but you are including the run-time support library <rts6700.lib> (for C67x devices) the linker will detect this incompatibility and throw this error. In this case you should either point to the correct library (in the example it would be rts6400.lib) or modify the compiler options of your project to build for the correct device (in the example it would need the -mv6700 option).

    Keep in mind if you are using other libraries (CSL, BSL, etc) you will also have to match the target being built.

    Hope this helps,

    Rafael