[mythtv] compiling mythtv frontend for cygwin

Nigel Pearson nigel at ind.tansu.com.au
Fri Aug 6 02:26:22 EDT 2004


> command is: 'ln -s cygmythavcodec-0.15-0.dll libmythavcodec-0.15.dll'  
> in
> libs/libavcodec. It appears that libmythavcodec-0.15.dll.a exists as a
> symlink already to ../bin/cygmythavcodec-0.15-0.dll, but that file  
> doesn't
> exist

	Weird. I am assuming that -lblah expands to cygblah.dll
under Cygwin. We probably need to change these lines:

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

to

LIBPREFIX=lib
win32 {
     LIBPREFIX=cyg
}
TARGETDEPS +=  
../libmyth/$${LIBPREFIX}myth-$${LIBVERSION}.$${QMAKE_EXTENSION_SHLIB}
TARGETDEPS +=  
../libavcodec/$${LIBPREFIX}mythavcodec- 
$${LIBVERSION}.$${QMAKE_EXTENSION_SHLIB}
TARGETDEPS +=  
../libavformat/$${LIBPREFIX}mythavformat- 
$${LIBVERSION}.$${QMAKE_EXTENSION_SHLIB}


> The file shows a bunch of weird compiler errors, mostly in qnetwork.h  
> in
> the directx headers.

	You are on your own with those errors. Sorry George.

--
Nigel Pearson, nigel at ind.tansu.com.au | "Peacemaking is our profession"
Telstra BI&D, Sydney, Australia       | Motto of Burpelson Airforce Base
Office: 8255 4222    Fax:  8255 3153  | Commanded by Gen. Jack D. Ripper
Mobile: 0408 664435  Home: 9792 6998  |        Dr Strangelove



More information about the mythtv-dev mailing list