tsne / monav

Automatically exported from code.google.com/p/monav
0 stars 0 forks source link

build failure: QtMultimedia: No such file or directory #88

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. hg clone -b permaroute https://code.google.com/p/monav/
2. cd monav
3. for i in *.pro; do qmake -o $i.makefile $i; done
4. make -f monavclient.pro.makefile

What is the expected output?

Build does not stop.

What do you see instead?

...
g++ -c -m64 -pipe -O3 -Wno-unused-function -Wall -W -D_REENTRANT -DQT_WEBKIT 
-DNOQTMOBILE -DQT_NO_DEBUG -DQT_MULTIMEDIA_LIB -DQT_SVG_LIB -DQT_XML_LIB 
-DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED 
-I/usr/share/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/qt4/QtCore 
-I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtXml 
-I/usr/include/qt4/QtSvg -I/usr/include/qt4/QtMultimedia -I/usr/include/qt4 
-I.. -I. -I. -o mapdata.o mapdata.cpp
g++ -c -m64 -pipe -O3 -Wno-unused-function -Wall -W -D_REENTRANT -DQT_WEBKIT 
-DNOQTMOBILE -DQT_NO_DEBUG -DQT_MULTIMEDIA_LIB -DQT_SVG_LIB -DQT_XML_LIB 
-DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED 
-I/usr/share/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/qt4/QtCore 
-I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtXml 
-I/usr/include/qt4/QtSvg -I/usr/include/qt4/QtMultimedia -I/usr/include/qt4 
-I.. -I. -I. -o routinglogic.o routinglogic.cpp
In file included from routinglogic.cpp:35:0:
audio.h:27:24: fatal error: QtMultimedia: No such file or directory
compilation terminated.
make[1]: *** [routinglogic.o] Error 1
make[1]: Leaving directory `/home/lindi/scm/monav/client'
make: *** [sub-client-make_default] Error 2

What version of the product are you using? On what operating system?

changeset:   559:6c760c6d093f

Debian unstable amd64

Please provide any additional information below.

/usr/include/qt4/Qt/QtMultimedia is part of libqt4-dev package in debian stable 
but not in unstable anymore.

Original issue reported on code.google.com by timo.lin...@gmail.com on 20 Jun 2012 at 12:03

GoogleCodeExporter commented 9 years ago
Just guessing. Maybe the following changelog entry from debian is relevant?

 qt4-x11  (4:4.7.0~beta2-1) experimental; urgency=low

   * New upstream release.
   * Remove Qt Multimedia, Qt MediaServices and Qt WebKit packages.
   * Remove Debian patches:
     - 81_hurd_architecture.diff - merged upstream.
     - 97_alpha_ftbfs_qatomic_alpha_h_types.diff - merged upstream.
   * Update debian/control:
     - bump Standards-Version to 3.9.0.
     - remove libqt4-declarative-widgets package.
     - add libqt4-declarative-folderlistmodel package.
     - add libqt4-declarative-gestures package.
     - add libqt4-webkit dummy transitional package for the libqtwebkit4
       package.
   * Update debian/rules:
     - replace -multimedia by -no-multimedia configure option.
     - replace -webkit by -no-webkit configure option.
     - remove leftover directories in override_dh_auto_install target.
   * Update installed files.
   * Update symbols files.
   * Update debian/copyright: include files licensed under a BSD-style license.

 -- Fathi Boudra <fabo@debian.org>  Thu, 08 Jul 2010 16:59:50 +0300 

Original comment by timo.lin...@gmail.com on 20 Jun 2012 at 12:14

GoogleCodeExporter commented 9 years ago
I had the same problem about three months ago on Ubuntu (as far as I know they 
just use the Debian packages).

I remember there was some change in Qt 4.8, where the Qt Multimedia part was 
moved to some other place, but Debian/Ubuntu didn't seem to have packaged that 
yet. See 
http://labs.qt.nokia.com/2010/05/06/qt-47-scope-change-regarding-qt-multimedia/

The only way I got it to compile is by manually removing all references to Qt 
Multimedia.

Original comment by willem.s...@gmail.com on 23 Jun 2012 at 4:28

GoogleCodeExporter commented 9 years ago
Ok but then you don't get audio? I'm testing the "permaroute" branch 
specifically because I want to test the new audio code.

Original comment by timo.lin...@gmail.com on 23 Jun 2012 at 4:39

GoogleCodeExporter commented 9 years ago
It should probably be migrated to Qt Mobility's QtMultimediaKit - 
http://doc.qt.nokia.com/qtmobility-1.2/multimedia.html. Qt Multimedia never got 
released as part of Qt.

Both are quite high level API:s, so maybe the migration would be relatively 
small effort.

Original comment by timo.jyr...@gmail.com on 22 Jul 2012 at 5:44

GoogleCodeExporter commented 9 years ago
(Debian source package qtmobility, binary packages libqtmultimediakit1 and 
qtmobility-dev)

Original comment by timo.jyr...@gmail.com on 22 Jul 2012 at 5:46

GoogleCodeExporter commented 9 years ago
I finally figured out how to build monav. See the attached three patches.

Original comment by timo.lin...@gmail.com on 13 Sep 2012 at 1:03

Attachments:

GoogleCodeExporter commented 9 years ago
One more patch

Original comment by timo.lin...@gmail.com on 13 Sep 2012 at 1:07

Attachments: