[mythtv] Re: compiling mythtv frontend for cygwin

Mario L superm1 at gmail.com
Mon Sep 27 21:42:31 EDT 2004


One more fix and then things should link and compile all the way
through libmythtv

//mythCVS/libs/libmythtv/libmythtv.pro
LIBS += -lmyth-$${LIBVERSION} -lmythavcodec-$${LIBVERSION}
-lmythavformat-$${LIBVERSION} $$EXTRA_LIBS

TARGETDEPS += ../libmyth/libmyth-$${LIBVERSION}.$${QMAKE_EXTENSION_SHLIB}
TARGETDEPS += ../libavcodec/libmythavcodec-$${LIBVERSION}.$${QMAKE_EXTENSION_SHLIB}
TARGETDEPS += ../libavformat/libmythavformat-$${LIBVERSION}.$${QMAKE_EXTENSION_SHLIB}

/*to*/
LIBS += -lmyth-$${LIBVERSION}-0 -lmythavcodec-$${LIBVERSION}-0
-lmythavformat-$${LIBVERSION}-0 $$EXTRA_LIBS

TARGETDEPS += ../libmyth/cygmyth-$${LIBVERSION}-0.$${QMAKE_EXTENSION_SHLIB}
TARGETDEPS += ../libavcodec/cygmythavcodec-$${LIBVERSION}-0.$${QMAKE_EXTENSION_SHLIB}
TARGETDEPS += ../libavformat/cygmythavformat-$${LIBVERSION}-0.$${QMAKE_EXTENSION_SHLIB}

It still won't link however:

Info: resolving vtable for ManagedListSettingby linking to
__imp___ZTV18ManagedListSettvsync.o(.text+0xa03):vsync.cpp: undefined
reference to `DRMVideoSync::sm_dri_dev'
vsync.o(.text+0xab5):vsync.cpp: undefined reference to
`DRMVideoSync::sm_dri_dev'
videoout_dx.o(.text+0x4724):videoout_dx.cpp: undefined reference to
`_CreateSolidBrush at 4'
videoout_dx.o(.text+0x8dfe):videoout_dx.cpp: undefined reference to
`_GetPixel at 12'

Info: resolving vtable for ManagedListSettingby linking to
__imp___ZTV18ManagedListSettvsync.o(.text+0xa03):vsync.cpp: undefined
reference to `DRMVideoSync::sm_dri_dev'
vsync.o(.text+0xab5):vsync.cpp: undefined reference to
`DRMVideoSync::sm_dri_dev'
videoout_dx.o(.text+0x4724):videoout_dx.cpp: undefined reference to
`_CreateSolidBrush at 4'
videoout_dx.o(.text+0x8dfe):videoout_dx.cpp: undefined reference to
`_GetPixel at 12'


More information about the mythtv-dev mailing list