Bug 342295 - Fail build framework branch: 'std::function' has not been declared
Summary: Fail build framework branch: 'std::function' has not been declared
Status: RESOLVED LATER
Alias: None
Product: marble
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: marble-bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-12-28 22:51 UTC by Gustavo Alvarez
Modified: 2014-12-30 18:26 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Gustavo Alvarez 2014-12-28 22:51:07 UTC
[ 91%] Building CXX object src/plugins/runner/gpx/CMakeFiles/GpxPlugin.dir/handlers/GPXdescTagHandler.cpp.o
Linking CXX shared module libGpsbabelPlugin.so
Linking CXX shared module libJsonPlugin.so
In file included from /usr/include/KF5/KService/kservice.h:28:0,
                 from /usr/include/KF5/KRunner/krunner/abstractrunner.h:29,
                 from /usr/include/KF5/KRunner/KRunner/AbstractRunner:1,
                 from /home/sl1pkn07/aplicaciones/marble-frameworks-git/src/marble/src/plasmarunner/plasmarunner.h:21,
                 from /home/sl1pkn07/aplicaciones/marble-frameworks-git/src/marble/src/plasmarunner/main.cpp:16:
/usr/include/KF5/KCoreAddons/kpluginloader.h:310:18: error: 'std::function' has not been declared
             std::function<bool(const KPluginMetaData &)> filter = std::function<bool(const KPluginMetaData &)>(),
                  ^
/usr/include/KF5/KCoreAddons/kpluginloader.h:310:26: error: expected ',' or '...' before '<' token
             std::function<bool(const KPluginMetaData &)> filter = std::function<bool(const KPluginMetaData &)>(),
                          ^
/usr/include/KF5/KCoreAddons/kpluginloader.h:330:18: error: 'std::function' has not been declared
             std::function<bool(const KPluginMetaData &)> filter = std::function<bool(const KPluginMetaData &)>());
                  ^
/usr/include/KF5/KCoreAddons/kpluginloader.h:330:26: error: expected ',' or '...' before '<' token
             std::function<bool(const KPluginMetaData &)> filter = std::function<bool(const KPluginMetaData &)>());
                          ^
/usr/include/KF5/KCoreAddons/kpluginloader.h:352:18: error: 'std::function' has not been declared
             std::function<void(const QString &)> callback = std::function<void(const QString &)>());
                  ^
/usr/include/KF5/KCoreAddons/kpluginloader.h:352:26: error: expected ',' or '...' before '<' token
             std::function<void(const QString &)> callback = std::function<void(const QString &)>());
                          ^
[ 91%] Building CXX object src/plugins/runner/gpx/CMakeFiles/GpxPlugin.dir/handlers/GPXtypeTagHandler.cpp.o
[ 92%] Building CXX object src/plugins/runner/gpx/CMakeFiles/GpxPlugin.dir/handlers/GPXtrkTagHandler.cpp.o
src/plasmarunner/CMakeFiles/plasma_runner_marble.dir/build.make:54: recipe for target 'src/plasmarunner/CMakeFiles/plasma_runner_marble.dir/main.cpp.o' failed
make[2]: *** [src/plasmarunner/CMakeFiles/plasma_runner_marble.dir/main.cpp.o] Error 1
CMakeFiles/Makefile2:7512: recipe for target 'src/plasmarunner/CMakeFiles/plasma_runner_marble.dir/all' failed
make[1]: *** [src/plasmarunner/CMakeFiles/plasma_runner_marble.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....


Reproducible: Always

Steps to Reproduce:
1. try build marble frameworks from git with all dependecies (preferible all up to date)


Actual Results:  
fail build

Expected Results:  
build

gcc 4.9.2
all kf5/plasma up to date from git
Comment 1 Bernhard Beschow 2014-12-30 18:26:23 UTC
Marble isn't ported to KF5 yet, but it's on our plan. Volunteers ahead! ;-)