A formal article show us how to use Andes DSP Library:
viewtopic.php?f=23&t=924This article show two attentional facts and responding tip.
Fact1: Some fucntions in Andes DSP Library will call functions in Math Library. Ex. nds32_sqrt_f32 will call sqrtf(). That means Andes DSP Library depends on Math Library.
Fact2: For static library, if there is a dependency between the multiple static libraries, there is a link order between the static libraries. Ex. Lib2.a depends on the lib1.a, and the final executable file test.adx depends on the lib2.a, the link option should be: -llib1.a -llib2.a, and not in turn, otherwise will be reported in the lib1.a some of the symbols are not defined.
Tips: So it is suggested to linker dsp library and then link math library when you want to use Andes DSP Library. The AndeSight setting is: