Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /opt/clion-2018.1.2/bin/cmake/bin/cmake --build /home/jakub/MartyCam/build/clion-debug --target MartyCam_exe -- -j 7
- [ 4%] Building CXX object CMakeFiles/MartyCam_exe.dir/martycam.cpp.o
- /home/jakub/MartyCam/martycam.cpp: In member function ‘void MartyCam::createCaptureThread(int, cv::Size&, int, const string&, hpx::threads::executors::pool_executor)’:
- /home/jakub/MartyCam/martycam.cpp:112:58: error: no matching function for call to ‘async(hpx::threads::executors::pool_executor&, MartyCam::createCaptureThread(int, cv::Size&, int, const string&, hpx::threads::executors::pool_executor)::<lambda()>)’
- hpx::async<>(exec, [this]() { captureThread->run(); });
- ^
- In file included from /home/jakub/hpx_repo/hpx/async_launch_policy_dispatch.hpp:10:0,
- from /home/jakub/hpx_repo/hpx/parallel/executors/parallel_executor.hpp:12,
- from /home/jakub/hpx_repo/hpx/lcos/dataflow.hpp:43,
- from /home/jakub/hpx_repo/hpx/parallel/executors/execution.hpp:16,
- from /home/jakub/hpx_repo/hpx/lcos/local/packaged_continuation.hpp:27,
- from /home/jakub/hpx_repo/hpx/lcos/future.hpp:1682,
- from /home/jakub/MartyCam/martycam.cpp:2:
- /home/jakub/hpx_repo/hpx/lcos/async_fwd.hpp:38:10: note: candidate: template<class Action, class F, class ... Ts> decltype (hpx::detail::async_action_dispatch<Action, typename hpx::util::decay<Us>::type>::call(forward<F>(f), (forward<Ts>)(hpx::async::ts)...)) hpx::async(F&&, Ts&& ...)
- auto async(F && f, Ts &&... ts)
- ^
- /home/jakub/hpx_repo/hpx/lcos/async_fwd.hpp:38:10: note: template argument deduction/substitution failed:
- /home/jakub/MartyCam/martycam.cpp:112:58: note: couldn't deduce template parameter ‘Action’
- hpx::async<>(exec, [this]() { captureThread->run(); });
- ^
- In file included from /home/jakub/hpx_repo/hpx/async_launch_policy_dispatch.hpp:10:0,
- from /home/jakub/hpx_repo/hpx/parallel/executors/parallel_executor.hpp:12,
- from /home/jakub/hpx_repo/hpx/lcos/dataflow.hpp:43,
- from /home/jakub/hpx_repo/hpx/parallel/executors/execution.hpp:16,
- from /home/jakub/hpx_repo/hpx/lcos/local/packaged_continuation.hpp:27,
- from /home/jakub/hpx_repo/hpx/lcos/future.hpp:1682,
- from /home/jakub/MartyCam/martycam.cpp:2:
- /home/jakub/hpx_repo/hpx/lcos/async_fwd.hpp:46:10: note: candidate: template<class F, class ... Ts> decltype (hpx::detail::async_dispatch<typename hpx::util::decay<Action>::type>::call(forward<F>(f), (forward<Ts>)(hpx::async::ts)...)) hpx::async(F&&, Ts&& ...)
- auto async(F&& f, Ts&&... ts)
- ^
- /home/jakub/hpx_repo/hpx/lcos/async_fwd.hpp:46:10: note: template argument deduction/substitution failed:
- /home/jakub/hpx_repo/hpx/lcos/async_fwd.hpp: In substitution of ‘template<class F, class ... Ts> decltype (hpx::detail::async_dispatch<typename hpx::util::decay<Action>::type>::call(forward<F>(f), (forward<Ts>)(hpx::async::ts)...)) hpx::async(F&&, Ts&& ...) [with F = hpx::threads::executors::pool_executor&; Ts = {MartyCam::createCaptureThread(int, cv::Size&, int, const string&, hpx::threads::executors::pool_executor)::<lambda()>}]’:
- /home/jakub/MartyCam/martycam.cpp:112:58: required from here
- /home/jakub/hpx_repo/hpx/lcos/async_fwd.hpp:49:20: error: incomplete type ‘hpx::detail::async_dispatch<hpx::threads::executors::pool_executor, void>’ used in nested name specifier
- >::call(std::forward<F>(f), std::forward<Ts>(ts)...)
- ^
- CMakeFiles/MartyCam_exe.dir/build.make:172: recipe for target 'CMakeFiles/MartyCam_exe.dir/martycam.cpp.o' failed
- make[3]: *** [CMakeFiles/MartyCam_exe.dir/martycam.cpp.o] Error 1
- CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/MartyCam_exe.dir/all' failed
- make[2]: *** [CMakeFiles/MartyCam_exe.dir/all] Error 2
- CMakeFiles/Makefile2:79: recipe for target 'CMakeFiles/MartyCam_exe.dir/rule' failed
- make[1]: *** [CMakeFiles/MartyCam_exe.dir/rule] Error 2
- Makefile:164: recipe for target 'MartyCam_exe' failed
- make: *** [MartyCam_exe] Error 2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement