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.

MATHLIB 3.1.1.0 MAS SWTOOLS issue

Other Parts Discussed in Thread: SYSBIOS, MATHLIB

Hello

(target is C6678, SYSBIOS 1.25)

In mathlib 3.1.1.0 packages/ti there is no 'mas' folder as in previous errors.

Then when a CFG tries to do

var Mathlib = xdc.useModule('ti.mathlib.Version');

it " can't locate the package 'ti.mas.swtools' "

...

Also when compiling an application, only including #include <ti/mathlib/mathlib.h>

leads to these warning and errors

"mathlib_c66x_3_1_0_0/packages/ti/mathlib/src/asinhdp/c66/asinhdp_i.h", line 167: warning #179-D: variable "upper" was declared but never referenced


"mathlib_c66x_3_1_0_0/packages/ti/mathlib/src/atan2dp/c66/atan2dp_i.h", line 69: warning #179-D: variable "MIN" was declared but never referenced


mathlib_c66x_3_1_0_0/packages/ti/mathlib/src/atandp/c66/atandp_i.h", line 102: error #249: function "pol_est_asindp_i" has already been defined

...

The same application with the previous mathlib 3.0.1.1 works.

There's something wrong with your latest delivery or I am missing something.

Clement

  • Hi Clement,


    We've already raised the compile error concerns to the mathlib team. Obviously the error will stop your build. The "pol_est_asindp_i" function is defined both in 'asindp_i.h' and 'atandp_i.h'. For now you can simply comment out the #include statement for one of those two headers (in mathlib.h) to get a clean build for now.

    I will raise the XDC issues to the team as well, thanks for bringing that to our attention.

    Thanks,

    Ian

  • Hi Ian,

    Thank you for the answers.

    I'll wait for the next release.

    Regards,

    Clement

  • Hi Clement,

    RTSC/XDC is not longer supported in Mathlib. The fact that this wasn't documented in the release notes was an oversight, as was the fact that Mathlib still shows up as a RTSC product during new product discovery on CCS startup.

    Thanks and regards, Frank

  • Hi Frank,

    Thank you for the update on this.

    Any particular reason for stopping the support ?

    Regards,

    Clement

  • I have a compiler warning problem with Mathlib. I use CCS 6.0, BIOS 6.40 and mathlib 3.0.2.0.

    I added mathlib to my project and I used mathlib functions without any problem. But when I compile the code there are 382 warnings about "function declared implicitly"

    Description Resource Path Location Type
    #225-D ../../../dsp/mathlib_3_0_2_0/packages/ti/mathlib/src/atan2dp/c674/atan2dp_i.h function declared implicitly

    I added inc and packages folder paths to Include Options. I added mathlib.a674 and lib folder path to linker setup.

    What I am missing and getting all those annoying warnings?

    Thanks

  • Hi Ian,

    Thanks for raising this to the team and no one giving a rat's ass as of 23rd of July 2014.

    I was wondering - is this the standard level of incompetence within TI ?

    Kind Regards,

    Zan