Hello,
I've been trying to include Mathlib for C6748 processor into my C++ project, CCS found the newly installed package and then in my project settings (Project Properties->CCS Build->C6000 Compiler->Include options) I included the path to the "E:\ti\mathlib_c674x_3_0_1_1\inc" folder, but whenever I try to compile the code, it reports "error #821: badly formed pragma". I managed to successfully integrate DSPLIB into this project using similar steps. Also tried using the following include but same error:
extern "C"{
#include <mathlib.h>
};
The lib is included as "E:\ti\mathlib_c674x_3_0_1_1\lib\dsplib.ae674" into Project Properties->CCS Build->C6000 Linker->File Search Path. My XDCtools environment is 3.23.3.53, CCS 5.2.1.00018 and I can see in Project Properties->CCS General->RTSC tab that DSPLIB and MATHLIB are included along SYS/BIOS.
Any idea how this library can be integrated into C++ project?
Thank you in advance,
David.