Bug 180196

Summary: digikam fails to compile on mac os x leopard
Product: [Applications] digikam Reporter: Salvatore Brigaglia <opensourcecat>
Component: Portability-CompilationAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: 0.10.0   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Other   
Latest Commit: Version Fixed In: 0.10.0
Sentry Crash Report:

Description Salvatore Brigaglia 2009-01-09 23:40:24 UTC
Version:            (using Devel)
Compiler:          gcc 4.2 xcode 3.1.2
OS:                OS X
Installed from:    Compiled sources

these are the last lines of the output:
[...]
[ 45%] Building CXX object digikam/themedesigner/CMakeFiles/digikamthemedesigner.dir/mainwindow.o
[ 46%] Building CXX object digikam/themedesigner/CMakeFiles/digikamthemedesigner.dir/themedicongroupitem.o
[ 46%] Building CXX object digikam/themedesigner/CMakeFiles/digikamthemedesigner.dir/themediconitem.o
[ 46%] Building CXX object digikam/themedesigner/CMakeFiles/digikamthemedesigner.dir/themediconview.o
[ 46%] Building CXX object digikam/themedesigner/CMakeFiles/digikamthemedesigner.dir/digikamadaptor.o
Linking CXX executable digikamthemedesigner.app/Contents/MacOS/digikamthemedesigner
Undefined symbols:
  "Phonon::VideoPlayer::VideoPlayer(Phonon::Category, QWidget*)", referenced from:
      Digikam::MediaPlayerView::MediaPlayerView(QWidget*)in mediaplayerview.o
      Digikam::MediaPlayerView::MediaPlayerView(QWidget*)in mediaplayerview.o
  "Phonon::SeekSlider::SeekSlider(QWidget*)", referenced from:
      Digikam::MediaPlayerView::MediaPlayerView(QWidget*)in mediaplayerview.o
      Digikam::MediaPlayerView::MediaPlayerView(QWidget*)in mediaplayerview.o
  "Phonon::VideoPlayer::stop()", referenced from:
      Digikam::MediaPlayerView::~MediaPlayerView()in mediaplayerview.o
      Digikam::MediaPlayerView::~MediaPlayerView()in mediaplayerview.o
      Digikam::MediaPlayerView::~MediaPlayerView()in mediaplayerview.o
      Digikam::MediaPlayerView::escapePreview()      in mediaplayerview.o
      Digikam::MediaPlayerView::setMediaPlayerFromUrl(KUrl const&) in mediaplayerview.o
  "Phonon::MediaSource::MediaSource(QUrl const&)", referenced from:
      Digikam::MediaPlayerView::setMediaPlayerFromUrl(KUrl const&) in mediaplayerview.o
  "Phonon::SeekSlider::setMediaObject(Phonon::MediaObject*)", referenced from:
      Digikam::MediaPlayerView::MediaPlayerView(QWidget*)in mediaplayerview.o
      Digikam::MediaPlayerView::MediaPlayerView(QWidget*)in mediaplayerview.o
  "Phonon::VideoPlayer::videoWidget() const", referenced from:
      Digikam::MediaPlayerView::MediaPlayerView(QWidget*)in mediaplayerview.o
      Digikam::MediaPlayerView::MediaPlayerView(QWidget*)in mediaplayerview.o
  "Phonon::MediaObject::setTickInterval(int)", referenced from:
      Digikam::MediaPlayerView::MediaPlayerView(QWidget*)in mediaplayerview.o
      Digikam::MediaPlayerView::MediaPlayerView(QWidget*)in mediaplayerview.o
  "Phonon::VideoPlayer::play(Phonon::MediaSource const&)", referenced from:
      Digikam::MediaPlayerView::setMediaPlayerFromUrl(KUrl const&) in mediaplayerview.o
  "Phonon::VideoPlayer::mediaObject() const", referenced from:
      Digikam::MediaPlayerView::slotPlayerFinished()      in mediaplayerview.o
      Digikam::MediaPlayerView::MediaPlayerView(QWidget*)in mediaplayerview.o
      Digikam::MediaPlayerView::MediaPlayerView(QWidget*)in mediaplayerview.o
      Digikam::MediaPlayerView::MediaPlayerView(QWidget*)in mediaplayerview.o
      Digikam::MediaPlayerView::MediaPlayerView(QWidget*)in mediaplayerview.o
      Digikam::MediaPlayerView::MediaPlayerView(QWidget*)in mediaplayerview.o
      Digikam::MediaPlayerView::MediaPlayerView(QWidget*)in mediaplayerview.o
      Digikam::MediaPlayerView::MediaPlayerView(QWidget*)in mediaplayerview.o
      Digikam::MediaPlayerView::MediaPlayerView(QWidget*)in mediaplayerview.o
  "Phonon::MediaSource::~MediaSource()", referenced from:
      Digikam::MediaPlayerView::setMediaPlayerFromUrl(KUrl const&) in mediaplayerview.o
      Digikam::MediaPlayerView::setMediaPlayerFromUrl(KUrl const&) in mediaplayerview.o
  "Phonon::MediaObject::errorType() const", referenced from:
      Digikam::MediaPlayerView::slotPlayerFinished()      in mediaplayerview.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
make[2]: *** [digikam/themedesigner/digikamthemedesigner.app/Contents/MacOS/digikamthemedesigner] Error 1
make[1]: *** [digikam/themedesigner/CMakeFiles/digikamthemedesigner.dir/all] Error 2
make: *** [all] Error 2
Comment 1 Salvatore Brigaglia 2009-01-09 23:42:56 UTC
oh, and digikam code is r908492
Comment 2 caulier.gilles 2009-01-10 08:35:47 UTC
SVN commit 908685 by cgilles:

fix theme designer linking
BUG: 180196


 M  +4 -0      CMakeLists.txt  


WebSVN link: http://websvn.kde.org/?view=rev&revision=908685