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?
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"
"C:\\Users\\(Username)\\AppData\\Local\\Temp\\041403", line 18: error: cannot
find file "./slave/src/back_projection.obj"
undefined first referenced
symbol in file
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.
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.