Portál AbcLinuxu, 6. května 2025 14:01
[root@localhost lastfm-desktop]# make cd lib/logger/ && make -f Makefile make[1]: Entering directory `/lastfm-desktop/lib/logger' make[1]: Nothing to be done for `first'. make[1]: Leaving directory `/lastfm-desktop/lib/logger' cd lib/unicorn/ && make -f Makefile make[1]: Entering directory `/lastfm-desktop/lib/unicorn' compiling dialogs/ShareDialog.cpp dialogs/ShareDialog.cpp:36:25: fatal error: lastfm/User.h: No such file or directory #include <lastfm/User.h> ^ compilation terminated. make[1]: *** [_build/ShareDialog.o] Error 1 make[1]: Leaving directory `/lastfm-desktop/lib/unicorn' make: *** [sub-lib-unicorn-make_default-ordered] Error 2
Řešení dotazu:
[root@localhost _build]# cmake .. -- Could not find libsamplerate, get it http://www.mega-nerd.com/SRC/ -- Searching for LIBFFTW3, using default precision float -- Could not find libfftw3, get it http://www.fftw.org/ CMake Error: The following variables are used in this project, but they are set to NOTFOUND. Please set them or make sure they are set and tested correctly in the CMake files: LIBFFTW3_LIBRARY linked by target "lastfm_fingerprint" in directory /liblastfm/src/fingerprint LIBSAMPLERATE_INCLUDE_DIR used as include directory in directory /liblastfm/src/fingerprint LIBSAMPLERATE_LIBRARY linked by target "lastfm_fingerprint" in directory /liblastfm/src/fingerprint -- Configuring incomplete, errors occurred! See also "liblastfm/_build/CMakeFiles/CMakeOutput.log". See also "/liblastfm/_build/CMakeFiles/CMakeError.log".(Vím, že třeba rhytmbox podporuje lastfm. Ale neumí mi to scrobblovat ipod. Tak jsem doufala, že přímo ta jejich aplikace mi to umožní.)
In file included from Services/RadioService.h:1:0, from Application.cpp:60: Services/RadioService/RadioService.h:27:36: fatal error: phonon/phononnamespace.h: No such file or directory #include <phonon/phononnamespace.h>Tak kdyby někdo věděl co s tím... Dík
yum whatprovides "*/phonon/phononnamespace.h"
aby jsi zjistil, zda se soubor nachází v nějakém balíčku. Dle očekávání se jedná o balíček phonon-devel
, který musíš nainstalovat.
LAV_Source.cpp: In constructor ‘LAV_SourcePrivate::LAV_SourcePrivate()’: LAV_Source.cpp:73:57: error: ‘AVCODEC_MAX_AUDIO_FRAME_SIZE’ was not declared in this scope outBuffer = (uint8_t*)av_malloc(sizeof(uint8_t)*AVCODEC_MAX_AUDIO_FRAME_SIZE*4);
Tiskni
Sdílej:
ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.