Hai all,
I am using ccsv4 with c64x+imglib.I followed the stepsgiven by getting started guide come along with the ti's imglib.
i have done the following,
1.i installed ccs on C:/Pro...files/Texas inst../ccsv4/.........
2.i installed img lib on C:/ti/....
3.then i hav created new ccs project and then add two source files and copied the one of the example program from C:/ti?C6400/Example/img_bound..
then i add the header file and copy the related header file from C:ti/C6400/include
4.when i created the new ccs project i add rts6400.lib(C:/prog................./tools/compiler/lib/rts6400.lib) in the run time support library tab,link.cmd file in the linker command tab(link.cmd-i created this file with the following command(-lrts6400.lib,-limglib64x.lib)and saved in my desktop)
5.Then i set the target config to c64x+.....,little endian.
6.After that i build the project which gives the error
**** Build of configuration Debug for project conval ****
C:\Program Files\Texas Instruments\ccsv4\utils\gmake\gmake -k all 'Building file: ../img_conv_3x3_c.c' 'Invoking: Compiler' "C:/Program Files/Texas Instruments/ccsv4/tools/compiler/c6000/bin/cl6x" -mv64+ -g --include_path="C:/Program Files/Texas Instruments/ccsv4/tools/compiler/c6000/include" --diag_warning=225 --abi=coffabi --preproc_with_compile --preproc_dependency="img_conv_3x3_c.pp" "../img_conv_3x3_c.c" 'Finished building: ../img_conv_3x3_c.c' ' ' 'Building file: ../img_conv_3x3_d.c' 'Invoking: Compiler' "C:/Program Files/Texas Instruments/ccsv4/tools/compiler/c6000/bin/cl6x" -mv64+ -g --include_path="C:/Program Files/Texas Instruments/ccsv4/tools/compiler/c6000/include" --diag_warning=225 --abi=coffabi --preproc_with_compile --preproc_dependency="img_conv_3x3_d.pp" "../img_conv_3x3_d.c" 'Finished building: ../img_conv_3x3_d.c' ' ' 'Building target: conval.out' 'Invoking: Linker' "C:/Program Files/Texas Instruments/ccsv4/tools/compiler/c6000/bin/cl6x" -mv64+ -g --diag_warning=225 --abi=coffabi -z -m"conval.map" --warn_sections -i"C:/Program Files/Texas Instruments/ccsv4/tools/compiler/c6000/lib" -i"C:/Program Files/Texas Instruments/ccsv4/tools/compiler/c6000/include" --reread_libs --rom_model -o "conval.out" "./img_conv_3x3_d.obj" "./img_conv_3x3_c.obj" -l"rts64plus.lib" "C:/Users/ams/Desktop/link.cmd" <Linking> "C:\\Users\\ams\\AppData\\Local\\Temp\\059243", line 13: fatal error: unrecognized file: "C:/Users/ams/Desktop/link.cmd"
>> Compilation failure gmake: *** [conval.out] Error 1 gmake: Target `all' not remade because of errors. Build complete for project conval 7.Then i delete the link.cmd,debug from the project and link the two file (rts6400.lib,img64x+.lib)using link file to project command ,and build the project again. it give me the following error(here i changed the project name too)
**** Build of configuration Debug for project mypro ****
C:\Program Files\Texas Instruments\ccsv4\utils\gmake\gmake -k all 'Building file: ../img_conv_3x3_c.c' 'Invoking: Compiler' "C:/Program Files/Texas Instruments/ccsv4/tools/compiler/c6000/bin/cl6x" -mv64+ -g --include_path="C:/Program Files/Texas Instruments/ccsv4/tools/compiler/c6000/include" --diag_warning=225 --abi=coffabi --preproc_with_compile --preproc_dependency="img_conv_3x3_c.pp" "../img_conv_3x3_c.c" 'Finished building: ../img_conv_3x3_c.c' ' ' 'Building file: ../img_conv_3x3_d.c' 'Invoking: Compiler' "C:/Program Files/Texas Instruments/ccsv4/tools/compiler/c6000/bin/cl6x" -mv64+ -g --include_path="C:/Program Files/Texas Instruments/ccsv4/tools/compiler/c6000/include" --diag_warning=225 --abi=coffabi --preproc_with_compile --preproc_dependency="img_conv_3x3_d.pp" "../img_conv_3x3_d.c" 'Finished building: ../img_conv_3x3_d.c' ' ' 'Building target: mypro.out' 'Invoking: Linker' "C:/Program Files/Texas Instruments/ccsv4/tools/compiler/c6000/bin/cl6x" -mv64+ -g --diag_warning=225 --abi=coffabi -z -m"mypro.map" --warn_sections -i"C:/Program Files/Texas Instruments/ccsv4/tools/compiler/c6000/lib" -i"C:/Program Files/Texas Instruments/ccsv4/tools/compiler/c6000/include" --reread_libs --rom_model -o "mypro.out" "./img_conv_3x3_d.obj" "./img_conv_3x3_c.obj" -l"rts6400.lib" "C:/ti/C6400/imglib/lib/img64x.lib" "C:/Program Files/Texas Instruments/ccsv4/tools/compiler/c6000/lib/rts6400.lib" <Linking> warning: creating ".stack" section with default size of 0x400; use the -stack option to change the default size warning: creating ".sysmem" section with default size of 0x400; use the -heap option to change the default size
undefined first referenced symbol in file --------- ---------------- _mem_compare ./img_conv_3x3_d.obj
error: unresolved symbols remain error: errors encountered during linking; "mypro.out" not built
>> Compilation failure gmake: *** [mypro.out] Error 1 gmake: Target `all' not remade because of errors. Build complete for project mypro Please give the solution to solve this problem. thanks in advance. Nathiya.A