Hi all,
I have created a source file and added to the MCSDK Image processing demo master project (using CCS v5.0.23). After build, the .obj for the source file is created in the debug folder.
But when I create the same file in the slave its corresponding .obj is not created. And hence the error
undefined symbol filter(function in the source file) first referenced in image_processing_task(function called from here)
WHY IS THE .OBJ FILE NOT CREATED? DO WE HAVE TO MAKE ANY MODIFICATIONS IN ORDER TO ADD NEW FILES?
Regards,
Sohal
HI all,
Copying below the part of the error console.
'Building target: image_processing_evmc6678l_slave.out'
'Invoking: C6000 Linker'
"C:/Program Files/Texas Instruments/C6000 Code Generation Tools 7.2.1/bin/cl6x" -mv6600 -g --diag_warning=225 --abi=eabi -z -m"image_processing_evmc6678l_slave.map" --heap_size=0x100000 --warn_sections -i"C:/Program Files/Texas Instruments/C6000 Code Generation Tools 7.2.1/lib" -i"C:/Program Files/Texas Instruments/C6000 Code Generation Tools 7.2.1/include" -i"C:/Program Files/Texas Instruments/imglib_c66x_3_0_1_0\lib" --reread_libs --relocatable --ram_model --dynamic -o "image_processing_evmc6678l_slave.out" -l"./configPkg/linker.cmd" "./common/src/image_processing_task.obj" "./common/src/image_processing.obj" "./slave/src/mcip_slave_main.obj" "./slave/src/back_projection.obj" -l"imglib.ae66" -l"libc.a"
<Linking>
"C:\\Users\\(Username)\\AppData\\Local\\Temp\\041403", line 18: error: cannot
find file "./slave/src/back_projection.obj"
undefined first referenced
symbol in file
--------- ----------------
filter ./common/src/image_processing_task.obj
error: unresolved symbols remain
error: errors encountered during linking;
"image_processing_evmc6678l_slave.out" not built
>> Compilation failure
gmake: *** [image_processing_evmc6678l_slave.out] Error 1
gmake: Target `all' not remade because of errors.