(SOLVED) MLT 0.8.0 fails to see QT4 qimage build libs when present.

Hi,

This is a copy and paste from an email I sent to the mlt-devel mailing list that for some curious reason got bounced back to me although I have sent messages to the mlt-devel mailing list previously...

Hi,

I'm trying to build and package MLT 0.8.0 for AV Linux (based on Debian
Squeeze with QT4 4.6.3) however it seems to not recognize the qt4 libs for qimage being
present on the system even when the locations are explicitly indicated in
the configure command. MLT 0.7.8 on the same system configures and finds
the correct qt4 qimage dependencies and builds successfully.

Any help or advice is appreciated, I am trying to finish up the release of
AV Linux 6.0 and am being bitten by the 'render crashes when finished' bug
with the current MLT 0.7.8 and Kdenlive 0.9.2

Sincere thanks, Glen MacArthur - AV Linux Maintainer

Here is the terminal output from the configure stage, the resulting
compilation also fails:

tester@av6devdesk:~/Build/mlt-0.8.0$ ./configure --prefix=/usr
--enable-gpl --enable-gpl3 --qimage-libdir=/usr/lib/qt4/
--qimage-includedir=/usr/include/qt4/ --swig-languages=python
Configuring framework:
Configuring modules:
Configuring modules/avformat:
Configuring modules/core:
Configuring modules/decklink:
Configuring modules/dgraft:
Configuring modules/dv:
Configuring modules/effectv:
Configuring modules/feeds:
Configuring modules/frei0r:
Configuring modules/gtk2:
Libexif found, enabling auto rotate
Configuring modules/jackrack:
Configuring modules/kdenlive:
Configuring modules/kino:
Configuring modules/linsys:
Configuring modules/lumas:
Configuring modules/motion_est:
Configuring modules/normalize:
Configuring modules/oldfilm:
Configuring modules/plus:
Configuring modules/qimage:
Libexif found, enabling auto rotate
Qt version 3.x detected, will compile Qt3 qimage producer
Include directory: /usr/include/qt4/
Configuring modules/resample:
Configuring modules/rotoscoping:
Configuring modules/rtaudio:
Configuring modules/sdl:
Configuring modules/sox:
Configuring modules/swfdec:
Configuring modules/videostab:
Configuring modules/vmfx:
Configuring modules/vorbis:
Configuring modules/xine:
Configuring modules/xml:
Configuring melt:
Configuring mlt++:
Configuring swig:
GPLv3 license used
tester@av6devdesk:~/Build/mlt-0.8.0$

Compilation failure output:

qimage_wrapper.cpp:27:20: fatal error: qimage.h: No such file or directory
compilation terminated.
g++ -I../.. -Wall -DPIC -O2 -pipe -fno-tree-dominator-opts -fno-tree-pre
-ffast-math -DUSE_MMX -DUSE_SSE -DUSE_SSE2 -g -D_FILE_OFFSET_BITS=64
-D_LARGEFILE_SOURCE -fPIC -pthread -DGPL3 -I/usr/include/qt4/
-I/usr/include/kde -DQT_THREAD_SUPPORT -I/usr/include/libexif
-Wno-deprecated -c -o kdenlivetitle_wrapper.o kdenlivetitle_wrapper.cpp
make[2]: *** [qimage_wrapper.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/home/tester/Build/mlt-0.8.0/src/modules/qimage'
make[1]: *** [all] Error 1
make[1]: Leaving directory `/home/tester/Build/mlt-0.8.0/src/modules'
make: *** [all] Error 1
tester@av6devdesk:~/Build/mlt-0.8.0$

Hi,

Removing these switches '--qimage-libdir=/usr/lib/qt4/ --qimage-includedir=/usr/include/qt4/' it will now build using mlt 0.8.1 from GIT

Pages