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.

invalid target error in c674x dsplib

Hi TI,

In the latest C674x dsplib, an internal error will lead to build error.

In file: C:\ti\dsplib_c674x_3_2_0_1\packages\ti\dsplib\src\DSPF_sp_mat_mul_gemm_cplx\DSPF_sp_mat_mul_gemm_cplx.h

#if defined(_TMS320C6600)
#include <ti/dsplib/src/DSPF_sp_mat_mul_gemm_cplx/c66/DSPF_sp_mat_mul_gemm_cplx.h>
#else
#error invalid target
#endif

In a C674x DSP platform, we don't set the MACRO definition _TMS320C6600, so the compiler will report an error here. So there might be some things missing here, like:

#if defined(_TMS320C6600)
#include <ti/dsplib/src/DSPF_sp_mat_mul_gemm_cplx/c66/DSPF_sp_mat_mul_gemm_cplx.h>
#elif defined(_TMS320C6740)
#include <ti/dsplib/src/DSPF_sp_mat_mul_gemm_cplx/c674/DSPF_sp_mat_mul_gemm_cplx.h>
#else
#error invalid target
#endif

The same problem was found in C:\ti\dsplib_c674x_3_2_0_1\packages\ti\dsplib\src\DSPF_sp_mat_mul_cplx\DSPF_sp_mat_mul_cplx.h

Please check and correct them.

Thanks,

Allen