Has anyone been able to create a linux app that uses both the QT and OpenMax (omx) libraries. I have had no problems building and running all the demo applications. However, as soon as one wants to create an app that uses more than one TI library it seems that the provided make files can no longer be used. I have tried to do this by creating a QT .pro file for my application and adding in the OMX libraries as external dependencies. Here is the .pro file ...
omx_PATH = ${EZSDK}/omx_05_01_01_80
osal_PATH = ${EZSDK}/osal_1_21_00_05_eng
fc_PATH = ${EZSDK}/framework-components_3_21_00_17_eng
syslink_PATH = ${EZSDK}/syslink_02_00_00_68_beta1
linuxutils_PATH = ${EZSDK}/linuxutils_3_21_00_02_eng
TEMPLATE = app
TARGET =
DEPENDPATH += . include
INCLUDEPATH += . include /usr/local/boost_1_xx ${EZSDK}/omx_05_01_01_80/packages/ti/omx/interfaces/openMaxv11
QT = core network
CONFIG += debug
LIBS += $${omx_PATH}/lib/omxcore.av5T
LIBS += $${omx_PATH}/lib/domx.av5T
LIBS += $${omx_PATH}/lib/memcfg.av5T
LIBS += $${omx_PATH}/lib/timmosal.av5T
LIBS += $${omx_PATH}/lib/domx_delegates_shmem.av5T
LIBS += $${osal_PATH}/packages/ti/sdo/xdcruntime/linux/lib/debug/osal_linux_470.av5T
LIBS += $${osal_PATH}/packages/linuxdist/build/lib/osal.a
LIBS += $${osal_PATH}/packages/linuxdist/cstubs/lib/cstubs.a
LIBS += $${fc_PATH}/packages/ti/sdo/rcm/lib/debug/rcm_syslink.av5T
LIBS += $${fc_PATH}/packages/ti/sdo/fc/memutils/lib/release/memutils.av5T
LIBS += $${osal_PATH}/packages/ti/sdo/xdcruntime/linux/lib/debug/osal_linux_470.av5T
LIBS += $${fc_PATH}/packages/ti/sdo/fc/global/lib/debug/fcsettings.av5T
LIBS += $${syslink_PATH}/ti/syslink/lib/syslink.a_debug
LIBS += $${linuxutils_PATH}/packages/ti/sdo/linuxutils/cmem/lib/cmem.a470MV
# Input
HEADERS += include/app_types.h \
include/rtcp_receive.h \
include/rtcp_transmit.h \
include/rtp_transmit.h \
include/rtsp_connection.h \
include/video_server.h
SOURCES += main.cpp \
rtcp_receive.cpp \
rtcp_transmit.cpp \
rtp_transmit.cpp \
rtsp_connection.cpp \
video_server.cpp
All source files compile correctly however the link stage fails citing multiple undefined references. Here is a snippet of the linker output ...
/home/steveb/ti-ezsdk_dm816x-evm_5_01_01_80/omx_05_01_01_80/lib/omxcore.av5T(omx_core.ov5T): In function `OMX_GetHandle':
/swcoe/sdk/cm/netra/arago-tmp/work/dm816x-evm-none-linux-gnueabi/ti-omx-libs-05_01_01_80-r1/omx_05_01_01_80/packages/ti/omx/omxcore/src/omx_core.c:325: undefined reference to `OMXComponentList'
/home/steveb/ti-ezsdk_dm816x-evm_5_01_01_80/omx_05_01_01_80/lib/omxcore.av5T(omx_core.ov5T): In function `OMX_ComponentNameEnum':
/swcoe/sdk/cm/netra/arago-tmp/work/dm816x-evm-none-linux-gnueabi/ti-omx-libs-05_01_01_80-r1/omx_05_01_01_80/packages/ti/omx/omxcore/src/omx_core.c:507: undefined reference to `OMXComponentList'
/home/steveb/ti-ezsdk_dm816x-evm_5_01_01_80/omx_05_01_01_80/lib/omxcore.av5T(omx_core.ov5T): In function `OMX_GetRolesOfComponent':
/swcoe/sdk/cm/netra/arago-tmp/work/dm816x-evm-none-linux-gnueabi/ti-omx-libs-05_01_01_80-r1/omx_05_01_01_80/packages/ti/omx/omxcore/src/omx_core.c:594: undefined reference to `OMXComponentList'
/home/steveb/ti-ezsdk_dm816x-evm_5_01_01_80/omx_05_01_01_80/lib/omxcore.av5T(omx_core.ov5T): In function `OMX_GetComponentsOfRole':
/swcoe/sdk/cm/netra/arago-tmp/work/dm816x-evm-none-linux-gnueabi/ti-omx-libs-05_01_01_80-r1/omx_05_01_01_80/packages/ti/omx/omxcore/src/omx_core.c:666: undefined reference to `OMXComponentList'
/home/steveb/ti-ezsdk_dm816x-evm_5_01_01_80/omx_05_01_01_80/lib/domx.av5T(DomxTunnelMgr.ov5T): In function `domxtmgr_map_component_name2info':
/swcoe/sdk/cm/netra/arago-tmp/work/dm816x-evm-none-linux-gnueabi/ti-omx-libs-05_01_01_80-r1/omx_05_01_01_80/packages/ti/omx/domx/DomxTunnelMgr.c:119: undefined reference to `DomxCore_componentCoreInfoTbl'
Any help would be greatly appreciated.