FCR001 / cantata

Automatically exported from code.google.com/p/cantata
GNU General Public License v3.0
0 stars 0 forks source link

Build failure on Ubuntu 14.10 #577

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Which version of Cantata?
1.5.1/svn trunk

Which build? KDE, Qt4, Qt5, Windows, Ubuntu, Mac?
Ubuntu

What steps will reproduce the problem?
1. mkdir build && cd build
2. cmake .. -DENABLE_UBUNTU_COMMAND_LINE=ON -DCMAKE_BUILD_TYPE=Debug/Release 
-DENABLE_HTTP_STREAM_PLAYBACK=ON
3. make

What is the expected output? What do you see instead?

I get this error:

[  8%] Building CXX object CMakeFiles/cantata.dir/models/musiclibrarymodel.cpp.o
/home/odin/code/applications/cantata-1.5.1/models/musiclibrarymodel.cpp: In 
member function ‘void MusicLibraryModel::readConfig()’:
/home/odin/code/applications/cantata-1.5.1/models/musiclibrarymodel.cpp:167:13: 
error: ‘Settings’ has not been declared
     bool aa=Settings::self()->libraryArtistImage();
             ^
CMakeFiles/cantata.dir/build.make:318: recipe for target 
'CMakeFiles/cantata.dir/models/musiclibrarymodel.cpp.o' failed
make[2]: *** [CMakeFiles/cantata.dir/models/musiclibrarymodel.cpp.o] Error 1
CMakeFiles/Makefile2:61: recipe for target 'CMakeFiles/cantata.dir/all' failed
make[1]: *** [CMakeFiles/cantata.dir/all] Error 2
Makefile:133: recipe for target 'all' failed
make: *** [all] Error 2

Please provide any additional information below.

It's me again...sorry for the bother :)  Been using Arch for a year or two and 
got tired of it breaking so switched to Ubuntu 14.10 and can't get Cantata to 
compile with Ubuntu enhancements on.  The Qt5 version compiles fine.

Finding dependencies on Ubuntu is a nightmare, so maybe I'm just missing 
something?  As far as I can tell, I have all possible Qt4/5 things, and I 
installed libappindicator-dev stuff, so I'm at a loss.  I have no problem using 
the Qt5 version except the sound menu is not working and I would like it to :)

Original issue reported on code.google.com by stupidgo...@gmail.com on 31 Oct 2014 at 4:34

GoogleCodeExporter commented 9 years ago
The ENABLE_UBUNTU_XXXX items are *only* for Ubuntu Touch (i.e. the 
phone/tablet) interface - this is no where near ready for release. You do not 
need to set these for a regular Ubuntu build.

Original comment by craig.p....@gmail.com on 31 Oct 2014 at 8:33

GoogleCodeExporter commented 9 years ago
Ah, sorry.  I noticed there is no appindicator and no buttons in the sound menu 
and thought that flag had something to do with it.

Original comment by stupidgo...@gmail.com on 1 Nov 2014 at 12:43