Advertisement
Guest User

Untitled

a guest
Jul 27th, 2018
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.17 KB | None | 0 0
  1. /opt/clion-2018.1.2/bin/cmake/bin/cmake --build /home/jakub/MartyCam/build/clion-debug --target MartyCam_exe -- -j 7
  2. [ 4%] Building CXX object CMakeFiles/MartyCam_exe.dir/martycam.cpp.o
  3. /home/jakub/MartyCam/martycam.cpp: In member function ‘void MartyCam::createCaptureThread(int, cv::Size&, int, const string&, hpx::threads::executors::pool_executor)’:
  4. /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()>)’
  5. hpx::async<>(exec, [this]() { captureThread->run(); });
  6. ^
  7. In file included from /home/jakub/hpx_repo/hpx/async_launch_policy_dispatch.hpp:10:0,
  8. from /home/jakub/hpx_repo/hpx/parallel/executors/parallel_executor.hpp:12,
  9. from /home/jakub/hpx_repo/hpx/lcos/dataflow.hpp:43,
  10. from /home/jakub/hpx_repo/hpx/parallel/executors/execution.hpp:16,
  11. from /home/jakub/hpx_repo/hpx/lcos/local/packaged_continuation.hpp:27,
  12. from /home/jakub/hpx_repo/hpx/lcos/future.hpp:1682,
  13. from /home/jakub/MartyCam/martycam.cpp:2:
  14. /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&& ...)
  15. auto async(F && f, Ts &&... ts)
  16. ^
  17. /home/jakub/hpx_repo/hpx/lcos/async_fwd.hpp:38:10: note: template argument deduction/substitution failed:
  18. /home/jakub/MartyCam/martycam.cpp:112:58: note: couldn't deduce template parameter ‘Action’
  19. hpx::async<>(exec, [this]() { captureThread->run(); });
  20. ^
  21. In file included from /home/jakub/hpx_repo/hpx/async_launch_policy_dispatch.hpp:10:0,
  22. from /home/jakub/hpx_repo/hpx/parallel/executors/parallel_executor.hpp:12,
  23. from /home/jakub/hpx_repo/hpx/lcos/dataflow.hpp:43,
  24. from /home/jakub/hpx_repo/hpx/parallel/executors/execution.hpp:16,
  25. from /home/jakub/hpx_repo/hpx/lcos/local/packaged_continuation.hpp:27,
  26. from /home/jakub/hpx_repo/hpx/lcos/future.hpp:1682,
  27. from /home/jakub/MartyCam/martycam.cpp:2:
  28. /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&& ...)
  29. auto async(F&& f, Ts&&... ts)
  30. ^
  31. /home/jakub/hpx_repo/hpx/lcos/async_fwd.hpp:46:10: note: template argument deduction/substitution failed:
  32. /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()>}]’:
  33. /home/jakub/MartyCam/martycam.cpp:112:58: required from here
  34. /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
  35. >::call(std::forward<F>(f), std::forward<Ts>(ts)...)
  36. ^
  37. CMakeFiles/MartyCam_exe.dir/build.make:172: recipe for target 'CMakeFiles/MartyCam_exe.dir/martycam.cpp.o' failed
  38. make[3]: *** [CMakeFiles/MartyCam_exe.dir/martycam.cpp.o] Error 1
  39. CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/MartyCam_exe.dir/all' failed
  40. make[2]: *** [CMakeFiles/MartyCam_exe.dir/all] Error 2
  41. CMakeFiles/Makefile2:79: recipe for target 'CMakeFiles/MartyCam_exe.dir/rule' failed
  42. make[1]: *** [CMakeFiles/MartyCam_exe.dir/rule] Error 2
  43. Makefile:164: recipe for target 'MartyCam_exe' failed
  44. make: *** [MartyCam_exe] Error 2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement