This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

RTOS/TDA2EXEVM: error: symbol "atan2" redefined

Part Number: TDA2EXEVM

Tool/software: TI-RTOS

Hi,

I want to build the opencvcanny use case which based on VSDK v3.6 using "tda2xx_evm_bios_all" configuration with ENABLE_OPENCV=yes option.

SDK version: v0306

Config: tda2xx_evm_bios_all

Platform: TDA2XX_EVM / rtos

But it outputs the following library linking error when run "make vision_sdk" command.

I know that both libraries (libm.lib and rts6600_elf.lib) default support from SDK.

Why does it result in the error of redefinition (atan2)?

Could you help teach me how to solve the problem? Thanks.

BRs,

Sam Hsieh

==============================================================

error: symbol "atan2" redefined: first defined in
   "/home/sam/test/TI_SDK_VISION_V03_06/ti_components/open_compute/opencl_rtos_
   am57xx_01_01_10_00/packages/ti/opencl/usr/share/ti/opencl/libm.lib<e_atan2.o
   >"; redefined in
   "/home/sam/test/TI_SDK_VISION_V03_06/ti_components/cg_tools/linux/ti-cgt-c60
   00_8.2.4/lib/rts6600_elf.lib<atan2.obj>"
error: symbol "cosh" redefined: first defined in
   "/home/sam/test/TI_SDK_VISION_V03_06/ti_components/open_compute/opencl_rtos_
   am57xx_01_01_10_00/packages/ti/opencl/usr/share/ti/opencl/libm.lib<e_cosh.o>
   "; redefined in
   "/home/sam/test/TI_SDK_VISION_V03_06/ti_components/cg_tools/linux/ti-cgt-c60
   00_8.2.4/lib/rts6600_elf.lib<cosh.obj>"