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.

CCS/TMDXIDK5718: Mathlib not included automatically

Part Number: TMDXIDK5718
Other Parts Discussed in Thread: MATHLIB

Tool/software: Code Composer Studio

Hi

Im programming for the C66 DSP on the idk5718.
In order to use the mathlib I added the mathlib package (Project settings -> CS Genaral -> RTSC -> Products and Repositories).
Unfortunately the linker still issues error messages about unresolved symbols (all symbols from the mathlib).
I then added the mathlib library file to the linker file search path (see screenshot). Then it compiled without errors.

Why do I have to include the mathlib library manually when I already included the mathlib in the RTSC tab?
This should show my intention to really use it...

Used versions:
Code Composer Studio V7.1.0
PDK: V1.0.6
Mathlib: V3.1.1.0
XDCTools V3.32.1.22

Regards,
Markus

  • The RTOS team have been notified. They will respond here.
  • Markus,

    When you include MATHLIB in the RTSC tab, it only adds MATHLIB to the BUILD->XDCtools-> Package Repositories and doesn`t auto link the libraries. this also applies to other XDC packages like BIOS, IPC, NDK or UIA components. Ideally, when the package is added to the package repositories, you can make the RTSC build to link to the library by using the following syntax int he TI RTOS config file:

    var mathlib = xdc.loadPackage('ti.mathlib');

    This can only be done when you have the full version of MATHLIB from ti.com not the cutdown version we have in the Processor SDK RTOS as the RTSC based linking requires mas/swtools folder which is not available in the cutdown version.

    If you have a full version of MATHLIB (with ti\mas\swtools in the $MATHLIB\packages), then you can try this but we don`t recommend it to Processor sDK users. Linking by adding the library to the Linker libraries is the recommended approach and is also how it is described in the user guide.

    Regards,
    Rahul
  • Hi Rahul

    Thank you for these answers.

    Regards,
    Markus