Cannot build on Debian Jessie #578

Open
emmanuel-galindo opened this Issue Dec 2, 2016 · 2 comments

Projects

None yet

3 participants

@emmanuel-galindo

Hi,
when following instructions from https://github.com/tomahawk-player/tomahawk/wiki/Debian-Build-Instructions for Debian Jessie (after installing libboost-all-dev), it fails on the make with the following output:

[ 41%] Building CXX object src/libtomahawk/CMakeFiles/tomahawklib.dir/DownloadManager.cpp.o
[ 41%] Building CXX object src/libtomahawk/CMakeFiles/tomahawklib.dir/DownloadJob.cpp.o
/home/manu/compile/extra-cmake-modules/build/tomahawk/src/libtomahawk/DownloadJob.cpp: In member function ‘bool DownloadJob::download()’:
/home/manu/compile/extra-cmake-modules/build/tomahawk/src/libtomahawk/DownloadJob.cpp:217:47: error: no matching function for call to ‘DownloadJob::onUrlRetrieved(<brace-enclosed initializer list>)’
         onUrlRetrieved({{"url", m_format.url}});
                                               ^
/home/manu/compile/extra-cmake-modules/build/tomahawk/src/libtomahawk/DownloadJob.cpp:217:47: note: candidate is:
/home/manu/compile/extra-cmake-modules/build/tomahawk/src/libtomahawk/DownloadJob.cpp:57:1: note: void DownloadJob::onUrlRetrieved(const QVariantMap&)
 DownloadJob::onUrlRetrieved( const QVariantMap& data )
 ^
/home/manu/compile/extra-cmake-modules/build/tomahawk/src/libtomahawk/DownloadJob.cpp:57:1: note:   no known conversion for argument 1 from ‘<brace-enclosed initializer list>’ to ‘const QVariantMap& {aka const QMap<QString, QVariant>&}’
src/libtomahawk/CMakeFiles/tomahawklib.dir/build.make:4295: recipe for target 'src/libtomahawk/CMakeFiles/tomahawklib.dir/DownloadJob.cpp.o' failed
make[2]: *** [src/libtomahawk/CMakeFiles/tomahawklib.dir/DownloadJob.cpp.o] Error 1
CMakeFiles/Makefile2:477: recipe for target 'src/libtomahawk/CMakeFiles/tomahawklib.dir/all' failed
make[1]: *** [src/libtomahawk/CMakeFiles/tomahawklib.dir/all] Error 2
Makefile:147: recipe for target 'all' failed
make: *** [all] Error 2

@gudge25
gudge25 commented Jan 27, 2017

i have the same issue --- any suggestions?

@michielgoossens

I have the same problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment