{"action":"created","issue":{"url":"https://api.github.com/repos/Itseez/opencv/issues/5254","labels_url":"https://api.github.com/repos/Itseez/opencv/issues/5254/labels{/name}","comments_url":"https://api.github.com/repos/Itseez/opencv/issues/5254/comments","events_url":"https://api.github.com/repos/Itseez/opencv/issues/5254/events","html_url":"https://github.com/Itseez/opencv/issues/5254","id":103296085,"number":5254,"title":"Unable to compile calib3d with cuda","user":{"login":"samlcharreyron","id":451016,"avatar_url":"https://avatars.githubusercontent.com/u/451016?v=3","gravatar_id":"","url":"https://api.github.com/users/samlcharreyron","html_url":"https://github.com/samlcharreyron","followers_url":"https://api.github.com/users/samlcharreyron/followers","following_url":"https://api.github.com/users/samlcharreyron/following{/other_user}","gists_url":"https://api.github.com/users/samlcharreyron/gists{/gist_id}","starred_url":"https://api.github.com/users/samlcharreyron/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/samlcharreyron/subscriptions","organizations_url":"https://api.github.com/users/samlcharreyron/orgs","repos_url":"https://api.github.com/users/samlcharreyron/repos","events_url":"https://api.github.com/users/samlcharreyron/events{/privacy}","received_events_url":"https://api.github.com/users/samlcharreyron/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Itseez/opencv/labels/affected:%20master","name":"affected: master","color":"ededed"},{"url":"https://api.github.com/repos/Itseez/opencv/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/Itseez/opencv/labels/category:%20build/install","name":"category: build/install","color":"ededed"},{"url":"https://api.github.com/repos/Itseez/opencv/labels/category:%20gpu%20(cuda)","name":"category: gpu (cuda)","color":"ededed"},{"url":"https://api.github.com/repos/Itseez/opencv/labels/priority:%20normal","name":"priority: normal","color":"ededed"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-08-26T15:24:27Z","updated_at":"2015-08-27T01:08:52Z","closed_at":null,"body":"I get the following compilation error when compiling the latest master WITH_CUDA=True.\r\n```\r\n[ 83%] Building CXX object modules/cudalegacy/CMakeFiles/opencv_cudalegacy.dir/src/calib3d.cpp.o\r\n/home/sam/src/opencv/modules/cudalegacy/src/calib3d.cpp: In function ‘void cv::cuda::solvePnPRansac(const cv::Mat&, const cv::Mat&, const cv::Mat&, const cv::Mat&, cv::Mat&, cv::Mat&, bool, int, float, int, std::vector<int>*)’:\r\n/home/sam/src/opencv/modules/cudalegacy/src/calib3d.cpp:232:90: error: ‘undistortPoints’ was not declared in this scope\r\n     undistortPoints(image, image_normalized, camera_mat, dist_coef, Mat(), eye_camera_mat);\r\n                                                                                          ^\r\n/home/sam/src/opencv/modules/cudalegacy/src/calib3d.cpp:232:90: note: suggested alternative:\r\nIn file included from /home/sam/src/opencv/build/modules/cudalegacy/precomp.hpp:60:0:\r\n/home/sam/src/opencv/modules/calib3d/include/opencv2/calib3d.hpp:1692:23: note:   ‘cv::fisheye::undistortPoints’\r\n     CV_EXPORTS_W void undistortPoints(InputArray distorted, OutputArray undistorted,\r\n                       ^\r\n/home/sam/src/opencv/modules/cudalegacy/src/calib3d.cpp:255:5: error: ‘minMaxLoc’ is not a member of ‘cv::cuda’\r\n     cuda::minMaxLoc(d_hypothesis_scores, NULL, &best_score, NULL, &best_idx);\r\n     ^\r\n/home/sam/src/opencv/modules/cudalegacy/src/calib3d.cpp:255:5: note: suggested alternatives:\r\nIn file included from /home/sam/src/opencv/modules/core/include/opencv2/core/cuda.hpp:51:0,\r\n                 from /home/sam/src/opencv/modules/cudalegacy/include/opencv2/cudalegacy.hpp:46,\r\n                 from /home/sam/src/opencv/build/modules/cudalegacy/precomp.hpp:50:\r\n/home/sam/src/opencv/modules/core/include/opencv2/core.hpp:779:17: note:   ‘cv::minMaxLoc’\r\n CV_EXPORTS void minMaxLoc(const SparseMat& a, double* minVal,\r\n                 ^\r\n/home/sam/src/opencv/modules/core/include/opencv2/core.hpp:779:17: note:   ‘cv::minMaxLoc’\r\nmake[2]: *** [modules/cudalegacy/CMakeFiles/opencv_cudalegacy.dir/src/calib3d.cpp.o] Error 1\r\nmake[1]: *** [modules/cudalegacy/CMakeFiles/opencv_cudalegacy.dir/all] Error 2\r\nmake: *** [all] Error 2\r\n```\r\nThe system is Ubuntu 14.04 with CUDA 7.0. The output of CMake is bellow"},"comment":{"url":"https://api.github.com/repos/Itseez/opencv/issues/comments/135227713","html_url":"https://github.com/Itseez/opencv/issues/5254#issuecomment-135227713","issue_url":"https://api.github.com/repos/Itseez/opencv/issues/5254","id":135227713,"user":{"login":"danielchalef","id":131175,"avatar_url":"https://avatars.githubusercontent.com/u/131175?v=3","gravatar_id":"","url":"https://api.github.com/users/danielchalef","html_url":"https://github.com/danielchalef","followers_url":"https://api.github.com/users/danielchalef/followers","following_url":"https://api.github.com/users/danielchalef/following{/other_user}","gists_url":"https://api.github.com/users/danielchalef/gists{/gist_id}","starred_url":"https://api.github.com/users/danielchalef/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danielchalef/subscriptions","organizations_url":"https://api.github.com/users/danielchalef/orgs","repos_url":"https://api.github.com/users/danielchalef/repos","events_url":"https://api.github.com/users/danielchalef/events{/privacy}","received_events_url":"https://api.github.com/users/danielchalef/received_events","type":"User","site_admin":false},"created_at":"2015-08-27T01:08:52Z","updated_at":"2015-08-27T01:08:52Z","body":"Attempting to compile without `cudalegacy` results in:\r\n```\r\n[ 66%] Building CXX object modules/stitching/CMakeFiles/opencv_stitching.dir/src/stitcher.cpp.o\r\n/home/daniel/projects/opencv/modules/stitching/src/stitcher.cpp: In static member function ‘static cv::Stitcher cv::Stitcher::createDefault(bool)’:\r\n/home/daniel/projects/opencv/modules/stitching/src/stitcher.cpp:67:36: error: ‘SphericalWarperGpu’ was not declared in this scope\r\n         stitcher.setWarper(makePtr<SphericalWarperGpu>());\r\n                                    ^\r\n/home/daniel/projects/opencv/modules/stitching/src/stitcher.cpp:67:36: note: suggested alternative:\r\nIn file included from /home/daniel/projects/opencv/modules/stitching/include/opencv2/stitching/warpers.hpp:46:0,\r\n                 from /home/daniel/projects/opencv/modules/stitching/include/opencv2/stitching.hpp:48,\r\n                 from /home/daniel/projects/opencv/build/modules/stitching/precomp.hpp:59:\r\n/home/daniel/projects/opencv/modules/stitching/include/opencv2/stitching/detail/warpers.hpp:459:18: note:   ‘cv::detail::SphericalWarperGpu’\r\n class CV_EXPORTS SphericalWarperGpu : public SphericalWarper\r\n                  ^\r\n/home/daniel/projects/opencv/modules/stitching/src/stitcher.cpp:67:56: error: no matching function for call to ‘makePtr()’\r\n         stitcher.setWarper(makePtr<SphericalWarperGpu>());\r\n                                                        ^\r\n/home/daniel/projects/opencv/modules/stitching/src/stitcher.cpp:67:56: note: candidates are:\r\nIn file included from /home/daniel/projects/opencv/modules/core/include/opencv2/core/cvstd.hpp:1057:0,\r\n                 from /home/daniel/projects/opencv/modules/core/include/opencv2/core/base.hpp:55,\r\n                 from /home/daniel/projects/opencv/modules/core/include/opencv2/core.hpp:54,\r\n                 from /home/daniel/projects/opencv/build/modules/stitching/precomp.hpp:56:\r\n/home/daniel/projects/opencv/modules/core/include/opencv2/core/ptr.inl.hpp:273:8: note: template<class T> cv::Ptr<T> cv::makePtr()\r\n Ptr<T> makePtr()\r\n        ^\r\n/home/daniel/projects/opencv/modules/core/include/opencv2/core/ptr.inl.hpp:273:8: note:   template argument deduction/substitution failed:\r\n/home/daniel/projects/opencv/modules/stitching/src/stitcher.cpp:67:56: error: template argument 1 is invalid\r\n         stitcher.setWarper(makePtr<SphericalWarperGpu>());\r\n                                                        ^\r\nIn file included from /home/daniel/projects/opencv/modules/core/include/opencv2/core/cvstd.hpp:1057:0,\r\n                 from /home/daniel/projects/opencv/modules/core/include/opencv2/core/base.hpp:55,\r\n                 from /home/daniel/projects/opencv/modules/core/include/opencv2/core.hpp:54,\r\n                 from /home/daniel/projects/opencv/build/modules/stitching/precomp.hpp:56:\r\n/home/daniel/projects/opencv/modules/core/include/opencv2/core/ptr.inl.hpp:279:8: note: template<class T, class A1> cv::Ptr<T> cv::makePtr(const A1&)\r\n Ptr<T> makePtr(const A1& a1)\r\n        ^\r\n/home/daniel/projects/opencv/modules/core/include/opencv2/core/ptr.inl.hpp:279:8: note:   template argument deduction/substitution failed:\r\n/home/daniel/projects/opencv/modules/stitching/src/stitcher.cpp:67:56: error: template argument 1 is invalid\r\n         stitcher.setWarper(makePtr<SphericalWarperGpu>());\r\n                                                        ^\r\nIn file included from /home/daniel/projects/opencv/modules/core/include/opencv2/core/cvstd.hpp:1057:0,\r\n                 from /home/daniel/projects/opencv/modules/core/include/opencv2/core/base.hpp:55,\r\n                 from /home/daniel/projects/opencv/modules/core/include/opencv2/core.hpp:54,\r\n                 from /home/daniel/projects/opencv/build/modules/stitching/precomp.hpp:56:\r\n/home/daniel/projects/opencv/modules/core/include/opencv2/core/ptr.inl.hpp:285:8: note: template<class T, class A1, class A2> cv::Ptr<T> cv::makePtr(const A1&, const A2&)\r\n Ptr<T> makePtr(const A1& a1, const A2& a2)\r\n        ^\r\n/home/daniel/projects/opencv/modules/core/include/opencv2/core/ptr.inl.hpp:285:8: note:   template argument deduction/substitution failed:\r\n/home/daniel/projects/opencv/modules/stitching/src/stitcher.cpp:67:56: error: template argument 1 is invalid\r\n         stitcher.setWarper(makePtr<SphericalWarperGpu>());\r\n                                                        ^\r\nIn file included from /home/daniel/projects/opencv/modules/core/include/opencv2/core/cvstd.hpp:1057:0,\r\n                 from /home/daniel/projects/opencv/modules/core/include/opencv2/core/base.hpp:55,\r\n                 from /home/daniel/projects/opencv/modules/core/include/opencv2/core.hpp:54,\r\n                 from /home/daniel/projects/opencv/build/modules/stitching/precomp.hpp:56:\r\n/home/daniel/projects/opencv/modules/core/include/opencv2/core/ptr.inl.hpp:291:8: note: template<class T, class A1, class A2, class A3> cv::Ptr<T> cv::makePtr(const A1&, const A2&, const A3&)\r\n Ptr<T> makePtr(const A1& a1, const A2& a2, const A3& a3)\r\n        ^\r\n/home/daniel/projects/opencv/modules/core/include/opencv2/core/ptr.inl.hpp:291:8: note:   template argument deduction/substitution failed:\r\n/home/daniel/projects/opencv/modules/stitching/src/stitcher.cpp:67:56: error: template argument 1 is invalid\r\n         stitcher.setWarper(makePtr<SphericalWarperGpu>());\r\n                                                        ^\r\nIn file included from /home/daniel/projects/opencv/modules/core/include/opencv2/core/cvstd.hpp:1057:0,\r\n                 from /home/daniel/projects/opencv/modules/core/include/opencv2/core/base.hpp:55,\r\n                 from /home/daniel/projects/opencv/modules/core/include/opencv2/core.hpp:54,\r\n                 from /home/daniel/projects/opencv/build/modules/stitching/precomp.hpp:56:\r\n/home/daniel/projects/opencv/modules/core/include/opencv2/core/ptr.inl.hpp:297:8: note: template<class T, class A1, class A2, class A3, class A4> cv::Ptr<T> cv::makePtr(const A1&, const A2&, const A3&, const A4&)\r\n Ptr<T> makePtr(const A1& a1, const A2& a2, const A3& a3, const A4& a4)\r\n        ^\r\n/home/daniel/projects/opencv/modules/core/include/opencv2/core/ptr.inl.hpp:297:8: note:   template argument deduction/substitution failed:\r\n/home/daniel/projects/opencv/modules/stitching/src/stitcher.cpp:67:56: error: template argument 1 is invalid\r\n         stitcher.setWarper(makePtr<SphericalWarperGpu>());\r\n                                                        ^\r\nIn file included from /home/daniel/projects/opencv/modules/core/include/opencv2/core/cvstd.hpp:1057:0,\r\n                 from /home/daniel/projects/opencv/modules/core/include/opencv2/core/base.hpp:55,\r\n                 from /home/daniel/projects/opencv/modules/core/include/opencv2/core.hpp:54,\r\n                 from /home/daniel/projects/opencv/build/modules/stitching/precomp.hpp:56:\r\n/home/daniel/projects/opencv/modules/core/include/opencv2/core/ptr.inl.hpp:303:8: note: template<class T, class A1, class A2, class A3, class A4, class A5> cv::Ptr<T> cv::makePtr(const A1&, const A2&, const A3&, const A4&, const A5&)\r\n Ptr<T> makePtr(const A1& a1, const A2& a2, const A3& a3, const A4& a4, const A5& a5)\r\n        ^\r\n/home/daniel/projects/opencv/modules/core/include/opencv2/core/ptr.inl.hpp:303:8: note:   template argument deduction/substitution failed:\r\n/home/daniel/projects/opencv/modules/stitching/src/stitcher.cpp:67:56: error: template argument 1 is invalid\r\n         stitcher.setWarper(makePtr<SphericalWarperGpu>());\r\n                                                        ^\r\nIn file included from /home/daniel/projects/opencv/modules/core/include/opencv2/core/cvstd.hpp:1057:0,\r\n                 from /home/daniel/projects/opencv/modules/core/include/opencv2/core/base.hpp:55,\r\n                 from /home/daniel/projects/opencv/modules/core/include/opencv2/core.hpp:54,\r\n                 from /home/daniel/projects/opencv/build/modules/stitching/precomp.hpp:56:\r\n/home/daniel/projects/opencv/modules/core/include/opencv2/core/ptr.inl.hpp:309:8: note: template<class T, class A1, class A2, class A3, class A4, class A5, class A6> cv::Ptr<T> cv::makePtr(const A1&, const A2&, const A3&, const A4&, const A5&, const A6&)\r\n Ptr<T> makePtr(const A1& a1, const A2& a2, const A3& a3, const A4& a4, const A5& a5, const A6& a6)\r\n        ^\r\n/home/daniel/projects/opencv/modules/core/include/opencv2/core/ptr.inl.hpp:309:8: note:   template argument deduction/substitution failed:\r\n/home/daniel/projects/opencv/modules/stitching/src/stitcher.cpp:67:56: error: template argument 1 is invalid\r\n         stitcher.setWarper(makePtr<SphericalWarperGpu>());\r\n                                                        ^\r\nIn file included from /home/daniel/projects/opencv/modules/core/include/opencv2/core/cvstd.hpp:1057:0,\r\n                 from /home/daniel/projects/opencv/modules/core/include/opencv2/core/base.hpp:55,\r\n                 from /home/daniel/projects/opencv/modules/core/include/opencv2/core.hpp:54,\r\n                 from /home/daniel/projects/opencv/build/modules/stitching/precomp.hpp:56:\r\n/home/daniel/projects/opencv/modules/core/include/opencv2/core/ptr.inl.hpp:315:8: note: template<class T, class A1, class A2, class A3, class A4, class A5, class A6, class A7> cv::Ptr<T> cv::makePtr(const A1&, const A2&, const A3&, const A4&, const A5&, const A6&, const A7&)\r\n Ptr<T> makePtr(const A1& a1, const A2& a2, const A3& a3, const A4& a4, const A5& a5, const A6& a6, const A7& a7)\r\n        ^\r\n/home/daniel/projects/opencv/modules/core/include/opencv2/core/ptr.inl.hpp:315:8: note:   template argument deduction/substitution failed:\r\n/home/daniel/projects/opencv/modules/stitching/src/stitcher.cpp:67:56: error: template argument 1 is invalid\r\n         stitcher.setWarper(makePtr<SphericalWarperGpu>());\r\n                                                        ^\r\nIn file included from /home/daniel/projects/opencv/modules/core/include/opencv2/core/cvstd.hpp:1057:0,\r\n                 from /home/daniel/projects/opencv/modules/core/include/opencv2/core/base.hpp:55,\r\n                 from /home/daniel/projects/opencv/modules/core/include/opencv2/core.hpp:54,\r\n                 from /home/daniel/projects/opencv/build/modules/stitching/precomp.hpp:56:\r\n/home/daniel/projects/opencv/modules/core/include/opencv2/core/ptr.inl.hpp:321:8: note: template<class T, class A1, class A2, class A3, class A4, class A5, class A6, class A7, class A8> cv::Ptr<T> cv::makePtr(const A1&, const A2&, const A3&, const A4&, const A5&, const A6&, const A7&, const A8&)\r\n Ptr<T> makePtr(const A1& a1, const A2& a2, const A3& a3, const A4& a4, const A5& a5, const A6& a6, const A7& a7, const A8& a8)\r\n        ^\r\n/home/daniel/projects/opencv/modules/core/include/opencv2/core/ptr.inl.hpp:321:8: note:   template argument deduction/substitution failed:\r\n/home/daniel/projects/opencv/modules/stitching/src/stitcher.cpp:67:56: error: template argument 1 is invalid\r\n         stitcher.setWarper(makePtr<SphericalWarperGpu>());\r\n                                                        ^\r\nIn file included from /home/daniel/projects/opencv/modules/core/include/opencv2/core/cvstd.hpp:1057:0,\r\n                 from /home/daniel/projects/opencv/modules/core/include/opencv2/core/base.hpp:55,\r\n                 from /home/daniel/projects/opencv/modules/core/include/opencv2/core.hpp:54,\r\n                 from /home/daniel/projects/opencv/build/modules/stitching/precomp.hpp:56:\r\n/home/daniel/projects/opencv/modules/core/include/opencv2/core/ptr.inl.hpp:327:8: note: template<class T, class A1, class A2, class A3, class A4, class A5, class A6, class A7, class A8, class A9> cv::Ptr<T> cv::makePtr(const A1&, const A2&, const A3&, const A4&, const A5&, const A6&, const A7&, const A8&, const A9&)\r\n Ptr<T> makePtr(const A1& a1, const A2& a2, const A3& a3, const A4& a4, const A5& a5, const A6& a6, const A7& a7, const A8& a8, const A9& a9)\r\n        ^\r\n/home/daniel/projects/opencv/modules/core/include/opencv2/core/ptr.inl.hpp:327:8: note:   template argument deduction/substitution failed:\r\n/home/daniel/projects/opencv/modules/stitching/src/stitcher.cpp:67:56: error: template argument 1 is invalid\r\n         stitcher.setWarper(makePtr<SphericalWarperGpu>());\r\n                                                        ^\r\nIn file included from /home/daniel/projects/opencv/modules/core/include/opencv2/core/cvstd.hpp:1057:0,\r\n                 from /home/daniel/projects/opencv/modules/core/include/opencv2/core/base.hpp:55,\r\n                 from /home/daniel/projects/opencv/modules/core/include/opencv2/core.hpp:54,\r\n                 from /home/daniel/projects/opencv/build/modules/stitching/precomp.hpp:56:\r\n/home/daniel/projects/opencv/modules/core/include/opencv2/core/ptr.inl.hpp:333:8: note: template<class T, class A1, class A2, class A3, class A4, class A5, class A6, class A7, class A8, class A9, class A10> cv::Ptr<T> cv::makePtr(const A1&, const A2&, const A3&, const A4&, const A5&, const A6&, const A7&, const A8&, const A9&, const A10&)\r\n Ptr<T> makePtr(const A1& a1, const A2& a2, const A3& a3, const A4& a4, const A5& a5, const A6& a6, const A7& a7, const A8& a8, const A9& a9, const A10& a10)\r\n        ^\r\n/home/daniel/projects/opencv/modules/core/include/opencv2/core/ptr.inl.hpp:333:8: note:   template argument deduction/substitution failed:\r\n/home/daniel/projects/opencv/modules/stitching/src/stitcher.cpp:67:56: error: template argument 1 is invalid\r\n         stitcher.setWarper(makePtr<SphericalWarperGpu>());\r\n                                                        ^\r\n/home/daniel/projects/opencv/modules/stitching/src/stitcher.cpp:68:40: error: ‘GraphCutSeamFinderGpu’ is not a member of ‘cv::detail’\r\n         stitcher.setSeamFinder(makePtr<detail::GraphCutSeamFinderGpu>());\r\n                                        ^\r\n/home/daniel/projects/opencv/modules/stitching/src/stitcher.cpp:68:40: error: ‘GraphCutSeamFinderGpu’ is not a member of ‘cv::detail’\r\n/home/daniel/projects/opencv/modules/stitching/src/stitcher.cpp:68:71: error: no matching function for call to ‘makePtr()’\r\n         stitcher.setSeamFinder(makePtr<detail::GraphCutSeamFinderGpu>());\r\n                                                                       ^\r\n/home/daniel/projects/opencv/modules/stitching/src/stitcher.cpp:68:71: note: candidates are:\r\nIn file included from /home/daniel/projects/opencv/modules/core/include/opencv2/core/cvstd.hpp:1057:0,\r\n                 from /home/daniel/projects/opencv/modules/core/include/opencv2/core/base.hpp:55,\r\n                 from /home/daniel/projects/opencv/modules/core/include/opencv2/core.hpp:54,\r\n                 from /home/daniel/projects/opencv/build/modules/stitching/precomp.hpp:56:\r\n/home/daniel/projects/opencv/modules/core/include/opencv2/core/ptr.inl.hpp:273:8: note: template<class T> cv::Ptr<T> cv::makePtr()\r\n Ptr<T> makePtr()\r\n        ^\r\n/home/daniel/projects/opencv/modules/core/include/opencv2/core/ptr.inl.hpp:273:8: note:   template argument deduction/substitution failed:\r\n/home/daniel/projects/opencv/modules/stitching/src/stitcher.cpp:68:71: error: template argument 1 is invalid\r\n         stitcher.setSeamFinder(makePtr<detail::GraphCutSeamFinderGpu>());\r\n                                                                       ^\r\nIn file included from /home/daniel/projects/opencv/modules/core/include/opencv2/core/cvstd.hpp:1057:0,\r\n                 from /home/daniel/projects/opencv/modules/core/include/opencv2/core/base.hpp:55,\r\n                 from /home/daniel/projects/opencv/modules/core/include/opencv2/core.hpp:54,\r\n                 from /home/daniel/projects/opencv/build/modules/stitching/precomp.hpp:56:\r\n/home/daniel/projects/opencv/modules/core/include/opencv2/core/ptr.inl.hpp:279:8: note: template<class T, class A1> cv::Ptr<T> cv::makePtr(const A1&)\r\n Ptr<T> makePtr(const A1& a1)\r\n        ^\r\n/home/daniel/projects/opencv/modules/core/include/opencv2/core/ptr.inl.hpp:279:8: note:   template argument deduction/substitution failed:\r\n/home/daniel/projects/opencv/modules/stitching/src/stitcher.cpp:68:71: error: template argument 1 is invalid\r\n         stitcher.setSeamFinder(makePtr<detail::GraphCutSeamFinderGpu>());\r\n                                                                       ^\r\nIn file included from /home/daniel/projects/opencv/modules/core/include/opencv2/core/cvstd.hpp:1057:0,\r\n                 from /home/daniel/projects/opencv/modules/core/include/opencv2/core/base.hpp:55,\r\n                 from /home/daniel/projects/opencv/modules/core/include/opencv2/core.hpp:54,\r\n                 from /home/daniel/projects/opencv/build/modules/stitching/precomp.hpp:56:\r\n/home/daniel/projects/opencv/modules/core/include/opencv2/core/ptr.inl.hpp:285:8: note: template<class T, class A1, class A2> cv::Ptr<T> cv::makePtr(const A1&, const A2&)\r\n Ptr<T> makePtr(const A1& a1, const A2& a2)\r\n        ^\r\n/home/daniel/projects/opencv/modules/core/include/opencv2/core/ptr.inl.hpp:285:8: note:   template argument deduction/substitution failed:\r\n/home/daniel/projects/opencv/modules/stitching/src/stitcher.cpp:68:71: error: template argument 1 is invalid\r\n         stitcher.setSeamFinder(makePtr<detail::GraphCutSeamFinderGpu>());\r\n                                                                       ^\r\nIn file included from /home/daniel/projects/opencv/modules/core/include/opencv2/core/cvstd.hpp:1057:0,\r\n                 from /home/daniel/projects/opencv/modules/core/include/opencv2/core/base.hpp:55,\r\n                 from /home/daniel/projects/opencv/modules/core/include/opencv2/core.hpp:54,\r\n                 from /home/daniel/projects/opencv/build/modules/stitching/precomp.hpp:56:\r\n/home/daniel/projects/opencv/modules/core/include/opencv2/core/ptr.inl.hpp:291:8: note: template<class T, class A1, class A2, class A3> cv::Ptr<T> cv::makePtr(const A1&, const A2&, const A3&)\r\n Ptr<T> makePtr(const A1& a1, const A2& a2, const A3& a3)\r\n        ^\r\n/home/daniel/projects/opencv/modules/core/include/opencv2/core/ptr.inl.hpp:291:8: note:   template argument deduction/substitution failed:\r\n/home/daniel/projects/opencv/modules/stitching/src/stitcher.cpp:68:71: error: template argument 1 is invalid\r\n         stitcher.setSeamFinder(makePtr<detail::GraphCutSeamFinderGpu>());\r\n                                                                       ^\r\nIn file included from /home/daniel/projects/opencv/modules/core/include/opencv2/core/cvstd.hpp:1057:0,\r\n                 from /home/daniel/projects/opencv/modules/core/include/opencv2/core/base.hpp:55,\r\n                 from /home/daniel/projects/opencv/modules/core/include/opencv2/core.hpp:54,\r\n                 from /home/daniel/projects/opencv/build/modules/stitching/precomp.hpp:56:\r\n/home/daniel/projects/opencv/modules/core/include/opencv2/core/ptr.inl.hpp:297:8: note: template<class T, class A1, class A2, class A3, class A4> cv::Ptr<T> cv::makePtr(const A1&, const A2&, const A3&, const A4&)\r\n Ptr<T> makePtr(const A1& a1, const A2& a2, const A3& a3, const A4& a4)\r\n        ^\r\n/home/daniel/projects/opencv/modules/core/include/opencv2/core/ptr.inl.hpp:297:8: note:   template argument deduction/substitution failed:\r\n/home/daniel/projects/opencv/modules/stitching/src/stitcher.cpp:68:71: error: template argument 1 is invalid\r\n         stitcher.setSeamFinder(makePtr<detail::GraphCutSeamFinderGpu>());\r\n                                                                       ^\r\nIn file included from /home/daniel/projects/opencv/modules/core/include/opencv2/core/cvstd.hpp:1057:0,\r\n                 from /home/daniel/projects/opencv/modules/core/include/opencv2/core/base.hpp:55,\r\n                 from /home/daniel/projects/opencv/modules/core/include/opencv2/core.hpp:54,\r\n                 from /home/daniel/projects/opencv/build/modules/stitching/precomp.hpp:56:\r\n/home/daniel/projects/opencv/modules/core/include/opencv2/core/ptr.inl.hpp:303:8: note: template<class T, class A1, class A2, class A3, class A4, class A5> cv::Ptr<T> cv::makePtr(const A1&, const A2&, const A3&, const A4&, const A5&)\r\n Ptr<T> makePtr(const A1& a1, const A2& a2, const A3& a3, const A4& a4, const A5& a5)\r\n        ^\r\n/home/daniel/projects/opencv/modules/core/include/opencv2/core/ptr.inl.hpp:303:8: note:   template argument deduction/substitution failed:\r\n/home/daniel/projects/opencv/modules/stitching/src/stitcher.cpp:68:71: error: template argument 1 is invalid\r\n         stitcher.setSeamFinder(makePtr<detail::GraphCutSeamFinderGpu>());\r\n                                                                       ^\r\nIn file included from /home/daniel/projects/opencv/modules/core/include/opencv2/core/cvstd.hpp:1057:0,\r\n                 from /home/daniel/projects/opencv/modules/core/include/opencv2/core/base.hpp:55,\r\n                 from /home/daniel/projects/opencv/modules/core/include/opencv2/core.hpp:54,\r\n                 from /home/daniel/projects/opencv/build/modules/stitching/precomp.hpp:56:\r\n/home/daniel/projects/opencv/modules/core/include/opencv2/core/ptr.inl.hpp:309:8: note: template<class T, class A1, class A2, class A3, class A4, class A5, class A6> cv::Ptr<T> cv::makePtr(const A1&, const A2&, const A3&, const A4&, const A5&, const A6&)\r\n Ptr<T> makePtr(const A1& a1, const A2& a2, const A3& a3, const A4& a4, const A5& a5, const A6& a6)\r\n        ^\r\n/home/daniel/projects/opencv/modules/core/include/opencv2/core/ptr.inl.hpp:309:8: note:   template argument deduction/substitution failed:\r\n/home/daniel/projects/opencv/modules/stitching/src/stitcher.cpp:68:71: error: template argument 1 is invalid\r\n         stitcher.setSeamFinder(makePtr<detail::GraphCutSeamFinderGpu>());\r\n                                                                       ^\r\nIn file included from /home/daniel/projects/opencv/modules/core/include/opencv2/core/cvstd.hpp:1057:0,\r\n                 from /home/daniel/projects/opencv/modules/core/include/opencv2/core/base.hpp:55,\r\n                 from /home/daniel/projects/opencv/modules/core/include/opencv2/core.hpp:54,\r\n                 from /home/daniel/projects/opencv/build/modules/stitching/precomp.hpp:56:\r\n/home/daniel/projects/opencv/modules/core/include/opencv2/core/ptr.inl.hpp:315:8: note: template<class T, class A1, class A2, class A3, class A4, class A5, class A6, class A7> cv::Ptr<T> cv::makePtr(const A1&, const A2&, const A3&, const A4&, const A5&, const A6&, const A7&)\r\n Ptr<T> makePtr(const A1& a1, const A2& a2, const A3& a3, const A4& a4, const A5& a5, const A6& a6, const A7& a7)\r\n        ^\r\n/home/daniel/projects/opencv/modules/core/include/opencv2/core/ptr.inl.hpp:315:8: note:   template argument deduction/substitution failed:\r\n/home/daniel/projects/opencv/modules/stitching/src/stitcher.cpp:68:71: error: template argument 1 is invalid\r\n         stitcher.setSeamFinder(makePtr<detail::GraphCutSeamFinderGpu>());\r\n                                                                       ^\r\nIn file included from /home/daniel/projects/opencv/modules/core/include/opencv2/core/cvstd.hpp:1057:0,\r\n                 from /home/daniel/projects/opencv/modules/core/include/opencv2/core/base.hpp:55,\r\n                 from /home/daniel/projects/opencv/modules/core/include/opencv2/core.hpp:54,\r\n                 from /home/daniel/projects/opencv/build/modules/stitching/precomp.hpp:56:\r\n/home/daniel/projects/opencv/modules/core/include/opencv2/core/ptr.inl.hpp:321:8: note: template<class T, class A1, class A2, class A3, class A4, class A5, class A6, class A7, class A8> cv::Ptr<T> cv::makePtr(const A1&, const A2&, const A3&, const A4&, const A5&, const A6&, const A7&, const A8&)\r\n Ptr<T> makePtr(const A1& a1, const A2& a2, const A3& a3, const A4& a4, const A5& a5, const A6& a6, const A7& a7, const A8& a8)\r\n        ^\r\n/home/daniel/projects/opencv/modules/core/include/opencv2/core/ptr.inl.hpp:321:8: note:   template argument deduction/substitution failed:\r\n/home/daniel/projects/opencv/modules/stitching/src/stitcher.cpp:68:71: error: template argument 1 is invalid\r\n         stitcher.setSeamFinder(makePtr<detail::GraphCutSeamFinderGpu>());\r\n                                                                       ^\r\nIn file included from /home/daniel/projects/opencv/modules/core/include/opencv2/core/cvstd.hpp:1057:0,\r\n                 from /home/daniel/projects/opencv/modules/core/include/opencv2/core/base.hpp:55,\r\n                 from /home/daniel/projects/opencv/modules/core/include/opencv2/core.hpp:54,\r\n                 from /home/daniel/projects/opencv/build/modules/stitching/precomp.hpp:56:\r\n/home/daniel/projects/opencv/modules/core/include/opencv2/core/ptr.inl.hpp:327:8: note: template<class T, class A1, class A2, class A3, class A4, class A5, class A6, class A7, class A8, class A9> cv::Ptr<T> cv::makePtr(const A1&, const A2&, const A3&, const A4&, const A5&, const A6&, const A7&, const A8&, const A9&)\r\n Ptr<T> makePtr(const A1& a1, const A2& a2, const A3& a3, const A4& a4, const A5& a5, const A6& a6, const A7& a7, const A8& a8, const A9& a9)\r\n        ^\r\n/home/daniel/projects/opencv/modules/core/include/opencv2/core/ptr.inl.hpp:327:8: note:   template argument deduction/substitution failed:\r\n/home/daniel/projects/opencv/modules/stitching/src/stitcher.cpp:68:71: error: template argument 1 is invalid\r\n         stitcher.setSeamFinder(makePtr<detail::GraphCutSeamFinderGpu>());\r\n                                                                       ^\r\nIn file included from /home/daniel/projects/opencv/modules/core/include/opencv2/core/cvstd.hpp:1057:0,\r\n                 from /home/daniel/projects/opencv/modules/core/include/opencv2/core/base.hpp:55,\r\n                 from /home/daniel/projects/opencv/modules/core/include/opencv2/core.hpp:54,\r\n                 from /home/daniel/projects/opencv/build/modules/stitching/precomp.hpp:56:\r\n/home/daniel/projects/opencv/modules/core/include/opencv2/core/ptr.inl.hpp:333:8: note: template<class T, class A1, class A2, class A3, class A4, class A5, class A6, class A7, class A8, class A9, class A10> cv::Ptr<T> cv::makePtr(const A1&, const A2&, const A3&, const A4&, const A5&, const A6&, const A7&, const A8&, const A9&, const A10&)\r\n Ptr<T> makePtr(const A1& a1, const A2& a2, const A3& a3, const A4& a4, const A5& a5, const A6& a6, const A7& a7, const A8& a8, const A9& a9, const A10& a10)\r\n        ^\r\n/home/daniel/projects/opencv/modules/core/include/opencv2/core/ptr.inl.hpp:333:8: note:   template argument deduction/substitution failed:\r\n/home/daniel/projects/opencv/modules/stitching/src/stitcher.cpp:68:71: error: template argument 1 is invalid\r\n         stitcher.setSeamFinder(makePtr<detail::GraphCutSeamFinderGpu>());\r\n                                                                       ^\r\n/home/daniel/projects/opencv/modules/stitching/src/stitcher.cpp: In function ‘cv::Ptr<cv::Stitcher> cv::createStitcher(bool)’:\r\n/home/daniel/projects/opencv/modules/stitching/src/stitcher.cpp:555:37: error: ‘SphericalWarperGpu’ was not declared in this scope\r\n         stitcher->setWarper(makePtr<SphericalWarperGpu>());\r\n                                     ^\r\n/home/daniel/projects/opencv/modules/stitching/src/stitcher.cpp:555:37: note: suggested alternative:\r\nIn file included from /home/daniel/projects/opencv/modules/stitching/include/opencv2/stitching/warpers.hpp:46:0,\r\n                 from /home/daniel/projects/opencv/modules/stitching/include/opencv2/stitching.hpp:48,\r\n                 from /home/daniel/projects/opencv/build/modules/stitching/precomp.hpp:59:\r\n/home/daniel/projects/opencv/modules/stitching/include/opencv2/stitching/detail/warpers.hpp:459:18: note:   ‘cv::detail::SphericalWarperGpu’\r\n class CV_EXPORTS SphericalWarperGpu : public SphericalWarper\r\n                  ^\r\n/home/daniel/projects/opencv/modules/stitching/src/stitcher.cpp:555:57: error: no matching function for call to ‘makePtr()’\r\n         stitcher->setWarper(makePtr<SphericalWarperGpu>());\r\n                                                         ^\r\n/home/daniel/projects/opencv/modules/stitching/src/stitcher.cpp:555:57: note: candidates are:\r\nIn file included from /home/daniel/projects/opencv/modules/core/include/opencv2/core/cvstd.hpp:1057:0,\r\n                 from /home/daniel/projects/opencv/modules/core/include/opencv2/core/base.hpp:55,\r\n                 from /home/daniel/projects/opencv/modules/core/include/opencv2/core.hpp:54,\r\n                 from /home/daniel/projects/opencv/build/modules/stitching/precomp.hpp:56:\r\n/home/daniel/projects/opencv/modules/core/include/opencv2/core/ptr.inl.hpp:273:8: note: template<class T> cv::Ptr<T> cv::makePtr()\r\n Ptr<T> makePtr()\r\n        ^\r\n/home/daniel/projects/opencv/modules/core/include/opencv2/core/ptr.inl.hpp:273:8: note:   template argument deduction/substitution failed:\r\n/home/daniel/projects/opencv/modules/stitching/src/stitcher.cpp:555:57: error: template argument 1 is invalid\r\n         stitcher->setWarper(makePtr<SphericalWarperGpu>());\r\n                                                         ^\r\nIn file included from /home/daniel/projects/opencv/modules/core/include/opencv2/core/cvstd.hpp:1057:0,\r\n                 from /home/daniel/projects/opencv/modules/core/include/opencv2/core/base.hpp:55,\r\n                 from /home/daniel/projects/opencv/modules/core/include/opencv2/core.hpp:54,\r\n                 from /home/daniel/projects/opencv/build/modules/stitching/precomp.hpp:56:\r\n/home/daniel/projects/opencv/modules/core/include/opencv2/core/ptr.inl.hpp:279:8: note: template<class T, class A1> cv::Ptr<T> cv::makePtr(const A1&)\r\n Ptr<T> makePtr(const A1& a1)\r\n        ^\r\n/home/daniel/projects/opencv/modules/core/include/opencv2/core/ptr.inl.hpp:279:8: note:   template argument deduction/substitution failed:\r\n/home/daniel/projects/opencv/modules/stitching/src/stitcher.cpp:555:57: error: template argument 1 is invalid\r\n         stitcher->setWarper(makePtr<SphericalWarperGpu>());\r\n                                                         ^\r\nIn file included from /home/daniel/projects/opencv/modules/core/include/opencv2/core/cvstd.hpp:1057:0,\r\n                 from /home/daniel/projects/opencv/modules/core/include/opencv2/core/base.hpp:55,\r\n                 from /home/daniel/projects/opencv/modules/core/include/opencv2/core.hpp:54,\r\n                 from /home/daniel/projects/opencv/build/modules/stitching/precomp.hpp:56:\r\n/home/daniel/projects/opencv/modules/core/include/opencv2/core/ptr.inl.hpp:285:8: note: template<class T, class A1, class A2> cv::Ptr<T> cv::makePtr(const A1&, const A2&)\r\n Ptr<T> makePtr(const A1& a1, const A2& a2)\r\n        ^\r\n/home/daniel/projects/opencv/modules/core/include/opencv2/core/ptr.inl.hpp:285:8: note:   template argument deduction/substitution failed:\r\n/home/daniel/projects/opencv/modules/stitching/src/stitcher.cpp:555:57: error: template argument 1 is invalid\r\n         stitcher->setWarper(makePtr<SphericalWarperGpu>());\r\n                                                         ^\r\nIn file included from /home/daniel/projects/opencv/modules/core/include/opencv2/core/cvstd.hpp:1057:0,\r\n                 from /home/daniel/projects/opencv/modules/core/include/opencv2/core/base.hpp:55,\r\n                 from /home/daniel/projects/opencv/modules/core/include/opencv2/core.hpp:54,\r\n                 from /home/daniel/projects/opencv/build/modules/stitching/precomp.hpp:56:\r\n/home/daniel/projects/opencv/modules/core/include/opencv2/core/ptr.inl.hpp:291:8: note: template<class T, class A1, class A2, class A3> cv::Ptr<T> cv::makePtr(const A1&, const A2&, const A3&)\r\n Ptr<T> makePtr(const A1& a1, const A2& a2, const A3& a3)\r\n        ^\r\n/home/daniel/projects/opencv/modules/core/include/opencv2/core/ptr.inl.hpp:291:8: note:   template argument deduction/substitution failed:\r\n/home/daniel/projects/opencv/modules/stitching/src/stitcher.cpp:555:57: error: template argument 1 is invalid\r\n         stitcher->setWarper(makePtr<SphericalWarperGpu>());\r\n                                                         ^\r\nIn file included from /home/daniel/projects/opencv/modules/core/include/opencv2/core/cvstd.hpp:1057:0,\r\n                 from /home/daniel/projects/opencv/modules/core/include/opencv2/core/base.hpp:55,\r\n                 from /home/daniel/projects/opencv/modules/core/include/opencv2/core.hpp:54,\r\n                 from /home/daniel/projects/opencv/build/modules/stitching/precomp.hpp:56:\r\n/home/daniel/projects/opencv/modules/core/include/opencv2/core/ptr.inl.hpp:297:8: note: template<class T, class A1, class A2, class A3, class A4> cv::Ptr<T> cv::makePtr(const A1&, const A2&, const A3&, const A4&)\r\n Ptr<T> makePtr(const A1& a1, const A2& a2, const A3& a3, const A4& a4)\r\n        ^\r\n/home/daniel/projects/opencv/modules/core/include/opencv2/core/ptr.inl.hpp:297:8: note:   template argument deduction/substitution failed:\r\n/home/daniel/projects/opencv/modules/stitching/src/stitcher.cpp:555:57: error: template argument 1 is invalid\r\n         stitcher->setWarper(makePtr<SphericalWarperGpu>());\r\n                                                         ^\r\nIn file included from /home/daniel/projects/opencv/modules/core/include/opencv2/core/cvstd.hpp:1057:0,\r\n                 from /home/daniel/projects/opencv/modules/core/include/opencv2/core/base.hpp:55,\r\n                 from /home/daniel/projects/opencv/modules/core/include/opencv2/core.hpp:54,\r\n                 from /home/daniel/projects/opencv/build/modules/stitching/precomp.hpp:56:\r\n/home/daniel/projects/opencv/modules/core/include/opencv2/core/ptr.inl.hpp:303:8: note: template<class T, class A1, class A2, class A3, class A4, class A5> cv::Ptr<T> cv::makePtr(const A1&, const A2&, const A3&, const A4&, const A5&)\r\n Ptr<T> makePtr(const A1& a1, const A2& a2, const A3& a3, const A4& a4, const A5& a5)\r\n        ^\r\n/home/daniel/projects/opencv/modules/core/include/opencv2/core/ptr.inl.hpp:303:8: note:   template argument deduction/substitution failed:\r\n/home/daniel/projects/opencv/modules/stitching/src/stitcher.cpp:555:57: error: template argument 1 is invalid\r\n         stitcher->setWarper(makePtr<SphericalWarperGpu>());\r\n                                                         ^\r\nIn file included from /home/daniel/projects/opencv/modules/core/include/opencv2/core/cvstd.hpp:1057:0,\r\n                 from /home/daniel/projects/opencv/modules/core/include/opencv2/core/base.hpp:55,\r\n                 from /home/daniel/projects/opencv/modules/core/include/opencv2/core.hpp:54,\r\n                 from /home/daniel/projects/opencv/build/modules/stitching/precomp.hpp:56:\r\n/home/daniel/projects/opencv/modules/core/include/opencv2/core/ptr.inl.hpp:309:8: note: template<class T, class A1, class A2, class A3, class A4, class A5, class A6> cv::Ptr<T> cv::makePtr(const A1&, const A2&, const A3&, const A4&, const A5&, const A6&)\r\n Ptr<T> makePtr(const A1& a1, const A2& a2, const A3& a3, const A4& a4, const A5& a5, const A6& a6)\r\n        ^\r\n/home/daniel/projects/opencv/modules/core/include/opencv2/core/ptr.inl.hpp:309:8: note:   template argument deduction/substitution failed:\r\n/home/daniel/projects/opencv/modules/stitching/src/stitcher.cpp:555:57: error: template argument 1 is invalid\r\n         stitcher->setWarper(makePtr<SphericalWarperGpu>());\r\n                                                         ^\r\nIn file included from /home/daniel/projects/opencv/modules/core/include/opencv2/core/cvstd.hpp:1057:0,\r\n                 from /home/daniel/projects/opencv/modules/core/include/opencv2/core/base.hpp:55,\r\n                 from /home/daniel/projects/opencv/modules/core/include/opencv2/core.hpp:54,\r\n                 from /home/daniel/projects/opencv/build/modules/stitching/precomp.hpp:56:\r\n/home/daniel/projects/opencv/modules/core/include/opencv2/core/ptr.inl.hpp:315:8: note: template<class T, class A1, class A2, class A3, class A4, class A5, class A6, class A7> cv::Ptr<T> cv::makePtr(const A1&, const A2&, const A3&, const A4&, const A5&, const A6&, const A7&)\r\n Ptr<T> makePtr(const A1& a1, const A2& a2, const A3& a3, const A4& a4, const A5& a5, const A6& a6, const A7& a7)\r\n        ^\r\n/home/daniel/projects/opencv/modules/core/include/opencv2/core/ptr.inl.hpp:315:8: note:   template argument deduction/substitution failed:\r\n/home/daniel/projects/opencv/modules/stitching/src/stitcher.cpp:555:57: error: template argument 1 is invalid\r\n         stitcher->setWarper(makePtr<SphericalWarperGpu>());\r\n                                                         ^\r\nIn file included from /home/daniel/projects/opencv/modules/core/include/opencv2/core/cvstd.hpp:1057:0,\r\n                 from /home/daniel/projects/opencv/modules/core/include/opencv2/core/base.hpp:55,\r\n                 from /home/daniel/projects/opencv/modules/core/include/opencv2/core.hpp:54,\r\n                 from /home/daniel/projects/opencv/build/modules/stitching/precomp.hpp:56:\r\n/home/daniel/projects/opencv/modules/core/include/opencv2/core/ptr.inl.hpp:321:8: note: template<class T, class A1, class A2, class A3, class A4, class A5, class A6, class A7, class A8> cv::Ptr<T> cv::makePtr(const A1&, const A2&, const A3&, const A4&, const A5&, const A6&, const A7&, const A8&)\r\n Ptr<T> makePtr(const A1& a1, const A2& a2, const A3& a3, const A4& a4, const A5& a5, const A6& a6, const A7& a7, const A8& a8)\r\n        ^\r\n/home/daniel/projects/opencv/modules/core/include/opencv2/core/ptr.inl.hpp:321:8: note:   template argument deduction/substitution failed:\r\n/home/daniel/projects/opencv/modules/stitching/src/stitcher.cpp:555:57: error: template argument 1 is invalid\r\n         stitcher->setWarper(makePtr<SphericalWarperGpu>());\r\n                                                         ^\r\nIn file included from /home/daniel/projects/opencv/modules/core/include/opencv2/core/cvstd.hpp:1057:0,\r\n                 from /home/daniel/projects/opencv/modules/core/include/opencv2/core/base.hpp:55,\r\n                 from /home/daniel/projects/opencv/modules/core/include/opencv2/core.hpp:54,\r\n                 from /home/daniel/projects/opencv/build/modules/stitching/precomp.hpp:56:\r\n/home/daniel/projects/opencv/modules/core/include/opencv2/core/ptr.inl.hpp:327:8: note: template<class T, class A1, class A2, class A3, class A4, class A5, class A6, class A7, class A8, class A9> cv::Ptr<T> cv::makePtr(const A1&, const A2&, const A3&, const A4&, const A5&, const A6&, const A7&, const A8&, const A9&)\r\n Ptr<T> makePtr(const A1& a1, const A2& a2, const A3& a3, const A4& a4, const A5& a5, const A6& a6, const A7& a7, const A8& a8, const A9& a9)\r\n        ^\r\n/home/daniel/projects/opencv/modules/core/include/opencv2/core/ptr.inl.hpp:327:8: note:   template argument deduction/substitution failed:\r\n/home/daniel/projects/opencv/modules/stitching/src/stitcher.cpp:555:57: error: template argument 1 is invalid\r\n         stitcher->setWarper(makePtr<SphericalWarperGpu>());\r\n                                                         ^\r\nIn file included from /home/daniel/projects/opencv/modules/core/include/opencv2/core/cvstd.hpp:1057:0,\r\n                 from /home/daniel/projects/opencv/modules/core/include/opencv2/core/base.hpp:55,\r\n                 from /home/daniel/projects/opencv/modules/core/include/opencv2/core.hpp:54,\r\n                 from /home/daniel/projects/opencv/build/modules/stitching/precomp.hpp:56:\r\n/home/daniel/projects/opencv/modules/core/include/opencv2/core/ptr.inl.hpp:333:8: note: template<class T, class A1, class A2, class A3, class A4, class A5, class A6, class A7, class A8, class A9, class A10> cv::Ptr<T> cv::makePtr(const A1&, const A2&, const A3&, const A4&, const A5&, const A6&, const A7&, const A8&, const A9&, const A10&)\r\n Ptr<T> makePtr(const A1& a1, const A2& a2, const A3& a3, const A4& a4, const A5& a5, const A6& a6, const A7& a7, const A8& a8, const A9& a9, const A10& a10)\r\n        ^\r\n/home/daniel/projects/opencv/modules/core/include/opencv2/core/ptr.inl.hpp:333:8: note:   template argument deduction/substitution failed:\r\n/home/daniel/projects/opencv/modules/stitching/src/stitcher.cpp:555:57: error: template argument 1 is invalid\r\n         stitcher->setWarper(makePtr<SphericalWarperGpu>());\r\n                                                         ^\r\n/home/daniel/projects/opencv/modules/stitching/src/stitcher.cpp:556:41: error: ‘GraphCutSeamFinderGpu’ is not a member of ‘cv::detail’\r\n         stitcher->setSeamFinder(makePtr<detail::GraphCutSeamFinderGpu>());\r\n                                         ^\r\n/home/daniel/projects/opencv/modules/stitching/src/stitcher.cpp:556:41: error: ‘GraphCutSeamFinderGpu’ is not a member of ‘cv::detail’\r\n/home/daniel/projects/opencv/modules/stitching/src/stitcher.cpp:556:72: error: no matching function for call to ‘makePtr()’\r\n         stitcher->setSeamFinder(makePtr<detail::GraphCutSeamFinderGpu>());\r\n                                                                        ^\r\n/home/daniel/projects/opencv/modules/stitching/src/stitcher.cpp:556:72: note: candidates are:\r\nIn file included from /home/daniel/projects/opencv/modules/core/include/opencv2/core/cvstd.hpp:1057:0,\r\n                 from /home/daniel/projects/opencv/modules/core/include/opencv2/core/base.hpp:55,\r\n                 from /home/daniel/projects/opencv/modules/core/include/opencv2/core.hpp:54,\r\n                 from /home/daniel/projects/opencv/build/modules/stitching/precomp.hpp:56:\r\n/home/daniel/projects/opencv/modules/core/include/opencv2/core/ptr.inl.hpp:273:8: note: template<class T> cv::Ptr<T> cv::makePtr()\r\n Ptr<T> makePtr()\r\n        ^\r\n/home/daniel/projects/opencv/modules/core/include/opencv2/core/ptr.inl.hpp:273:8: note:   template argument deduction/substitution failed:\r\n/home/daniel/projects/opencv/modules/stitching/src/stitcher.cpp:556:72: error: template argument 1 is invalid\r\n         stitcher->setSeamFinder(makePtr<detail::GraphCutSeamFinderGpu>());\r\n                                                                        ^\r\nIn file included from /home/daniel/projects/opencv/modules/core/include/opencv2/core/cvstd.hpp:1057:0,\r\n                 from /home/daniel/projects/opencv/modules/core/include/opencv2/core/base.hpp:55,\r\n                 from /home/daniel/projects/opencv/modules/core/include/opencv2/core.hpp:54,\r\n                 from /home/daniel/projects/opencv/build/modules/stitching/precomp.hpp:56:\r\n/home/daniel/projects/opencv/modules/core/include/opencv2/core/ptr.inl.hpp:279:8: note: template<class T, class A1> cv::Ptr<T> cv::makePtr(const A1&)\r\n Ptr<T> makePtr(const A1& a1)\r\n        ^\r\n/home/daniel/projects/opencv/modules/core/include/opencv2/core/ptr.inl.hpp:279:8: note:   template argument deduction/substitution failed:\r\n/home/daniel/projects/opencv/modules/stitching/src/stitcher.cpp:556:72: error: template argument 1 is invalid\r\n         stitcher->setSeamFinder(makePtr<detail::GraphCutSeamFinderGpu>());\r\n                                                                        ^\r\nIn file included from /home/daniel/projects/opencv/modules/core/include/opencv2/core/cvstd.hpp:1057:0,\r\n                 from /home/daniel/projects/opencv/modules/core/include/opencv2/core/base.hpp:55,\r\n                 from /home/daniel/projects/opencv/modules/core/include/opencv2/core.hpp:54,\r\n                 from /home/daniel/projects/opencv/build/modules/stitching/precomp.hpp:56:\r\n/home/daniel/projects/opencv/modules/core/include/opencv2/core/ptr.inl.hpp:285:8: note: template<class T, class A1, class A2> cv::Ptr<T> cv::makePtr(const A1&, const A2&)\r\n Ptr<T> makePtr(const A1& a1, const A2& a2)\r\n        ^\r\n/home/daniel/projects/opencv/modules/core/include/opencv2/core/ptr.inl.hpp:285:8: note:   template argument deduction/substitution failed:\r\n/home/daniel/projects/opencv/modules/stitching/src/stitcher.cpp:556:72: error: template argument 1 is invalid\r\n         stitcher->setSeamFinder(makePtr<detail::GraphCutSeamFinderGpu>());\r\n                                                                        ^\r\nIn file included from /home/daniel/projects/opencv/modules/core/include/opencv2/core/cvstd.hpp:1057:0,\r\n                 from /home/daniel/projects/opencv/modules/core/include/opencv2/core/base.hpp:55,\r\n                 from /home/daniel/projects/opencv/modules/core/include/opencv2/core.hpp:54,\r\n                 from /home/daniel/projects/opencv/build/modules/stitching/precomp.hpp:56:\r\n/home/daniel/projects/opencv/modules/core/include/opencv2/core/ptr.inl.hpp:291:8: note: template<class T, class A1, class A2, class A3> cv::Ptr<T> cv::makePtr(const A1&, const A2&, const A3&)\r\n Ptr<T> makePtr(const A1& a1, const A2& a2, const A3& a3)\r\n        ^\r\n/home/daniel/projects/opencv/modules/core/include/opencv2/core/ptr.inl.hpp:291:8: note:   template argument deduction/substitution failed:\r\n/home/daniel/projects/opencv/modules/stitching/src/stitcher.cpp:556:72: error: template argument 1 is invalid\r\n         stitcher->setSeamFinder(makePtr<detail::GraphCutSeamFinderGpu>());\r\n                                                                        ^\r\nIn file included from /home/daniel/projects/opencv/modules/core/include/opencv2/core/cvstd.hpp:1057:0,\r\n                 from /home/daniel/projects/opencv/modules/core/include/opencv2/core/base.hpp:55,\r\n                 from /home/daniel/projects/opencv/modules/core/include/opencv2/core.hpp:54,\r\n                 from /home/daniel/projects/opencv/build/modules/stitching/precomp.hpp:56:\r\n/home/daniel/projects/opencv/modules/core/include/opencv2/core/ptr.inl.hpp:297:8: note: template<class T, class A1, class A2, class A3, class A4> cv::Ptr<T> cv::makePtr(const A1&, const A2&, const A3&, const A4&)\r\n Ptr<T> makePtr(const A1& a1, const A2& a2, const A3& a3, const A4& a4)\r\n        ^\r\n/home/daniel/projects/opencv/modules/core/include/opencv2/core/ptr.inl.hpp:297:8: note:   template argument deduction/substitution failed:\r\n/home/daniel/projects/opencv/modules/stitching/src/stitcher.cpp:556:72: error: template argument 1 is invalid\r\n         stitcher->setSeamFinder(makePtr<detail::GraphCutSeamFinderGpu>());\r\n                                                                        ^\r\nIn file included from /home/daniel/projects/opencv/modules/core/include/opencv2/core/cvstd.hpp:1057:0,\r\n                 from /home/daniel/projects/opencv/modules/core/include/opencv2/core/base.hpp:55,\r\n                 from /home/daniel/projects/opencv/modules/core/include/opencv2/core.hpp:54,\r\n                 from /home/daniel/projects/opencv/build/modules/stitching/precomp.hpp:56:\r\n/home/daniel/projects/opencv/modules/core/include/opencv2/core/ptr.inl.hpp:303:8: note: template<class T, class A1, class A2, class A3, class A4, class A5> cv::Ptr<T> cv::makePtr(const A1&, const A2&, const A3&, const A4&, const A5&)\r\n Ptr<T> makePtr(const A1& a1, const A2& a2, const A3& a3, const A4& a4, const A5& a5)\r\n        ^\r\n/home/daniel/projects/opencv/modules/core/include/opencv2/core/ptr.inl.hpp:303:8: note:   template argument deduction/substitution failed:\r\n/home/daniel/projects/opencv/modules/stitching/src/stitcher.cpp:556:72: error: template argument 1 is invalid\r\n         stitcher->setSeamFinder(makePtr<detail::GraphCutSeamFinderGpu>());\r\n                                                                        ^\r\nIn file included from /home/daniel/projects/opencv/modules/core/include/opencv2/core/cvstd.hpp:1057:0,\r\n                 from /home/daniel/projects/opencv/modules/core/include/opencv2/core/base.hpp:55,\r\n                 from /home/daniel/projects/opencv/modules/core/include/opencv2/core.hpp:54,\r\n                 from /home/daniel/projects/opencv/build/modules/stitching/precomp.hpp:56:\r\n/home/daniel/projects/opencv/modules/core/include/opencv2/core/ptr.inl.hpp:309:8: note: template<class T, class A1, class A2, class A3, class A4, class A5, class A6> cv::Ptr<T> cv::makePtr(const A1&, const A2&, const A3&, const A4&, const A5&, const A6&)\r\n Ptr<T> makePtr(const A1& a1, const A2& a2, const A3& a3, const A4& a4, const A5& a5, const A6& a6)\r\n        ^\r\n/home/daniel/projects/opencv/modules/core/include/opencv2/core/ptr.inl.hpp:309:8: note:   template argument deduction/substitution failed:\r\n/home/daniel/projects/opencv/modules/stitching/src/stitcher.cpp:556:72: error: template argument 1 is invalid\r\n         stitcher->setSeamFinder(makePtr<detail::GraphCutSeamFinderGpu>());\r\n                                                                        ^\r\nIn file included from /home/daniel/projects/opencv/modules/core/include/opencv2/core/cvstd.hpp:1057:0,\r\n                 from /home/daniel/projects/opencv/modules/core/include/opencv2/core/base.hpp:55,\r\n                 from /home/daniel/projects/opencv/modules/core/include/opencv2/core.hpp:54,\r\n                 from /home/daniel/projects/opencv/build/modules/stitching/precomp.hpp:56:\r\n/home/daniel/projects/opencv/modules/core/include/opencv2/core/ptr.inl.hpp:315:8: note: template<class T, class A1, class A2, class A3, class A4, class A5, class A6, class A7> cv::Ptr<T> cv::makePtr(const A1&, const A2&, const A3&, const A4&, const A5&, const A6&, const A7&)\r\n Ptr<T> makePtr(const A1& a1, const A2& a2, const A3& a3, const A4& a4, const A5& a5, const A6& a6, const A7& a7)\r\n        ^\r\n/home/daniel/projects/opencv/modules/core/include/opencv2/core/ptr.inl.hpp:315:8: note:   template argument deduction/substitution failed:\r\n/home/daniel/projects/opencv/modules/stitching/src/stitcher.cpp:556:72: error: template argument 1 is invalid\r\n         stitcher->setSeamFinder(makePtr<detail::GraphCutSeamFinderGpu>());\r\n                                                                        ^\r\nIn file included from /home/daniel/projects/opencv/modules/core/include/opencv2/core/cvstd.hpp:1057:0,\r\n                 from /home/daniel/projects/opencv/modules/core/include/opencv2/core/base.hpp:55,\r\n                 from /home/daniel/projects/opencv/modules/core/include/opencv2/core.hpp:54,\r\n                 from /home/daniel/projects/opencv/build/modules/stitching/precomp.hpp:56:\r\n/home/daniel/projects/opencv/modules/core/include/opencv2/core/ptr.inl.hpp:321:8: note: template<class T, class A1, class A2, class A3, class A4, class A5, class A6, class A7, class A8> cv::Ptr<T> cv::makePtr(const A1&, const A2&, const A3&, const A4&, const A5&, const A6&, const A7&, const A8&)\r\n Ptr<T> makePtr(const A1& a1, const A2& a2, const A3& a3, const A4& a4, const A5& a5, const A6& a6, const A7& a7, const A8& a8)\r\n        ^\r\n/home/daniel/projects/opencv/modules/core/include/opencv2/core/ptr.inl.hpp:321:8: note:   template argument deduction/substitution failed:\r\n/home/daniel/projects/opencv/modules/stitching/src/stitcher.cpp:556:72: error: template argument 1 is invalid\r\n         stitcher->setSeamFinder(makePtr<detail::GraphCutSeamFinderGpu>());\r\n                                                                        ^\r\nIn file included from /home/daniel/projects/opencv/modules/core/include/opencv2/core/cvstd.hpp:1057:0,\r\n                 from /home/daniel/projects/opencv/modules/core/include/opencv2/core/base.hpp:55,\r\n                 from /home/daniel/projects/opencv/modules/core/include/opencv2/core.hpp:54,\r\n                 from /home/daniel/projects/opencv/build/modules/stitching/precomp.hpp:56:\r\n/home/daniel/projects/opencv/modules/core/include/opencv2/core/ptr.inl.hpp:327:8: note: template<class T, class A1, class A2, class A3, class A4, class A5, class A6, class A7, class A8, class A9> cv::Ptr<T> cv::makePtr(const A1&, const A2&, const A3&, const A4&, const A5&, const A6&, const A7&, const A8&, const A9&)\r\n Ptr<T> makePtr(const A1& a1, const A2& a2, const A3& a3, const A4& a4, const A5& a5, const A6& a6, const A7& a7, const A8& a8, const A9& a9)\r\n        ^\r\n/home/daniel/projects/opencv/modules/core/include/opencv2/core/ptr.inl.hpp:327:8: note:   template argument deduction/substitution failed:\r\n/home/daniel/projects/opencv/modules/stitching/src/stitcher.cpp:556:72: error: template argument 1 is invalid\r\n         stitcher->setSeamFinder(makePtr<detail::GraphCutSeamFinderGpu>());\r\n                                                                        ^\r\nIn file included from /home/daniel/projects/opencv/modules/core/include/opencv2/core/cvstd.hpp:1057:0,\r\n                 from /home/daniel/projects/opencv/modules/core/include/opencv2/core/base.hpp:55,\r\n                 from /home/daniel/projects/opencv/modules/core/include/opencv2/core.hpp:54,\r\n                 from /home/daniel/projects/opencv/build/modules/stitching/precomp.hpp:56:\r\n/home/daniel/projects/opencv/modules/core/include/opencv2/core/ptr.inl.hpp:333:8: note: template<class T, class A1, class A2, class A3, class A4, class A5, class A6, class A7, class A8, class A9, class A10> cv::Ptr<T> cv::makePtr(const A1&, const A2&, const A3&, const A4&, const A5&, const A6&, const A7&, const A8&, const A9&, const A10&)\r\n Ptr<T> makePtr(const A1& a1, const A2& a2, const A3& a3, const A4& a4, const A5& a5, const A6& a6, const A7& a7, const A8& a8, const A9& a9, const A10& a10)\r\n        ^\r\n/home/daniel/projects/opencv/modules/core/include/opencv2/core/ptr.inl.hpp:333:8: note:   template argument deduction/substitution failed:\r\n/home/daniel/projects/opencv/modules/stitching/src/stitcher.cpp:556:72: error: template argument 1 is invalid\r\n         stitcher->setSeamFinder(makePtr<detail::GraphCutSeamFinderGpu>());\r\n```"}}