This forum has been archived. All content is frozen. Please use KDE Discuss instead.

[SOLVED] Building from source fails at 29% with QImage errors Vectorscope

Tags: None
(comma "," separated)
yellow_drupal
Registered Member
Posts
748
Karma
0
Hi

First attempts at compiling from svn fails with:

[ 29%] Building CXX object src/cmake_bindir/CMakeFiles/kdenlive.dir/kdenlive_automoc.o
In file included from /home/yellow/Apps/kdenlive/src/cmake_bindir/kdenlive_automoc.cpp:4:
/home/yellow/Apps/kdenlive/src/cmake_bindir/moc_vectorscopegenerator.cpp: In member function ‘virtual int VectorscopeGenerator::qt_metacall(QMetaObject::Call, int, void**)’:
/home/yellow/Apps/kdenlive/src/cmake_bindir/moc_vectorscopegenerator.cpp:73: error: invalid use of incomplete type ‘struct QImage’
/home/yellow/Apps/kdenlive/src/cmake_bindir/../colorcorrection/vectorscopegenerator.h:16: error: forward declaration of ‘struct QImage’
/home/yellow/Apps/kdenlive/src/cmake_bindir/moc_vectorscopegenerator.cpp:73: error: initializing argument 1 of ‘void VectorscopeGenerator::signalCalculationFinished(QImage, const uint&)’
In file included from /home/yellow/Apps/kdenlive/src/cmake_bindir/kdenlive_automoc.cpp:4:
/home/yellow/Apps/kdenlive/src/cmake_bindir/moc_vectorscopegenerator.cpp: In member function ‘void VectorscopeGenerator::signalCalculationFinished(QImage, const uint&)’:
/home/yellow/Apps/kdenlive/src/cmake_bindir/moc_vectorscopegenerator.cpp:82: error: ‘_t1’ has incomplete type
/home/yellow/Apps/kdenlive/src/cmake_bindir/../colorcorrection/vectorscopegenerator.h:16: error: forward declaration of ‘struct QImage’
make[2]: *** [src/cmake_bindir/CMakeFiles/kdenlive.dir/kdenlive_automoc.o] Error 1
make[1]: *** [src/cmake_bindir/CMakeFiles/kdenlive.dir/all] Error 2
make: *** [all] Error 2
yellow@yellow-laptop:~/Apps/kdenlive$

Any help would be appreciated.

KDE Dev libs listed in compile instructions are installed.

Maverick Meerkat 32bit Kdenlive SVN Rev 4740
Granjow
Moderator
Posts
247
Karma
0
make clean, running cmake and make again does not help either?
Cannot reproduce here.

Granjow
yellow_drupal
Registered Member
Posts
748
Karma
0
No still failing, I'm running Maverick Meerkat and using 'Cutting Edge Multimedia' PPA from the VDPAU Team maybe that has something to do with it.

-- Found Qt-Version 4.7.0 (using /usr/bin/qmake-qt4)
-- Found X11: /usr/lib/libX11.so
-- Found KDE 4.5 include dir: /usr/include
-- Found KDE 4.5 library dir: /usr/lib
-- Found the KDE4 kconfig_compiler preprocessor: /usr/bin/kconfig_compiler
-- Found automoc4: /usr/bin/automoc4
-- MLT install path: /usr
-- MLT includes: /usr/include/mlt
-- MLT library: /usr/lib/libmlt.so
-- MLT++ includes: /usr/include
-- MLT++ library: /usr/lib/libmlt++.so
-- Found msgfmt: /usr/bin/msgfmt
Current revision is 4740


ttill
Registered Member
Posts
372
Karma
0
Probably related to Qt 4.7 which is not released yet. What happens if you replace "class QImage;" by "#include < QImage>" (remove whitespace before QImage) in src/colorcorrection/vectorscopegenerator.h?
yellow_drupal
Registered Member
Posts
748
Karma
0
ttill, thanks that's solved it. :-)
Granjow
Moderator
Posts
247
Karma
0
ttill, what is the reason for that? Why is this related to Qt? Isn't this just a C(++) question?


Bookmarks



Who is online

Registered users: Bing [Bot], blue_bullet, Google [Bot], Yahoo [Bot]