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

Trouble building Marble...finding Phonon

Tags: None
(comma "," separated)
bryang
Registered Member
Posts
1
Karma
0
Hello all,

I'm having trouble building marble on rhel 6, Qt 4.6.2, marble source 1.2.0. It appears as though it can't find Phonon, but cmake reports that it finds phonon; however, during the make process, phonon-related objects appear to cause errors.

Any suggestions would be greatly appreciated.

Bryan

cmake output:
Code: Select all
$ cmake -DQTONLY=ON ../marble
-- Could NOT find libgps  (missing:  LIBGPS_INCLUDE_DIR LIBGPS_LIBRARIES)
-- Not building with gpsd position provider
-- checking for module 'liblocation>=0.102'
--   package 'liblocation>=0.102' not found
-- Could NOT find QtMobility  (missing:  QTMOBILITY_INCLUDE_DIR)
-- Could NOT find QtLocation  (missing:  QTLOCATION_INCLUDE_DIR QTLOCATION_LIBRARIES)
-- Configuring done
-- Generating done
-- Build files have been written to: /home/ro22026/QtProjects/marble-build
[ro22026@g63-468613-mitll marble-build]$ cmake -DQTONLY=ON ../marble
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- CTest cannot determine repository type. Please set UPDATE_TYPE to 'cvs' or 'svn'. CTest update will not work.
-- Looking for Q_WS_X11
-- Looking for Q_WS_X11 - found
-- Looking for Q_WS_WIN
-- Looking for Q_WS_WIN - not found.
-- Looking for Q_WS_QWS
-- Looking for Q_WS_QWS - not found.
-- Looking for Q_WS_MAC
-- Looking for Q_WS_MAC - not found.
-- Found Qt-Version 4.6.2
-- Looking for _POSIX_TIMERS
-- Looking for _POSIX_TIMERS - found
-- Found Phonon: /usr/include
-- Looking for cfmakeraw
-- Looking for cfmakeraw - found
-- Looking for include files HAVE_SYS_FILIO_H
-- Looking for include files HAVE_SYS_FILIO_H - not found.
-- Could NOT find libgps  (missing:  LIBGPS_INCLUDE_DIR LIBGPS_LIBRARIES)
-- Not building with gpsd position provider
-- checking for module 'liblocation>=0.102'
--   package 'liblocation>=0.102' not found
-- Could NOT find QtMobility  (missing:  QTMOBILITY_INCLUDE_DIR)
-- Could NOT find QtLocation  (missing:  QTLOCATION_INCLUDE_DIR QTLOCATION_LIBRARIES)
-- Configuring done
-- Generating done
-- Build files have been written to: /home/ro22026/QtProjects/marble-build





