Quantcast
Channel: Forums - Recent Threads
Viewing all articles
Browse latest Browse all 262198

How to add mathlib to a 6678 project?

$
0
0

Hi,

I am using TMDSEVM6678le and I try to add mathlib library

in order to use sindp function, here what I did still now:

1) I added mathlib.h header file to my main .c file

2) Included paths in properties->build->C6000 Compiler->Include Options:

       C:\ti\mathlib_c66x_3_0_2_0\packages

       C:\ti\mathlib_c66x_3_0_2_0\inc

3) Included paths in properties->build->C6000 Linker->File Search Path:

       C:\ti\mathlib_c66x_3_0_2_0

Mathlib is intalled in C:\ti\mathlib_c66x_3_0_2_0 folder.

CCS  5.3.0.00090 .

The problem is the result of linking when I compile:

**** Build of configuration Debug for project helloworld_evmc6678l ****

"C:\\ti\\ccsv5\\utils\\bin\\gmake" -k all
'Building target: helloworld_evmc6678l.out'
'Invoking: C6000 Linker'
"C:/ti/ccsv5/tools/compiler/C6000 Code Generation Tools 7.4.0/bin/cl6x" -mv6600 --abi=eabi -g --diag_warning=225 -z -m"helloworld_evmc6678l.map" -i"C:/ti/ccsv5/tools/compiler/C6000 Code Generation Tools 7.4.0/lib" -i"C:/ti/mathlib_c66x_3_0_2_0/lib" -i"C:/ti/ccsv5/tools/compiler/C6000 Code Generation Tools 7.4.0/include" --reread_libs --warn_sections --rom_model -o "helloworld_evmc6678l.out" -l"./configPkg/linker.cmd"  "./udpHello.obj" "./resourcemgr.obj" "./radius_of_curvature.obj" "./platform_osal.obj" "./helloWorld.obj" "./geodistance.obj" "./geo_dist_1p2centroids.obj" -l"libc.a"
<Linking>

 undefined first referenced
  symbol       in file      
 --------- ----------------
 sindp     ./geodistance.obj


error: unresolved symbols remain
>> Compilation failure
error: errors encountered during linking; "helloworld_evmc6678l.out" not built
gmake: *** [helloworld_evmc6678l.out] Error 1
gmake: Target `all' not remade because of errors.

**** Build Finished ****

I hope someone can help me.

Thanks in advance

Julian


Viewing all articles
Browse latest Browse all 262198

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>