When I build my test model,it shows an error:
<Linking> error: cannot find file "rts2800_fpu32.lib"
my lib direction is C:\ti\ccsv5\tools\compiler\c2000_6.1.3\lib, how can I set the search path for cl2000?
I tried to set the Arguments as "-i"C:/ti/ccsv5/tools/compiler/c2000_6.1.3/lib"" in the Linker tag of xmakefilesetup(), but the link command will become as :
"C:/ti/ccsv5/tools/compiler/c2000_6.1.3/bin/cl2000" -z -l"rts2800_fpu32.lib" -c -x -m"demo_model1.map" -stack0x200 -o ./CustomMW/demo_model1.out -i"C:/ti/ccsv5/tools/compiler/c2000_6.1.3/lib"
that means the argumant '-l"rts2800_fpu32.lib"' is before '-i"C:/ti/ccsv5/tools/compiler/c2000_6.1.3/lib", I think that's why the error happend.
But how can I set the library directory befor the argumant '-l"rts2800_fpu32.lib"' ? This argument is added by matlab automatically 🙁
Anyone can help me?
Thanks.
'
Best Answer