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/DRA76P: vision sdk user case link so lib fail

Part Number: DRA76P

Tool/software: TI-RTOS

hi all,

i want to use gc320 chip to render the image in my user case,  so i add the head files in path   apps/tools/gal2d/include/gc_hal_xx.h

and i also add so lib file in path :  apps/tools/gal2d/lib/libGAL.so

then i modify the MAKEFILE.MK in apps\src\hlos\adas\src\usecases\disp_dist_src_display\

 i add

INCLUDE+= -I$($(MAKEAPPNAME)_PATH)/tools/gal2d/include

LIBS += -L$($(MAKEAPPNAME)_PATH)/tools/gal2d/lib/ -lGAL

but when compile is ok, but  link is fail, report can not reference the API in libGAL.so, as following:

 error: undefined reference to 'gco2D_SetSource'

 error: undefined reference to 'gco2D_SetClipping'

how can i modify the make file of vision sdk  to link the libGAL.so into my apps.out?

best regards!

  • Hi,

    Can you please add complete name of your library in the mention path like below.
    LIBS += $($(MAKEAPPNAME)_PATH)/tools/gal2d/lib//libGAL.so

    And while building please do not provide -S option to make and check while linking whether it take the above library or not.

    Regards,
    Anuj
  • hi Anuj,
    thanks for your reply, i try LIBS += $($(MAKEAPPNAME)_PATH)/tools/gal2d/lib//libGAL.so, but also build fail.

    i try to modify includes_a15.mk with adding the following can build success:
    PLAT_LINK += -L$($(MAKEAPPNAME)_PATH)/tools/gal2d/lib/ -lGAL