Closed GoogleCodeExporter closed 8 years ago
I get the above error, and if I get past that, I later get this linker error:
Linking CXX shared library ../../lib/libmediainfowindow.so
cd /home/adam/sources/phonon-vlc-mplayer/build/libs/mediainfowindow &&
/usr/bin/cmake
-E cmake_link_script CMakeFiles/mediainfowindow.dir/link.txt --verbose=1
/usr/local/bin/c++ -fPIC -Wnon-virtual-dtor -Wno-long-long -ansi -Wundef
-Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -Wformat-security
-fno-exceptions -fno-check-new -fno-common -Woverloaded-virtual
-fno-threadsafe-statics -fvisibility=hidden -fvisibility-inlines-hidden -O2
-DNDEBUG
-DQT_NO_DEBUG -Wl,--enable-new-dtags -Wl,--fatal-warnings -Wl,--no-undefined
-lc
-shared -Wl,-soname,libmediainfowindow.so -o ../../lib/libmediainfowindow.so
CMakeFiles/mediainfowindow.dir/MediaInfoWindow.o
CMakeFiles/mediainfowindow.dir/MediaInfoFetcher.o
CMakeFiles/mediainfowindow.dir/moc_MediaInfoWindow.o
CMakeFiles/mediainfowindow.dir/moc_MediaInfoFetcher.o
-L/home/adam/sources/phonon-vlc-mplayer/build/lib ../../lib/libwebbrowser.so
../../lib/libthumbnailview.so ../../lib/libtkutil.so
../../lib/libcontentfetcher.so
../../lib/libfiletypes.so ../../lib/libphonon.so.4.3.0 -lkdecore -lkdeui -lkdeui
-lQtSvg -lstreamanalyzer -lstreams -lkdecore -lsolid -lQtCore -lQtNetwork -lSM
-lICE
-lX11 -lXext -lXft -lXau -lXdmcp -lQtGui ../../lib/libtag.so.1.5.0 -lQtDBus
-lQtXml
-lz -lbz2 -lresolv -lXtst -lXcursor -lXfixes -lacl -lattr -lXrender -lkio
-Wl,-rpath,/usr/local/lib
CMakeFiles/mediainfowindow.dir/MediaInfoFetcher.o: In function
`MediaInfoFetcher::startTagLibResolver()':
MediaInfoFetcher.cpp:(.text+0x1a91): undefined reference to
`TagLib::String::String(char const*, TagLib::String::Type)'
followed by a whole bunch more similar undefined reference errors. Similar
ubuntu
based build environment (which is why I'm attaching this to the same bug
report).
Original comment by agfors...@gmail.com
on 4 Sep 2008 at 3:34
This should be fixed in trunk now.
Cf http://code.google.com/p/phonon-vlc-mplayer/source/detail?r=442
It happens that I break compilation under one or another platform from time to
time.
Generally it is not a big deal...
For the TagLib link problem, I don't get this error anymore and I don't even
know
why... You can also switch off TagLib support, it will then use the Phonon
backend
way to solve mp3 tags and others.
Just let me know
Original comment by tkrotoff
on 9 Sep 2008 at 4:46
Ubuntu at least needs the following includes in libs/tkutil/FindFiles.cpp for
compilation:
unistd.h for chdir()
lcms.h for MAX_PATH
I compiled without TagLib so didn't encounter that problem again.
Original comment by agfors...@gmail.com
on 16 Sep 2008 at 2:53
I did all the changes as above, but now I get a different error.
[ 94%] Built target videowidget
make -f quarkplayer-app/CMakeFiles/quarkplayer.dir/build.make
quarkplayer-app/CMakeFiles/quarkplayer.dir/depend
make[2]: Entering directory
`/home/shiva/Download/Media/phonon-vlc-mplayer/build'
/usr/bin/cmake -E cmake_progress_report
/home/shiva/Download/Media/phonon-vlc-mplayer/build/CMakeFiles
[ 94%] Generating quarkplayer_fr.qm
cd /home/shiva/Download/Media/phonon-vlc-mplayer/build/quarkplayer-app &&
/usr/bin/lrelease -compress -nounfinished -removeidentical
/home/shiva/Download/Media/phonon-vlc-mplayer/quarkplayer-app/translations/quark
player_fr.ts
-qm
/home/shiva/Download/Media/phonon-vlc-mplayer/build/quarkplayer-app/quarkplayer_
fr.qm
Usage:
lrelease [options] project-file
lrelease [options] ts-files [-qm qm-file]
Options:
-help Display this information and exit
-nocompress
Do not compress the .qm files
-verbose
Explain what is being done
-version
Display the version of lrelease and exit
make[2]: *** [quarkplayer-app/quarkplayer_fr.qm] Error 1
make[2]: Leaving directory `/home/shiva/Download/Media/phonon-vlc-mplayer/build'
make[1]: *** [quarkplayer-app/CMakeFiles/quarkplayer.dir/all] Error 2
make[1]: Leaving directory `/home/shiva/Download/Media/phonon-vlc-mplayer/build'
make: *** [all] Error 2
Regards,
Shiva
Original comment by shivakum...@gmail.com
on 16 Sep 2008 at 3:45
Well I found why lrelease is not running. It was on QT3. I changed it to QT4
then it
worked fine.
Shiva
Original comment by shivakum...@gmail.com
on 16 Sep 2008 at 3:59
This bug is obsolete now
Original comment by tkrotoff
on 28 Nov 2008 at 5:20
Original issue reported on code.google.com by
shivakum...@gmail.com
on 30 Aug 2008 at 7:32