Comment 2 for bug 1008692

Revision history for this message
micahcraig (micah-micahcraig) wrote :

The references to 'unity-core-4.0' are actually in 'libunity-2d-private/CMakeLists.txt' and 'panel/CMakeLists.txt', but changing those to look for 'unity-core-5.0' instead just leads to the following on 'make':

[ 0%] Building CXX object libunity-2d-private/src/CMakeFiles/unity-2d-private.dir/lenses.cpp.o
/home/micah/src/ubuntu-tv/libunity-2d-private/src/lenses.cpp: In constructor ‘Lenses::Lenses(QObject*)’:
/home/micah/src/ubuntu-tv/libunity-2d-private/src/lenses.cpp:39:80: error: no matching function for call to ‘unity::dash::FilesystemLenses::FilesystemLenses(const char [24])’
/home/micah/src/ubuntu-tv/libunity-2d-private/src/lenses.cpp:39:80: note: candidates are:
/usr/include/Unity-5.0/UnityCore/FilesystemLenses.h:81:3: note: unity::dash::FilesystemLenses::FilesystemLenses(const Ptr&)
/usr/include/Unity-5.0/UnityCore/FilesystemLenses.h:81:3: note: no known conversion for argument 1 from ‘const char [24]’ to ‘const Ptr& {aka const std::shared_ptr<unity::dash::LensDirectoryReader>&}
/usr/include/Unity-5.0/UnityCore/FilesystemLenses.h:80:3: note: unity::dash::FilesystemLenses::FilesystemLenses()
/usr/include/Unity-5.0/UnityCore/FilesystemLenses.h:80:3: note: candidate expects 0 arguments, 1 provided
make[2]: *** [libunity-2d-private/src/CMakeFiles/unity-2d-private.dir/lenses.cpp.o] Error 1
make[1]: *** [libunity-2d-private/src/CMakeFiles/unity-2d-private.dir/all] Error 2
make: *** [all] Error 2