make output (partial):
Code: Select all
[ 85%] Building CXX object src/plugins/render/routing/CMakeFiles/RoutingPlugin.dir/AudioOutput.o
/home/ro22026/QtProjects/marble/src/plugins/render/routing/AudioOutput.cpp:18:30: error: phonon/MediaObject: No such file or directory
/home/ro22026/QtProjects/marble/src/plugins/render/routing/AudioOutput.cpp:19:30: error: phonon/MediaSource: No such file or directory
/home/ro22026/QtProjects/marble/src/plugins/render/routing/AudioOutput.cpp:20:30: error: phonon/AudioOutput: No such file or directory
/home/ro22026/QtProjects/marble/src/plugins/render/routing/AudioOutput.cpp:36: error: ‘Phonon’ has not been declared
/home/ro22026/QtProjects/marble/src/plugins/render/routing/AudioOutput.cpp:36: error: ISO C++ forbids declaration of ‘MediaObject’ with no type
/home/ro22026/QtProjects/marble/src/plugins/render/routing/AudioOutput.cpp:36: error: expected ‘;’ before ‘*’ token
/home/ro22026/QtProjects/marble/src/plugins/render/routing/AudioOutput.cpp: In constructor ‘Marble::AudioOutputPrivate::AudioOutputPrivate(Marble::AudioOutput*)’:
/home/ro22026/QtProjects/marble/src/plugins/render/routing/AudioOutput.cpp:68: error: class ‘Marble::AudioOutputPrivate’ does not have any field named ‘m_output’
/home/ro22026/QtProjects/marble/src/plugins/render/routing/AudioOutput.cpp: In member function ‘void Marble::AudioOutputPrivate::audioOutputFinished()’:
/home/ro22026/QtProjects/marble/src/plugins/render/routing/AudioOutput.cpp:76: error: ‘m_output’ was not declared in this scope
/home/ro22026/QtProjects/marble/src/plugins/render/routing/AudioOutput.cpp: In member function ‘void Marble::AudioOutputPrivate::setupAudio()’:
/home/ro22026/QtProjects/marble/src/plugins/render/routing/AudioOutput.cpp:140: error: ‘m_output’ was not declared in this scope
/home/ro22026/QtProjects/marble/src/plugins/render/routing/AudioOutput.cpp:141: error: expected type-specifier before ‘Phonon’
/home/ro22026/QtProjects/marble/src/plugins/render/routing/AudioOutput.cpp:141: error: expected ‘;’ before ‘Phonon’
/home/ro22026/QtProjects/marble/src/plugins/render/routing/AudioOutput.cpp:142: error: ‘Phonon’ has not been declared
/home/ro22026/QtProjects/marble/src/plugins/render/routing/AudioOutput.cpp:142: error: ‘audioOutput’ was not declared in this scope
/home/ro22026/QtProjects/marble/src/plugins/render/routing/AudioOutput.cpp:142: error: expected type-specifier before ‘Phonon’
/home/ro22026/QtProjects/marble/src/plugins/render/routing/AudioOutput.cpp:142: error: expected ‘;’ before ‘Phonon’
/home/ro22026/QtProjects/marble/src/plugins/render/routing/AudioOutput.cpp:143: error: ‘Phonon’ has not been declared
/home/ro22026/QtProjects/marble/src/plugins/render/routing/AudioOutput.cpp: In member function ‘void Marble::AudioOutputPrivate::enqueue(qreal, Marble::RoutingInstruction::TurnType)’:
/home/ro22026/QtProjects/marble/src/plugins/render/routing/AudioOutput.cpp:151: error: ‘m_output’ was not declared in this scope
/home/ro22026/QtProjects/marble/src/plugins/render/routing/AudioOutput.cpp:162: error: ‘m_output’ was not declared in this scope
/home/ro22026/QtProjects/marble/src/plugins/render/routing/AudioOutput.cpp: In member function ‘void Marble::AudioOutputPrivate::enqueue(const QString&)’:
/home/ro22026/QtProjects/marble/src/plugins/render/routing/AudioOutput.cpp:172: error: ‘m_output’ was not declared in this scope
/home/ro22026/QtProjects/marble/src/plugins/render/routing/AudioOutput.cpp: In member function ‘void Marble::AudioOutputPrivate::reset()’:
/home/ro22026/QtProjects/marble/src/plugins/render/routing/AudioOutput.cpp:179: error: ‘m_output’ was not declared in this scope
/home/ro22026/QtProjects/marble/src/plugins/render/routing/AudioOutput.cpp: In member function ‘void Marble::AudioOutput::update(const Marble::Route&, qreal)’:
/home/ro22026/QtProjects/marble/src/plugins/render/routing/AudioOutput.cpp:214: error: ‘class Marble::AudioOutputPrivate’ has no member named ‘m_output’
/home/ro22026/QtProjects/marble/src/plugins/render/routing/AudioOutput.cpp:214: error: ‘class Marble::AudioOutputPrivate’ has no member named ‘m_output’
/home/ro22026/QtProjects/marble/src/plugins/render/routing/AudioOutput.cpp:217: error: ‘class Marble::AudioOutputPrivate’ has no member named ‘m_output’
/home/ro22026/QtProjects/marble/src/plugins/render/routing/AudioOutput.cpp:218: error: ‘class Marble::AudioOutputPrivate’ has no member named ‘m_output’
/home/ro22026/QtProjects/marble/src/plugins/render/routing/AudioOutput.cpp: In member function ‘void Marble::AudioOutput::announceDestination()’:
/home/ro22026/QtProjects/marble/src/plugins/render/routing/AudioOutput.cpp:327: error: ‘class Marble::AudioOutputPrivate’ has no member named ‘m_output’
/home/ro22026/QtProjects/marble/src/plugins/render/routing/AudioOutput.cpp:328: error: ‘class Marble::AudioOutputPrivate’ has no member named ‘m_output’
make[2]: *** [src/plugins/render/routing/CMakeFiles/RoutingPlugin.dir/AudioOutput.o] Error 1
make[1]: *** [src/plugins/render/routing/CMakeFiles/RoutingPlugin.dir/all] Error 2
make: *** [all] Error 2

User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
Do you have Phonon from KDE or from Qt?
It is known there are issues with header capitalisation (Phonon/ vs. phonon/), which seems to be causing this (as indicated by the #include errors)


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]


Bookmarks



Who is online

Registered users: Bing [Bot], claydoh, Google [Bot], rblackwell