Closed tylerhawkes closed 3 years ago
For some reason the dnn_superres
is marked as the core module for OpenCV-4, but I've checked through all OpenCV-4 versions and it doesn't seem to have ever been the one, so it's most probably a bug. Just to check, can you please try removing it from the CORE_MODULES
global constant in build.rs
?
As to building without the buildtime-bindgen
, it proved to be not realistic in the real world. It should work as long as you're building against the exact same OpenCV version that the built-in bindings were generated from (4.5.1 at the time of writing), you're using Linux (headers are different in parts between platforms) and you have a beefy OpenCV installation (my local install is built with most features enabled to cover as more API surface as possible).
I figured that building without buildtime-bindgen
is probably the root of the cause here, but after digging around a lot I couldn't find anything about dnn_superres in my opencv install or the master branch so I figured it was a bug. I tried just removing dnn_superres
from the CORE_MODULES
while working on that other pull request and it just fails with a bunch of other errors. I'm sure it's a simple solve, but I don't have time to fix this particular problem right now. Hopefully someone else can get it figured out.
Will you please post the logs you're seeing when it fails?
Here's the output I get when removing that line from build.rs
Compiling once_cell v1.5.2
Compiling opencv v0.47.0 (/build/dev/opencv-rust)
The following warnings were emitted during compilation:
warning: /target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/viz.cpp:2:10: fatal error: opencv2/viz.hpp: No such file or directory
warning: 2 | #include <opencv2/viz.hpp>
warning: | ^~~~~~~~~~~~~~~~~
warning: compilation terminated.
warning: /target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/viz.cpp:2:10: fatal error: opencv2/viz.hpp: No such file or directory
warning: 2 | #include <opencv2/viz.hpp>
warning: | ^~~~~~~~~~~~~~~~~
warning: compilation terminated.
warning: In file included from /target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/stitching.cpp:3:
warning: /target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/stitching_types.hpp:64:36: error: ‘GraphCutSeamFinderGpu’ is not a member of ‘cv::detail’; did you mean ‘GraphCutSeamFinder’?
warning: 64 | template struct Result<cv::detail::GraphCutSeamFinderGpu*>;
warning: | ^~~~~~~~~~~~~~~~~~~~~
warning: | GraphCutSeamFinder
warning: /target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/stitching_types.hpp:64:36: error: ‘GraphCutSeamFinderGpu’ is not a member of ‘cv::detail’; did you mean ‘GraphCutSeamFinder’?
warning: 64 | template struct Result<cv::detail::GraphCutSeamFinderGpu*>;
warning: | ^~~~~~~~~~~~~~~~~~~~~
warning: | GraphCutSeamFinder
warning: /target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/stitching_types.hpp:64:58: error: template argument 1 is invalid
warning: 64 | template struct Result<cv::detail::GraphCutSeamFinderGpu*>;
warning: | ^
warning: /target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/stitching.cpp:1852:7: error: variable or field ‘cv_Detail_GraphCutSeamFinderGpu_delete’ declared void
warning: 1852 | void cv_Detail_GraphCutSeamFinderGpu_delete(cv::detail::GraphCutSeamFinderGpu* instance) {
warning: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
warning: /target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/stitching.cpp:1852:58: error: ‘GraphCutSeamFinderGpu’ is not a member of ‘cv::detail’; did you mean ‘GraphCutSeamFinder’?
warning: 1852 | void cv_Detail_GraphCutSeamFinderGpu_delete(cv::detail::GraphCutSeamFinderGpu* instance) {
warning: | ^~~~~~~~~~~~~~~~~~~~~
warning: | GraphCutSeamFinder
warning: /target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/stitching.cpp:1852:81: error: ‘instance’ was not declared in this scope
warning: 1852 | void cv_Detail_GraphCutSeamFinderGpu_delete(cv::detail::GraphCutSeamFinderGpu* instance) {
warning: | ^~~~~~~~
warning: /target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/stitching.cpp:1855:21: error: ‘GraphCutSeamFinderGpu’ is not a member of ‘cv::detail’; did you mean ‘GraphCutSeamFinder’?
warning: 1855 | Result<cv::detail::GraphCutSeamFinderGpu*> cv_detail_GraphCutSeamFinderGpu_GraphCutSeamFinderGpu_int_float_float(int cost_type, float terminal_cost, float bad_region_penalty) {
warning: | ^~~~~~~~~~~~~~~~~~~~~
warning: | GraphCutSeamFinder
warning: /target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/stitching.cpp:1855:21: error: ‘GraphCutSeamFinderGpu’ is not a member of ‘cv::detail’; did you mean ‘GraphCutSeamFinder’?
warning: 1855 | Result<cv::detail::GraphCutSeamFinderGpu*> cv_detail_GraphCutSeamFinderGpu_GraphCutSeamFinderGpu_int_float_float(int cost_type, float terminal_cost, float bad_region_penalty) {
warning: | ^~~~~~~~~~~~~~~~~~~~~
warning: | GraphCutSeamFinder
warning: /target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/stitching.cpp:1855:43: error: template argument 1 is invalid
warning: 1855 | Result<cv::detail::GraphCutSeamFinderGpu*> cv_detail_GraphCutSeamFinderGpu_GraphCutSeamFinderGpu_int_float_float(int cost_type, float terminal_cost, float bad_region_penalty) {
warning: | ^
warning: /target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/stitching.cpp: In function ‘int cv_detail_GraphCutSeamFinderGpu_GraphCutSeamFinderGpu_int_float_float(int, float, float)’:
warning: /target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/stitching.cpp:1857:16: error: ‘GraphCutSeamFinderGpu’ is not a member of ‘cv::detail’; did you mean ‘GraphCutSeamFinder’?
warning: 1857 | cv::detail::GraphCutSeamFinderGpu* ret = new cv::detail::GraphCutSeamFinderGpu(cost_type, terminal_cost, bad_region_penalty);
warning: | ^~~~~~~~~~~~~~~~~~~~~
warning: | GraphCutSeamFinder
warning: /target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/stitching.cpp:1857:39: error: ‘ret’ was not declared in this scope
warning: 1857 | cv::detail::GraphCutSeamFinderGpu* ret = new cv::detail::GraphCutSeamFinderGpu(cost_type, terminal_cost, bad_region_penalty);
warning: | ^~~
warning: /target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/stitching.cpp:1857:49: error: expected type-specifier
warning: 1857 | cv::detail::GraphCutSeamFinderGpu* ret = new cv::detail::GraphCutSeamFinderGpu(cost_type, terminal_cost, bad_region_penalty);
warning: | ^~
warning: /target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/stitching.cpp:1858:26: error: ‘GraphCutSeamFinderGpu’ is not a member of ‘cv::detail’; did you mean ‘GraphCutSeamFinder’?
warning: 1858 | return Ok<cv::detail::GraphCutSeamFinderGpu*>(ret);
warning: | ^~~~~~~~~~~~~~~~~~~~~
warning: | GraphCutSeamFinder
warning: /target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/stitching.cpp:1858:26: error: ‘GraphCutSeamFinderGpu’ is not a member of ‘cv::detail’; did you mean ‘GraphCutSeamFinder’?
warning: 1858 | return Ok<cv::detail::GraphCutSeamFinderGpu*>(ret);
warning: | ^~~~~~~~~~~~~~~~~~~~~
warning: | GraphCutSeamFinder
warning: /target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/stitching.cpp:1858:11: error: parse error in template argument list
warning: 1858 | return Ok<cv::detail::GraphCutSeamFinderGpu*>(ret);
warning: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
warning: In file included from /target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/stitching.cpp:1:
warning: /target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/stitching.cpp:1859:47: error: ‘GraphCutSeamFinderGpu’ is not a member of ‘cv::detail’; did you mean ‘GraphCutSeamFinder’?
warning: 1859 | } OCVRS_CATCH(OCVRS_TYPE(Result<cv::detail::GraphCutSeamFinderGpu*>))
warning: | ^~~~~~~~~~~~~~~~~~~~~
warning: /build/dev/opencv-rust/src_cpp/ocvrs_common.hpp:23:13: note: in definition of macro ‘CODE_CATCH’
warning: 23 | return Err<return_type>(code, msg); \
warning: | ^~~~~~~~~~~
warning: /build/dev/opencv-rust/src_cpp/ocvrs_common.hpp:27:12: note: in expansion of macro ‘OCVRS_TYPE’
warning: 27 | CODE_CATCH(OCVRS_TYPE(return_type), cv::Exception& e, e.code, e.what()) \
warning: | ^~~~~~~~~~
warning: /target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/stitching.cpp:1859:5: note: in expansion of macro ‘OCVRS_CATCH’
warning: 1859 | } OCVRS_CATCH(OCVRS_TYPE(Result<cv::detail::GraphCutSeamFinderGpu*>))
warning: | ^~~~~~~~~~~
warning: /target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/stitching.cpp:1859:17: note: in expansion of macro ‘OCVRS_TYPE’
warning: 1859 | } OCVRS_CATCH(OCVRS_TYPE(Result<cv::detail::GraphCutSeamFinderGpu*>))
warning: | ^~~~~~~~~~
warning: /target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/stitching.cpp:1859:47: error: ‘GraphCutSeamFinderGpu’ is not a member of ‘cv::detail’; did you mean ‘GraphCutSeamFinder’?
warning: 1859 | } OCVRS_CATCH(OCVRS_TYPE(Result<cv::detail::GraphCutSeamFinderGpu*>))
warning: | ^~~~~~~~~~~~~~~~~~~~~
warning: /build/dev/opencv-rust/src_cpp/ocvrs_common.hpp:23:13: note: in definition of macro ‘CODE_CATCH’
warning: 23 | return Err<return_type>(code, msg); \
warning: | ^~~~~~~~~~~
warning: /build/dev/opencv-rust/src_cpp/ocvrs_common.hpp:27:12: note: in expansion of macro ‘OCVRS_TYPE’
warning: 27 | CODE_CATCH(OCVRS_TYPE(return_type), cv::Exception& e, e.code, e.what()) \
warning: | ^~~~~~~~~~
warning: /target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/stitching.cpp:1859:5: note: in expansion of macro ‘OCVRS_CATCH’
warning: 1859 | } OCVRS_CATCH(OCVRS_TYPE(Result<cv::detail::GraphCutSeamFinderGpu*>))
warning: | ^~~~~~~~~~~
warning: /target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/stitching.cpp:1859:17: note: in expansion of macro ‘OCVRS_TYPE’
warning: 1859 | } OCVRS_CATCH(OCVRS_TYPE(Result<cv::detail::GraphCutSeamFinderGpu*>))
warning: | ^~~~~~~~~~
warning: /target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/stitching.cpp:1859:69: error: template argument 1 is invalid
warning: 1859 | } OCVRS_CATCH(OCVRS_TYPE(Result<cv::detail::GraphCutSeamFinderGpu*>))
warning: | ^
warning: /build/dev/opencv-rust/src_cpp/ocvrs_common.hpp:23:13: note: in definition of macro ‘CODE_CATCH’
warning: 23 | return Err<return_type>(code, msg); \
warning: | ^~~~~~~~~~~
warning: /build/dev/opencv-rust/src_cpp/ocvrs_common.hpp:27:12: note: in expansion of macro ‘OCVRS_TYPE’
warning: 27 | CODE_CATCH(OCVRS_TYPE(return_type), cv::Exception& e, e.code, e.what()) \
warning: | ^~~~~~~~~~
warning: /target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/stitching.cpp:1859:5: note: in expansion of macro ‘OCVRS_CATCH’
warning: 1859 | } OCVRS_CATCH(OCVRS_TYPE(Result<cv::detail::GraphCutSeamFinderGpu*>))
warning: | ^~~~~~~~~~~
warning: /target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/stitching.cpp:1859:17: note: in expansion of macro ‘OCVRS_TYPE’
warning: 1859 | } OCVRS_CATCH(OCVRS_TYPE(Result<cv::detail::GraphCutSeamFinderGpu*>))
warning: | ^~~~~~~~~~
warning: /build/dev/opencv-rust/src_cpp/ocvrs_common.hpp:23:35: error: no matching function for call to ‘Err<<expression error> >(int&, const char*)’
warning: 23 | return Err<return_type>(code, msg); \
warning: | ^
warning: /build/dev/opencv-rust/src_cpp/ocvrs_common.hpp:27:1: note: in expansion of macro ‘CODE_CATCH’
warning: 27 | CODE_CATCH(OCVRS_TYPE(return_type), cv::Exception& e, e.code, e.what()) \
warning: | ^~~~~~~~~~
warning: /target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/stitching.cpp:1859:5: note: in expansion of macro ‘OCVRS_CATCH’
warning: 1859 | } OCVRS_CATCH(OCVRS_TYPE(Result<cv::detail::GraphCutSeamFinderGpu*>))
warning: | ^~~~~~~~~~~
warning: /build/dev/opencv-rust/src_cpp/ocvrs_common.hpp:55:31: note: candidate: ‘template<class T> T Err(int, const char*)’
warning: 55 | template<typename T> inline T Err(int code, const char* msg) {
warning: | ^~~
warning: /build/dev/opencv-rust/src_cpp/ocvrs_common.hpp:55:31: note: template argument deduction/substitution failed:
warning: /build/dev/opencv-rust/src_cpp/ocvrs_common.hpp:23:35: error: template argument 1 is invalid
warning: 23 | return Err<return_type>(code, msg); \
warning: | ^
warning: /build/dev/opencv-rust/src_cpp/ocvrs_common.hpp:27:1: note: in expansion of macro ‘CODE_CATCH’
warning: 27 | CODE_CATCH(OCVRS_TYPE(return_type), cv::Exception& e, e.code, e.what()) \
warning: | ^~~~~~~~~~
warning: /target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/stitching.cpp:1859:5: note: in expansion of macro ‘OCVRS_CATCH’
warning: 1859 | } OCVRS_CATCH(OCVRS_TYPE(Result<cv::detail::GraphCutSeamFinderGpu*>))
warning: | ^~~~~~~~~~~
warning: /target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/stitching.cpp:1859:47: error: ‘GraphCutSeamFinderGpu’ is not a member of ‘cv::detail’; did you mean ‘GraphCutSeamFinder’?
warning: 1859 | } OCVRS_CATCH(OCVRS_TYPE(Result<cv::detail::GraphCutSeamFinderGpu*>))
warning: | ^~~~~~~~~~~~~~~~~~~~~
warning: /build/dev/opencv-rust/src_cpp/ocvrs_common.hpp:23:13: note: in definition of macro ‘CODE_CATCH’
warning: 23 | return Err<return_type>(code, msg); \
warning: | ^~~~~~~~~~~
warning: /build/dev/opencv-rust/src_cpp/ocvrs_common.hpp:28:12: note: in expansion of macro ‘OCVRS_TYPE’
warning: 28 | CODE_CATCH(OCVRS_TYPE(return_type), ..., -99999, "unspecified error in OpenCV guts")
warning: | ^~~~~~~~~~
warning: /target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/stitching.cpp:1859:5: note: in expansion of macro ‘OCVRS_CATCH’
warning: 1859 | } OCVRS_CATCH(OCVRS_TYPE(Result<cv::detail::GraphCutSeamFinderGpu*>))
warning: | ^~~~~~~~~~~
warning: /target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/stitching.cpp:1859:17: note: in expansion of macro ‘OCVRS_TYPE’
warning: 1859 | } OCVRS_CATCH(OCVRS_TYPE(Result<cv::detail::GraphCutSeamFinderGpu*>))
warning: | ^~~~~~~~~~
warning: /target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/stitching.cpp:1859:47: error: ‘GraphCutSeamFinderGpu’ is not a member of ‘cv::detail’; did you mean ‘GraphCutSeamFinder’?
warning: 1859 | } OCVRS_CATCH(OCVRS_TYPE(Result<cv::detail::GraphCutSeamFinderGpu*>))
warning: | ^~~~~~~~~~~~~~~~~~~~~
warning: /build/dev/opencv-rust/src_cpp/ocvrs_common.hpp:23:13: note: in definition of macro ‘CODE_CATCH’
warning: 23 | return Err<return_type>(code, msg); \
warning: | ^~~~~~~~~~~
warning: /build/dev/opencv-rust/src_cpp/ocvrs_common.hpp:28:12: note: in expansion of macro ‘OCVRS_TYPE’
warning: 28 | CODE_CATCH(OCVRS_TYPE(return_type), ..., -99999, "unspecified error in OpenCV guts")
warning: | ^~~~~~~~~~
warning: /target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/stitching.cpp:1859:5: note: in expansion of macro ‘OCVRS_CATCH’
warning: 1859 | } OCVRS_CATCH(OCVRS_TYPE(Result<cv::detail::GraphCutSeamFinderGpu*>))
warning: | ^~~~~~~~~~~
warning: /target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/stitching.cpp:1859:17: note: in expansion of macro ‘OCVRS_TYPE’
warning: 1859 | } OCVRS_CATCH(OCVRS_TYPE(Result<cv::detail::GraphCutSeamFinderGpu*>))
warning: | ^~~~~~~~~~
warning: /target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/stitching.cpp:1859:69: error: template argument 1 is invalid
warning: 1859 | } OCVRS_CATCH(OCVRS_TYPE(Result<cv::detail::GraphCutSeamFinderGpu*>))
warning: | ^
warning: /build/dev/opencv-rust/src_cpp/ocvrs_common.hpp:23:13: note: in definition of macro ‘CODE_CATCH’
warning: 23 | return Err<return_type>(code, msg); \
warning: | ^~~~~~~~~~~
warning: /build/dev/opencv-rust/src_cpp/ocvrs_common.hpp:28:12: note: in expansion of macro ‘OCVRS_TYPE’
warning: 28 | CODE_CATCH(OCVRS_TYPE(return_type), ..., -99999, "unspecified error in OpenCV guts")
warning: | ^~~~~~~~~~
warning: /target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/stitching.cpp:1859:5: note: in expansion of macro ‘OCVRS_CATCH’
warning: 1859 | } OCVRS_CATCH(OCVRS_TYPE(Result<cv::detail::GraphCutSeamFinderGpu*>))
warning: | ^~~~~~~~~~~
warning: /target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/stitching.cpp:1859:17: note: in expansion of macro ‘OCVRS_TYPE’
warning: 1859 | } OCVRS_CATCH(OCVRS_TYPE(Result<cv::detail::GraphCutSeamFinderGpu*>))
warning: | ^~~~~~~~~~
warning: /build/dev/opencv-rust/src_cpp/ocvrs_common.hpp:23:35: error: no matching function for call to ‘Err<<expression error> >(int, const char [33])’
warning: 23 | return Err<return_type>(code, msg); \
warning: | ^
warning: /build/dev/opencv-rust/src_cpp/ocvrs_common.hpp:28:1: note: in expansion of macro ‘CODE_CATCH’
warning: 28 | CODE_CATCH(OCVRS_TYPE(return_type), ..., -99999, "unspecified error in OpenCV guts")
warning: | ^~~~~~~~~~
warning: /target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/stitching.cpp:1859:5: note: in expansion of macro ‘OCVRS_CATCH’
warning: 1859 | } OCVRS_CATCH(OCVRS_TYPE(Result<cv::detail::GraphCutSeamFinderGpu*>))
warning: | ^~~~~~~~~~~
warning: /build/dev/opencv-rust/src_cpp/ocvrs_common.hpp:55:31: note: candidate: ‘template<class T> T Err(int, const char*)’
warning: 55 | template<typename T> inline T Err(int code, const char* msg) {
warning: | ^~~
warning: /build/dev/opencv-rust/src_cpp/ocvrs_common.hpp:55:31: note: template argument deduction/substitution failed:
warning: /build/dev/opencv-rust/src_cpp/ocvrs_common.hpp:23:35: error: template argument 1 is invalid
warning: 23 | return Err<return_type>(code, msg); \
warning: | ^
warning: /build/dev/opencv-rust/src_cpp/ocvrs_common.hpp:28:1: note: in expansion of macro ‘CODE_CATCH’
warning: 28 | CODE_CATCH(OCVRS_TYPE(return_type), ..., -99999, "unspecified error in OpenCV guts")
warning: | ^~~~~~~~~~
warning: /target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/stitching.cpp:1859:5: note: in expansion of macro ‘OCVRS_CATCH’
warning: 1859 | } OCVRS_CATCH(OCVRS_TYPE(Result<cv::detail::GraphCutSeamFinderGpu*>))
warning: | ^~~~~~~~~~~
warning: /target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/stitching.cpp:1855:119: warning: unused parameter ‘cost_type’ [-Wunused-parameter]
warning: 1855 | Result<cv::detail::GraphCutSeamFinderGpu*> cv_detail_GraphCutSeamFinderGpu_GraphCutSeamFinderGpu_int_float_float(int cost_type, float terminal_cost, float bad_region_penalty) {
warning: | ~~~~^~~~~~~~~
warning: /target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/stitching.cpp:1855:136: warning: unused parameter ‘terminal_cost’ [-Wunused-parameter]
warning: 1855 | Result<cv::detail::GraphCutSeamFinderGpu*> cv_detail_GraphCutSeamFinderGpu_GraphCutSeamFinderGpu_int_float_float(int cost_type, float terminal_cost, float bad_region_penalty) {
warning: | ~~~~~~^~~~~~~~~~~~~
warning: /target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/stitching.cpp:1855:157: warning: unused parameter ‘bad_region_penalty’ [-Wunused-parameter]
warning: 1855 | Result<cv::detail::GraphCutSeamFinderGpu*> cv_detail_GraphCutSeamFinderGpu_GraphCutSeamFinderGpu_int_float_float(int cost_type, float terminal_cost, float bad_region_penalty) {
warning: | ~~~~~~^~~~~~~~~~~~~~~~~~
warning: /target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/stitching.cpp: At global scope:
warning: /target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/stitching.cpp:1862:118: error: ‘GraphCutSeamFinderGpu’ is not a member of ‘cv::detail’; did you mean ‘GraphCutSeamFinder’?
warning: 1862 | Result_void cv_detail_GraphCutSeamFinderGpu_find_const_vector_UMat_R_const_vector_Point_R_vector_UMat_R(cv::detail::GraphCutSeamFinderGpu* instance, const std::vector<cv::UMat>* src, const std::vector<cv::Point>* corners, std::vector<cv::UMat>* masks) {
warning: | ^~~~~~~~~~~~~~~~~~~~~
warning: | GraphCutSeamFinder
warning: /target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/stitching.cpp:1862:141: error: ‘instance’ was not declared in this scope
warning: 1862 | Result_void cv_detail_GraphCutSeamFinderGpu_find_const_vector_UMat_R_const_vector_Point_R_vector_UMat_R(cv::detail::GraphCutSeamFinderGpu* instance, const std::vector<cv::UMat>* src, const std::vector<cv::Point>* corners, std::vector<cv::UMat>* masks) {
warning: | ^~~~~~~~
warning: /target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/stitching.cpp:1862:151: error: expected primary-expression before ‘const’
warning: 1862 | Result_void cv_detail_GraphCutSeamFinderGpu_find_const_vector_UMat_R_const_vector_Point_R_vector_UMat_R(cv::detail::GraphCutSeamFinderGpu* instance, const std::vector<cv::UMat>* src, const std::vector<cv::Point>* corners, std::vector<cv::UMat>* masks) {
warning: | ^~~~~
warning: /target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/stitching.cpp:1862:185: error: expected primary-expression before ‘const’
warning: 1862 | Result_void cv_detail_GraphCutSeamFinderGpu_find_const_vector_UMat_R_const_vector_Point_R_vector_UMat_R(cv::detail::GraphCutSeamFinderGpu* instance, const std::vector<cv::UMat>* src, const std::vector<cv::Point>* corners, std::vector<cv::UMat>* masks) {
warning: | ^~~~~
warning: /target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/stitching.cpp:1862:245: error: expected primary-expression before ‘*’ token
warning: 1862 | Result_void cv_detail_GraphCutSeamFinderGpu_find_const_vector_UMat_R_const_vector_Point_R_vector_UMat_R(cv::detail::GraphCutSeamFinderGpu* instance, const std::vector<cv::UMat>* src, const std::vector<cv::Point>* corners, std::vector<cv::UMat>* masks) {
warning: | ^
warning: /target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/stitching.cpp:1862:247: error: ‘masks’ was not declared in this scope
warning: 1862 | Result_void cv_detail_GraphCutSeamFinderGpu_find_const_vector_UMat_R_const_vector_Point_R_vector_UMat_R(cv::detail::GraphCutSeamFinderGpu* instance, const std::vector<cv::UMat>* src, const std::vector<cv::Point>* corners, std::vector<cv::UMat>* masks) {
warning: | ^~~~~
warning: /target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/stitching.cpp:1862:254: error: expected ‘,’ or ‘;’ before ‘{’ token
warning: 1862 | Result_void cv_detail_GraphCutSeamFinderGpu_find_const_vector_UMat_R_const_vector_Point_R_vector_UMat_R(cv::detail::GraphCutSeamFinderGpu* instance, const std::vector<cv::UMat>* src, const std::vector<cv::Point>* corners, std::vector<cv::UMat>* masks) {
warning: | ^
warning: /target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/stitching.cpp:1869:88: error: ‘GraphCutSeamFinderGpu’ is not a member of ‘cv::detail’; did you mean ‘GraphCutSeamFinder’?
warning: 1869 | Result_void cv_detail_GraphCutSeamFinderGpu_findInPair_size_t_size_t_Rect(cv::detail::GraphCutSeamFinderGpu* instance, size_t first, size_t second, cv::Rect* roi) {
warning: | ^~~~~~~~~~~~~~~~~~~~~
warning: | GraphCutSeamFinder
warning: /target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/stitching.cpp:1869:111: error: ‘instance’ was not declared in this scope
warning: 1869 | Result_void cv_detail_GraphCutSeamFinderGpu_findInPair_size_t_size_t_Rect(cv::detail::GraphCutSeamFinderGpu* instance, size_t first, size_t second, cv::Rect* roi) {
warning: | ^~~~~~~~
warning: /target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/stitching.cpp:1869:128: error: expected primary-expression before ‘first’
warning: 1869 | Result_void cv_detail_GraphCutSeamFinderGpu_findInPair_size_t_size_t_Rect(cv::detail::GraphCutSeamFinderGpu* instance, size_t first, size_t second, cv::Rect* roi) {
warning: | ^~~~~
warning: /target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/stitching.cpp:1869:142: error: expected primary-expression before ‘second’
warning: 1869 | Result_void cv_detail_GraphCutSeamFinderGpu_findInPair_size_t_size_t_Rect(cv::detail::GraphCutSeamFinderGpu* instance, size_t first, size_t second, cv::Rect* roi) {
warning: | ^~~~~~
warning: /target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/stitching.cpp:1869:158: error: expected primary-expression before ‘*’ token
warning: 1869 | Result_void cv_detail_GraphCutSeamFinderGpu_findInPair_size_t_size_t_Rect(cv::detail::GraphCutSeamFinderGpu* instance, size_t first, size_t second, cv::Rect* roi) {
warning: | ^
warning: /target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/stitching.cpp:1869:160: error: ‘roi’ was not declared in this scope
warning: 1869 | Result_void cv_detail_GraphCutSeamFinderGpu_findInPair_size_t_size_t_Rect(cv::detail::GraphCutSeamFinderGpu* instance, size_t first, size_t second, cv::Rect* roi) {
warning: | ^~~
warning: /target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/stitching.cpp:1869:165: error: expected ‘,’ or ‘;’ before ‘{’ token
warning: 1869 | Result_void cv_detail_GraphCutSeamFinderGpu_findInPair_size_t_size_t_Rect(cv::detail::GraphCutSeamFinderGpu* instance, size_t first, size_t second, cv::Rect* roi) {
warning: | ^
warning: cc1plus: note: unrecognized command-line option ‘-Wno-return-type-c-linkage’ may have been intended to silence earlier diagnostics
warning: In file included from /target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/stitching.cpp:3:
warning: /target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/stitching_types.hpp:64:36: error: ‘GraphCutSeamFinderGpu’ is not a member of ‘cv::detail’; did you mean ‘GraphCutSeamFinder’?
warning: 64 | template struct Result<cv::detail::GraphCutSeamFinderGpu*>;
warning: | ^~~~~~~~~~~~~~~~~~~~~
warning: | GraphCutSeamFinder
warning: /target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/stitching_types.hpp:64:36: error: ‘GraphCutSeamFinderGpu’ is not a member of ‘cv::detail’; did you mean ‘GraphCutSeamFinder’?
warning: 64 | template struct Result<cv::detail::GraphCutSeamFinderGpu*>;
warning: | ^~~~~~~~~~~~~~~~~~~~~
warning: | GraphCutSeamFinder
warning: /target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/stitching_types.hpp:64:58: error: template argument 1 is invalid
warning: 64 | template struct Result<cv::detail::GraphCutSeamFinderGpu*>;
warning: | ^
warning: /target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/stitching.cpp:1852:7: error: variable or field ‘cv_Detail_GraphCutSeamFinderGpu_delete’ declared void
warning: 1852 | void cv_Detail_GraphCutSeamFinderGpu_delete(cv::detail::GraphCutSeamFinderGpu* instance) {
warning: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
warning: /target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/stitching.cpp:1852:58: error: ‘GraphCutSeamFinderGpu’ is not a member of ‘cv::detail’; did you mean ‘GraphCutSeamFinder’?
warning: 1852 | void cv_Detail_GraphCutSeamFinderGpu_delete(cv::detail::GraphCutSeamFinderGpu* instance) {
warning: | ^~~~~~~~~~~~~~~~~~~~~
warning: | GraphCutSeamFinder
warning: /target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/stitching.cpp:1852:81: error: ‘instance’ was not declared in this scope
warning: 1852 | void cv_Detail_GraphCutSeamFinderGpu_delete(cv::detail::GraphCutSeamFinderGpu* instance) {
warning: | ^~~~~~~~
warning: /target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/stitching.cpp:1855:21: error: ‘GraphCutSeamFinderGpu’ is not a member of ‘cv::detail’; did you mean ‘GraphCutSeamFinder’?
warning: 1855 | Result<cv::detail::GraphCutSeamFinderGpu*> cv_detail_GraphCutSeamFinderGpu_GraphCutSeamFinderGpu_int_float_float(int cost_type, float terminal_cost, float bad_region_penalty) {
warning: | ^~~~~~~~~~~~~~~~~~~~~
warning: | GraphCutSeamFinder
warning: /target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/stitching.cpp:1855:21: error: ‘GraphCutSeamFinderGpu’ is not a member of ‘cv::detail’; did you mean ‘GraphCutSeamFinder’?
warning: 1855 | Result<cv::detail::GraphCutSeamFinderGpu*> cv_detail_GraphCutSeamFinderGpu_GraphCutSeamFinderGpu_int_float_float(int cost_type, float terminal_cost, float bad_region_penalty) {
warning: | ^~~~~~~~~~~~~~~~~~~~~
warning: | GraphCutSeamFinder
warning: /target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/stitching.cpp:1855:43: error: template argument 1 is invalid
warning: 1855 | Result<cv::detail::GraphCutSeamFinderGpu*> cv_detail_GraphCutSeamFinderGpu_GraphCutSeamFinderGpu_int_float_float(int cost_type, float terminal_cost, float bad_region_penalty) {
warning: | ^
warning: /target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/stitching.cpp: In function ‘int cv_detail_GraphCutSeamFinderGpu_GraphCutSeamFinderGpu_int_float_float(int, float, float)’:
warning: /target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/stitching.cpp:1857:16: error: ‘GraphCutSeamFinderGpu’ is not a member of ‘cv::detail’; did you mean ‘GraphCutSeamFinder’?
warning: 1857 | cv::detail::GraphCutSeamFinderGpu* ret = new cv::detail::GraphCutSeamFinderGpu(cost_type, terminal_cost, bad_region_penalty);
warning: | ^~~~~~~~~~~~~~~~~~~~~
warning: | GraphCutSeamFinder
warning: /target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/stitching.cpp:1857:39: error: ‘ret’ was not declared in this scope
warning: 1857 | cv::detail::GraphCutSeamFinderGpu* ret = new cv::detail::GraphCutSeamFinderGpu(cost_type, terminal_cost, bad_region_penalty);
warning: | ^~~
warning: /target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/stitching.cpp:1857:49: error: expected type-specifier
warning: 1857 | cv::detail::GraphCutSeamFinderGpu* ret = new cv::detail::GraphCutSeamFinderGpu(cost_type, terminal_cost, bad_region_penalty);
warning: | ^~
warning: /target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/stitching.cpp:1858:26: error: ‘GraphCutSeamFinderGpu’ is not a member of ‘cv::detail’; did you mean ‘GraphCutSeamFinder’?
warning: 1858 | return Ok<cv::detail::GraphCutSeamFinderGpu*>(ret);
warning: | ^~~~~~~~~~~~~~~~~~~~~
warning: | GraphCutSeamFinder
warning: /target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/stitching.cpp:1858:26: error: ‘GraphCutSeamFinderGpu’ is not a member of ‘cv::detail’; did you mean ‘GraphCutSeamFinder’?
warning: 1858 | return Ok<cv::detail::GraphCutSeamFinderGpu*>(ret);
warning: | ^~~~~~~~~~~~~~~~~~~~~
warning: | GraphCutSeamFinder
warning: /target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/stitching.cpp:1858:11: error: parse error in template argument list
warning: 1858 | return Ok<cv::detail::GraphCutSeamFinderGpu*>(ret);
warning: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
warning: In file included from /target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/stitching.cpp:1:
warning: /target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/stitching.cpp:1859:47: error: ‘GraphCutSeamFinderGpu’ is not a member of ‘cv::detail’; did you mean ‘GraphCutSeamFinder’?
warning: 1859 | } OCVRS_CATCH(OCVRS_TYPE(Result<cv::detail::GraphCutSeamFinderGpu*>))
warning: | ^~~~~~~~~~~~~~~~~~~~~
warning: /build/dev/opencv-rust/src_cpp/ocvrs_common.hpp:23:13: note: in definition of macro ‘CODE_CATCH’
warning: 23 | return Err<return_type>(code, msg); \
warning: | ^~~~~~~~~~~
warning: /build/dev/opencv-rust/src_cpp/ocvrs_common.hpp:27:12: note: in expansion of macro ‘OCVRS_TYPE’
warning: 27 | CODE_CATCH(OCVRS_TYPE(return_type), cv::Exception& e, e.code, e.what()) \
warning: | ^~~~~~~~~~
warning: /target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/stitching.cpp:1859:5: note: in expansion of macro ‘OCVRS_CATCH’
warning: 1859 | } OCVRS_CATCH(OCVRS_TYPE(Result<cv::detail::GraphCutSeamFinderGpu*>))
warning: | ^~~~~~~~~~~
warning: /target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/stitching.cpp:1859:17: note: in expansion of macro ‘OCVRS_TYPE’
warning: 1859 | } OCVRS_CATCH(OCVRS_TYPE(Result<cv::detail::GraphCutSeamFinderGpu*>))
warning: | ^~~~~~~~~~
warning: /target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/stitching.cpp:1859:47: error: ‘GraphCutSeamFinderGpu’ is not a member of ‘cv::detail’; did you mean ‘GraphCutSeamFinder’?
warning: 1859 | } OCVRS_CATCH(OCVRS_TYPE(Result<cv::detail::GraphCutSeamFinderGpu*>))
warning: | ^~~~~~~~~~~~~~~~~~~~~
warning: /build/dev/opencv-rust/src_cpp/ocvrs_common.hpp:23:13: note: in definition of macro ‘CODE_CATCH’
warning: 23 | return Err<return_type>(code, msg); \
warning: | ^~~~~~~~~~~
warning: /build/dev/opencv-rust/src_cpp/ocvrs_common.hpp:27:12: note: in expansion of macro ‘OCVRS_TYPE’
warning: 27 | CODE_CATCH(OCVRS_TYPE(return_type), cv::Exception& e, e.code, e.what()) \
warning: | ^~~~~~~~~~
warning: /target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/stitching.cpp:1859:5: note: in expansion of macro ‘OCVRS_CATCH’
warning: 1859 | } OCVRS_CATCH(OCVRS_TYPE(Result<cv::detail::GraphCutSeamFinderGpu*>))
warning: | ^~~~~~~~~~~
warning: /target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/stitching.cpp:1859:17: note: in expansion of macro ‘OCVRS_TYPE’
warning: 1859 | } OCVRS_CATCH(OCVRS_TYPE(Result<cv::detail::GraphCutSeamFinderGpu*>))
warning: | ^~~~~~~~~~
warning: /target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/stitching.cpp:1859:69: error: template argument 1 is invalid
warning: 1859 | } OCVRS_CATCH(OCVRS_TYPE(Result<cv::detail::GraphCutSeamFinderGpu*>))
warning: | ^
warning: /build/dev/opencv-rust/src_cpp/ocvrs_common.hpp:23:13: note: in definition of macro ‘CODE_CATCH’
warning: 23 | return Err<return_type>(code, msg); \
warning: | ^~~~~~~~~~~
warning: /build/dev/opencv-rust/src_cpp/ocvrs_common.hpp:27:12: note: in expansion of macro ‘OCVRS_TYPE’
warning: 27 | CODE_CATCH(OCVRS_TYPE(return_type), cv::Exception& e, e.code, e.what()) \
warning: | ^~~~~~~~~~
warning: /target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/stitching.cpp:1859:5: note: in expansion of macro ‘OCVRS_CATCH’
warning: 1859 | } OCVRS_CATCH(OCVRS_TYPE(Result<cv::detail::GraphCutSeamFinderGpu*>))
warning: | ^~~~~~~~~~~
warning: /target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/stitching.cpp:1859:17: note: in expansion of macro ‘OCVRS_TYPE’
warning: 1859 | } OCVRS_CATCH(OCVRS_TYPE(Result<cv::detail::GraphCutSeamFinderGpu*>))
warning: | ^~~~~~~~~~
warning: /build/dev/opencv-rust/src_cpp/ocvrs_common.hpp:23:35: error: no matching function for call to ‘Err<<expression error> >(int&, const char*)’
warning: 23 | return Err<return_type>(code, msg); \
warning: | ^
warning: /build/dev/opencv-rust/src_cpp/ocvrs_common.hpp:27:1: note: in expansion of macro ‘CODE_CATCH’
warning: 27 | CODE_CATCH(OCVRS_TYPE(return_type), cv::Exception& e, e.code, e.what()) \
warning: | ^~~~~~~~~~
warning: /target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/stitching.cpp:1859:5: note: in expansion of macro ‘OCVRS_CATCH’
warning: 1859 | } OCVRS_CATCH(OCVRS_TYPE(Result<cv::detail::GraphCutSeamFinderGpu*>))
warning: | ^~~~~~~~~~~
warning: /build/dev/opencv-rust/src_cpp/ocvrs_common.hpp:55:31: note: candidate: ‘template<class T> T Err(int, const char*)’
warning: 55 | template<typename T> inline T Err(int code, const char* msg) {
warning: | ^~~
warning: /build/dev/opencv-rust/src_cpp/ocvrs_common.hpp:55:31: note: template argument deduction/substitution failed:
warning: /build/dev/opencv-rust/src_cpp/ocvrs_common.hpp:23:35: error: template argument 1 is invalid
warning: 23 | return Err<return_type>(code, msg); \
warning: | ^
warning: /build/dev/opencv-rust/src_cpp/ocvrs_common.hpp:27:1: note: in expansion of macro ‘CODE_CATCH’
warning: 27 | CODE_CATCH(OCVRS_TYPE(return_type), cv::Exception& e, e.code, e.what()) \
warning: | ^~~~~~~~~~
warning: /target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/stitching.cpp:1859:5: note: in expansion of macro ‘OCVRS_CATCH’
warning: 1859 | } OCVRS_CATCH(OCVRS_TYPE(Result<cv::detail::GraphCutSeamFinderGpu*>))
warning: | ^~~~~~~~~~~
warning: /target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/stitching.cpp:1859:47: error: ‘GraphCutSeamFinderGpu’ is not a member of ‘cv::detail’; did you mean ‘GraphCutSeamFinder’?
warning: 1859 | } OCVRS_CATCH(OCVRS_TYPE(Result<cv::detail::GraphCutSeamFinderGpu*>))
warning: | ^~~~~~~~~~~~~~~~~~~~~
warning: /build/dev/opencv-rust/src_cpp/ocvrs_common.hpp:23:13: note: in definition of macro ‘CODE_CATCH’
warning: 23 | return Err<return_type>(code, msg); \
warning: | ^~~~~~~~~~~
warning: /build/dev/opencv-rust/src_cpp/ocvrs_common.hpp:28:12: note: in expansion of macro ‘OCVRS_TYPE’
warning: 28 | CODE_CATCH(OCVRS_TYPE(return_type), ..., -99999, "unspecified error in OpenCV guts")
warning: | ^~~~~~~~~~
warning: /target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/stitching.cpp:1859:5: note: in expansion of macro ‘OCVRS_CATCH’
warning: 1859 | } OCVRS_CATCH(OCVRS_TYPE(Result<cv::detail::GraphCutSeamFinderGpu*>))
warning: | ^~~~~~~~~~~
warning: /target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/stitching.cpp:1859:17: note: in expansion of macro ‘OCVRS_TYPE’
warning: 1859 | } OCVRS_CATCH(OCVRS_TYPE(Result<cv::detail::GraphCutSeamFinderGpu*>))
warning: | ^~~~~~~~~~
warning: /target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/stitching.cpp:1859:47: error: ‘GraphCutSeamFinderGpu’ is not a member of ‘cv::detail’; did you mean ‘GraphCutSeamFinder’?
warning: 1859 | } OCVRS_CATCH(OCVRS_TYPE(Result<cv::detail::GraphCutSeamFinderGpu*>))
warning: | ^~~~~~~~~~~~~~~~~~~~~
warning: /build/dev/opencv-rust/src_cpp/ocvrs_common.hpp:23:13: note: in definition of macro ‘CODE_CATCH’
warning: 23 | return Err<return_type>(code, msg); \
warning: | ^~~~~~~~~~~
warning: /build/dev/opencv-rust/src_cpp/ocvrs_common.hpp:28:12: note: in expansion of macro ‘OCVRS_TYPE’
warning: 28 | CODE_CATCH(OCVRS_TYPE(return_type), ..., -99999, "unspecified error in OpenCV guts")
warning: | ^~~~~~~~~~
warning: /target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/stitching.cpp:1859:5: note: in expansion of macro ‘OCVRS_CATCH’
warning: 1859 | } OCVRS_CATCH(OCVRS_TYPE(Result<cv::detail::GraphCutSeamFinderGpu*>))
warning: | ^~~~~~~~~~~
warning: /target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/stitching.cpp:1859:17: note: in expansion of macro ‘OCVRS_TYPE’
warning: 1859 | } OCVRS_CATCH(OCVRS_TYPE(Result<cv::detail::GraphCutSeamFinderGpu*>))
warning: | ^~~~~~~~~~
warning: /target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/stitching.cpp:1859:69: error: template argument 1 is invalid
warning: 1859 | } OCVRS_CATCH(OCVRS_TYPE(Result<cv::detail::GraphCutSeamFinderGpu*>))
warning: | ^
warning: /build/dev/opencv-rust/src_cpp/ocvrs_common.hpp:23:13: note: in definition of macro ‘CODE_CATCH’
warning: 23 | return Err<return_type>(code, msg); \
warning: | ^~~~~~~~~~~
warning: /build/dev/opencv-rust/src_cpp/ocvrs_common.hpp:28:12: note: in expansion of macro ‘OCVRS_TYPE’
warning: 28 | CODE_CATCH(OCVRS_TYPE(return_type), ..., -99999, "unspecified error in OpenCV guts")
warning: | ^~~~~~~~~~
warning: /target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/stitching.cpp:1859:5: note: in expansion of macro ‘OCVRS_CATCH’
warning: 1859 | } OCVRS_CATCH(OCVRS_TYPE(Result<cv::detail::GraphCutSeamFinderGpu*>))
warning: | ^~~~~~~~~~~
warning: /target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/stitching.cpp:1859:17: note: in expansion of macro ‘OCVRS_TYPE’
warning: 1859 | } OCVRS_CATCH(OCVRS_TYPE(Result<cv::detail::GraphCutSeamFinderGpu*>))
warning: | ^~~~~~~~~~
warning: /build/dev/opencv-rust/src_cpp/ocvrs_common.hpp:23:35: error: no matching function for call to ‘Err<<expression error> >(int, const char [33])’
warning: 23 | return Err<return_type>(code, msg); \
warning: | ^
warning: /build/dev/opencv-rust/src_cpp/ocvrs_common.hpp:28:1: note: in expansion of macro ‘CODE_CATCH’
warning: 28 | CODE_CATCH(OCVRS_TYPE(return_type), ..., -99999, "unspecified error in OpenCV guts")
warning: | ^~~~~~~~~~
warning: /target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/stitching.cpp:1859:5: note: in expansion of macro ‘OCVRS_CATCH’
warning: 1859 | } OCVRS_CATCH(OCVRS_TYPE(Result<cv::detail::GraphCutSeamFinderGpu*>))
warning: | ^~~~~~~~~~~
warning: /build/dev/opencv-rust/src_cpp/ocvrs_common.hpp:55:31: note: candidate: ‘template<class T> T Err(int, const char*)’
warning: 55 | template<typename T> inline T Err(int code, const char* msg) {
warning: | ^~~
warning: /build/dev/opencv-rust/src_cpp/ocvrs_common.hpp:55:31: note: template argument deduction/substitution failed:
warning: /build/dev/opencv-rust/src_cpp/ocvrs_common.hpp:23:35: error: template argument 1 is invalid
warning: 23 | return Err<return_type>(code, msg); \
warning: | ^
warning: /build/dev/opencv-rust/src_cpp/ocvrs_common.hpp:28:1: note: in expansion of macro ‘CODE_CATCH’
warning: 28 | CODE_CATCH(OCVRS_TYPE(return_type), ..., -99999, "unspecified error in OpenCV guts")
warning: | ^~~~~~~~~~
warning: /target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/stitching.cpp:1859:5: note: in expansion of macro ‘OCVRS_CATCH’
warning: 1859 | } OCVRS_CATCH(OCVRS_TYPE(Result<cv::detail::GraphCutSeamFinderGpu*>))
warning: | ^~~~~~~~~~~
warning: /target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/stitching.cpp:1855:119: warning: unused parameter ‘cost_type’ [-Wunused-parameter]
warning: 1855 | Result<cv::detail::GraphCutSeamFinderGpu*> cv_detail_GraphCutSeamFinderGpu_GraphCutSeamFinderGpu_int_float_float(int cost_type, float terminal_cost, float bad_region_penalty) {
warning: | ~~~~^~~~~~~~~
warning: /target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/stitching.cpp:1855:136: warning: unused parameter ‘terminal_cost’ [-Wunused-parameter]
warning: 1855 | Result<cv::detail::GraphCutSeamFinderGpu*> cv_detail_GraphCutSeamFinderGpu_GraphCutSeamFinderGpu_int_float_float(int cost_type, float terminal_cost, float bad_region_penalty) {
warning: | ~~~~~~^~~~~~~~~~~~~
warning: /target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/stitching.cpp:1855:157: warning: unused parameter ‘bad_region_penalty’ [-Wunused-parameter]
warning: 1855 | Result<cv::detail::GraphCutSeamFinderGpu*> cv_detail_GraphCutSeamFinderGpu_GraphCutSeamFinderGpu_int_float_float(int cost_type, float terminal_cost, float bad_region_penalty) {
warning: | ~~~~~~^~~~~~~~~~~~~~~~~~
warning: /target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/stitching.cpp: At global scope:
warning: /target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/stitching.cpp:1862:118: error: ‘GraphCutSeamFinderGpu’ is not a member of ‘cv::detail’; did you mean ‘GraphCutSeamFinder’?
warning: 1862 | Result_void cv_detail_GraphCutSeamFinderGpu_find_const_vector_UMat_R_const_vector_Point_R_vector_UMat_R(cv::detail::GraphCutSeamFinderGpu* instance, const std::vector<cv::UMat>* src, const std::vector<cv::Point>* corners, std::vector<cv::UMat>* masks) {
warning: | ^~~~~~~~~~~~~~~~~~~~~
warning: | GraphCutSeamFinder
warning: /target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/stitching.cpp:1862:141: error: ‘instance’ was not declared in this scope
warning: 1862 | Result_void cv_detail_GraphCutSeamFinderGpu_find_const_vector_UMat_R_const_vector_Point_R_vector_UMat_R(cv::detail::GraphCutSeamFinderGpu* instance, const std::vector<cv::UMat>* src, const std::vector<cv::Point>* corners, std::vector<cv::UMat>* masks) {
warning: | ^~~~~~~~
warning: /target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/stitching.cpp:1862:151: error: expected primary-expression before ‘const’
warning: 1862 | Result_void cv_detail_GraphCutSeamFinderGpu_find_const_vector_UMat_R_const_vector_Point_R_vector_UMat_R(cv::detail::GraphCutSeamFinderGpu* instance, const std::vector<cv::UMat>* src, const std::vector<cv::Point>* corners, std::vector<cv::UMat>* masks) {
warning: | ^~~~~
warning: /target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/stitching.cpp:1862:185: error: expected primary-expression before ‘const’
warning: 1862 | Result_void cv_detail_GraphCutSeamFinderGpu_find_const_vector_UMat_R_const_vector_Point_R_vector_UMat_R(cv::detail::GraphCutSeamFinderGpu* instance, const std::vector<cv::UMat>* src, const std::vector<cv::Point>* corners, std::vector<cv::UMat>* masks) {
warning: | ^~~~~
warning: /target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/stitching.cpp:1862:245: error: expected primary-expression before ‘*’ token
warning: 1862 | Result_void cv_detail_GraphCutSeamFinderGpu_find_const_vector_UMat_R_const_vector_Point_R_vector_UMat_R(cv::detail::GraphCutSeamFinderGpu* instance, const std::vector<cv::UMat>* src, const std::vector<cv::Point>* corners, std::vector<cv::UMat>* masks) {
warning: | ^
warning: /target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/stitching.cpp:1862:247: error: ‘masks’ was not declared in this scope
warning: 1862 | Result_void cv_detail_GraphCutSeamFinderGpu_find_const_vector_UMat_R_const_vector_Point_R_vector_UMat_R(cv::detail::GraphCutSeamFinderGpu* instance, const std::vector<cv::UMat>* src, const std::vector<cv::Point>* corners, std::vector<cv::UMat>* masks) {
warning: | ^~~~~
warning: /target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/stitching.cpp:1862:254: error: expected ‘,’ or ‘;’ before ‘{’ token
warning: 1862 | Result_void cv_detail_GraphCutSeamFinderGpu_find_const_vector_UMat_R_const_vector_Point_R_vector_UMat_R(cv::detail::GraphCutSeamFinderGpu* instance, const std::vector<cv::UMat>* src, const std::vector<cv::Point>* corners, std::vector<cv::UMat>* masks) {
warning: | ^
warning: /target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/stitching.cpp:1869:88: error: ‘GraphCutSeamFinderGpu’ is not a member of ‘cv::detail’; did you mean ‘GraphCutSeamFinder’?
warning: 1869 | Result_void cv_detail_GraphCutSeamFinderGpu_findInPair_size_t_size_t_Rect(cv::detail::GraphCutSeamFinderGpu* instance, size_t first, size_t second, cv::Rect* roi) {
warning: | ^~~~~~~~~~~~~~~~~~~~~
warning: | GraphCutSeamFinder
warning: /target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/stitching.cpp:1869:111: error: ‘instance’ was not declared in this scope
warning: 1869 | Result_void cv_detail_GraphCutSeamFinderGpu_findInPair_size_t_size_t_Rect(cv::detail::GraphCutSeamFinderGpu* instance, size_t first, size_t second, cv::Rect* roi) {
warning: | ^~~~~~~~
warning: /target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/stitching.cpp:1869:128: error: expected primary-expression before ‘first’
warning: 1869 | Result_void cv_detail_GraphCutSeamFinderGpu_findInPair_size_t_size_t_Rect(cv::detail::GraphCutSeamFinderGpu* instance, size_t first, size_t second, cv::Rect* roi) {
warning: | ^~~~~
warning: /target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/stitching.cpp:1869:142: error: expected primary-expression before ‘second’
warning: 1869 | Result_void cv_detail_GraphCutSeamFinderGpu_findInPair_size_t_size_t_Rect(cv::detail::GraphCutSeamFinderGpu* instance, size_t first, size_t second, cv::Rect* roi) {
warning: | ^~~~~~
warning: /target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/stitching.cpp:1869:158: error: expected primary-expression before ‘*’ token
warning: 1869 | Result_void cv_detail_GraphCutSeamFinderGpu_findInPair_size_t_size_t_Rect(cv::detail::GraphCutSeamFinderGpu* instance, size_t first, size_t second, cv::Rect* roi) {
warning: | ^
warning: /target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/stitching.cpp:1869:160: error: ‘roi’ was not declared in this scope
warning: 1869 | Result_void cv_detail_GraphCutSeamFinderGpu_findInPair_size_t_size_t_Rect(cv::detail::GraphCutSeamFinderGpu* instance, size_t first, size_t second, cv::Rect* roi) {
warning: | ^~~
warning: /target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/stitching.cpp:1869:165: error: expected ‘,’ or ‘;’ before ‘{’ token
warning: 1869 | Result_void cv_detail_GraphCutSeamFinderGpu_findInPair_size_t_size_t_Rect(cv::detail::GraphCutSeamFinderGpu* instance, size_t first, size_t second, cv::Rect* roi) {
warning: | ^
warning: cc1plus: note: unrecognized command-line option ‘-Wno-return-type-c-linkage’ may have been intended to silence earlier diagnostics
error: failed to run custom build command for `opencv v0.47.0 (/build/dev/opencv-rust)`
Caused by:
process didn't exit successfully: `/target/debug/build/opencv-c7ef7ff91969b993/build-script-build` (exit code: 1)
--- stdout
cargo:rerun-if-env-changed=OPENCV4_NO_PKG_CONFIG
cargo:rerun-if-env-changed=PKG_CONFIG_ALLOW_CROSS_aarch64-unknown-linux-gnu
cargo:rerun-if-env-changed=PKG_CONFIG_ALLOW_CROSS_aarch64_unknown_linux_gnu
cargo:rerun-if-env-changed=TARGET_PKG_CONFIG_ALLOW_CROSS
cargo:rerun-if-env-changed=PKG_CONFIG_ALLOW_CROSS
cargo:rerun-if-env-changed=PKG_CONFIG
cargo:rerun-if-env-changed=OPENCV4_STATIC
cargo:rerun-if-env-changed=OPENCV4_DYNAMIC
cargo:rerun-if-env-changed=PKG_CONFIG_ALL_STATIC
cargo:rerun-if-env-changed=PKG_CONFIG_ALL_DYNAMIC
cargo:rerun-if-env-changed=PKG_CONFIG_PATH_aarch64-unknown-linux-gnu
cargo:rerun-if-env-changed=PKG_CONFIG_PATH_aarch64_unknown_linux_gnu
cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_aarch64-unknown-linux-gnu
cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_aarch64_unknown_linux_gnu
cargo:rerun-if-env-changed=TARGET_PKG_CONFIG_LIBDIR
cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR
cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_aarch64-unknown-linux-gnu
cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_aarch64_unknown_linux_gnu
cargo:rerun-if-env-changed=TARGET_PKG_CONFIG_SYSROOT_DIR
cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR
cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR
cargo:rerun-if-env-changed=SYSROOT
cargo:rerun-if-env-changed=OPENCV4_STATIC
cargo:rerun-if-env-changed=OPENCV4_DYNAMIC
cargo:rerun-if-env-changed=PKG_CONFIG_ALL_STATIC
cargo:rerun-if-env-changed=PKG_CONFIG_ALL_DYNAMIC
cargo:rerun-if-env-changed=PKG_CONFIG
cargo:rerun-if-env-changed=OPENCV4_STATIC
cargo:rerun-if-env-changed=OPENCV4_DYNAMIC
cargo:rerun-if-env-changed=PKG_CONFIG_ALL_STATIC
cargo:rerun-if-env-changed=PKG_CONFIG_ALL_DYNAMIC
cargo:rerun-if-env-changed=PKG_CONFIG_PATH_aarch64-unknown-linux-gnu
cargo:rerun-if-env-changed=PKG_CONFIG_PATH_aarch64_unknown_linux_gnu
cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_aarch64-unknown-linux-gnu
cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_aarch64_unknown_linux_gnu
cargo:rerun-if-env-changed=TARGET_PKG_CONFIG_LIBDIR
cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR
cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_aarch64-unknown-linux-gnu
cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_aarch64_unknown_linux_gnu
cargo:rerun-if-env-changed=TARGET_PKG_CONFIG_SYSROOT_DIR
cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR
Modules: OnceCell(["alphamat", "aruco", "bgsegm", "bioinspired", "calib3d", "ccalib", "core", "cudaarithm", "cudabgsegm", "cudacodec", "cudafeatures2d", "cudafilters", "cudaimgproc", "cudaobjdetect", "cudaoptflow", "cudastereo", "cudawarping", "cvv", "dnn", "dnn_superres", "dpm", "face", "features2d", "flann", "freetype", "fuzzy", "hdf", "hfs", "highgui", "img_hash", "imgcodecs", "imgproc", "intensity_transform", "line_descriptor", "mcc", "ml", "objdetect", "optflow", "ovis", "phase_unwrapping", "photo", "plot", "quality", "rapid", "rgbd", "saliency", "sfm", "shape", "stereo", "stitching", "structured_light", "superres", "surface_matching", "text", "tracking", "video", "videoio", "videostab", "viz", "xfeatures2d", "ximgproc", "xobjdetect", "xphoto"])
cargo:rerun-if-env-changed=OPENCV_HEADER_DIR
cargo:rerun-if-env-changed=OPENCV_PACKAGE_NAME
cargo:rerun-if-env-changed=OPENCV_PKGCONFIG_NAME
cargo:rerun-if-env-changed=OPENCV_CMAKE_NAME
cargo:rerun-if-env-changed=OPENCV_CMAKE_BIN
cargo:rerun-if-env-changed=OPENCV_VCPKG_NAME
cargo:rerun-if-env-changed=OPENCV_LINK_LIBS
cargo:rerun-if-env-changed=OPENCV_LINK_PATHS
cargo:rerun-if-env-changed=OPENCV_INCLUDE_PATHS
cargo:rerun-if-env-changed=OPENCV_DISABLE_PROBES
cargo:rerun-if-env-changed=OPENCV_CLANG_STDLIB_PATH
cargo:rerun-if-env-changed=OPENCV_MODULE_WHITELIST
cargo:rerun-if-env-changed=OPENCV_MODULE_BLACKLIST
cargo:rerun-if-env-changed=CMAKE_PREFIX_PATH
cargo:rerun-if-env-changed=OpenCV_DIR
cargo:rerun-if-env-changed=PKG_CONFIG_PATH
cargo:rerun-if-env-changed=VCPKG_ROOT
cargo:rerun-if-env-changed=VCPKGRS_DYNAMIC
cargo:rerun-if-changed=/build/dev/opencv-rust/src_cpp/imgproc.hpp
cargo:rerun-if-changed=/build/dev/opencv-rust/src_cpp/bioinspired.hpp
cargo:rerun-if-changed=/build/dev/opencv-rust/src_cpp/ocvrs_resolve_types.hpp
cargo:rerun-if-changed=/build/dev/opencv-rust/src_cpp/manual-features2d.cpp
cargo:rerun-if-changed=/build/dev/opencv-rust/src_cpp/calib3d.hpp
cargo:rerun-if-changed=/build/dev/opencv-rust/src_cpp/gapi.hpp
cargo:rerun-if-changed=/build/dev/opencv-rust/src_cpp/face.hpp
cargo:rerun-if-changed=/build/dev/opencv-rust/src_cpp/manual-dnn.cpp
cargo:rerun-if-changed=/build/dev/opencv-rust/src_cpp/sfm.hpp
cargo:rerun-if-changed=/build/dev/opencv-rust/src_cpp/xfeatures2d.hpp
cargo:rerun-if-changed=/build/dev/opencv-rust/src_cpp/photo.hpp
cargo:rerun-if-changed=/build/dev/opencv-rust/src_cpp/ccalib.hpp
cargo:rerun-if-changed=/build/dev/opencv-rust/src_cpp/dnn.hpp
cargo:rerun-if-changed=/build/dev/opencv-rust/src_cpp/videoio.hpp
cargo:rerun-if-changed=/build/dev/opencv-rust/src_cpp/manual-core.cpp
cargo:rerun-if-changed=/build/dev/opencv-rust/src_cpp/core.hpp
cargo:rerun-if-changed=/build/dev/opencv-rust/src_cpp/ocvrs_common.hpp
cargo:rerun-if-changed=/build/dev/opencv-rust/src_cpp/aruco.hpp
cc = Build { include_directories: ["/build/dev/opencv-rust/src_cpp", "/target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out", ".", "/aarch64/opencv/include/opencv4"], definitions: [], objects: [], flags: ["-std=c++11"], flags_supported: ["-Wno-class-memaccess", "-Wno-deprecated-declarations", "-Wno-deprecated-copy", "-Wno-unused-variable", "-Wno-return-type-c-linkage", "-Wa,-mbig-obj"], known_flag_support_status: Mutex { data: {} }, ar_flags: [], no_default_flags: false, files: ["/target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/calib3d.cpp", "/target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/core.cpp", "/build/dev/opencv-rust/src_cpp/manual-core.cpp", "/target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/dnn.cpp", "/build/dev/opencv-rust/src_cpp/manual-dnn.cpp", "/target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/features2d.cpp", "/build/dev/opencv-rust/src_cpp/manual-features2d.cpp", "/target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/flann.cpp", "/target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/highgui.cpp", "/target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/imgcodecs.cpp", "/target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/imgproc.cpp", "/target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/ml.cpp", "/target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/objdetect.cpp", "/target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/photo.cpp", "/target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/stitching.cpp", "/target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/video.cpp", "/target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/videoio.cpp", "/target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/viz.cpp"], cpp: true, cpp_link_stdlib: None, cpp_set_stdlib: None, cuda: false, target: None, host: None, out_dir: None, opt_level: None, debug: None, force_frame_pointer: None, env: [], compiler: None, archiver: None, cargo_metadata: true, pic: None, use_plt: None, static_crt: None, shared_flag: None, static_flag: None, warnings_into_errors: false, warnings: None, extra_warnings: None, env_cache: Mutex { data: {} }, apple_sdk_root_cache: Mutex { data: {} } }
TARGET = Some("aarch64-unknown-linux-gnu")
OPT_LEVEL = Some("1")
HOST = Some("x86_64-unknown-linux-gnu")
CXX_aarch64-unknown-linux-gnu = None
CXX_aarch64_unknown_linux_gnu = None
TARGET_CXX = None
CXX = None
CROSS_COMPILE = None
CXXFLAGS_aarch64-unknown-linux-gnu = None
CXXFLAGS_aarch64_unknown_linux_gnu = None
TARGET_CXXFLAGS = None
CXXFLAGS = None
CRATE_CC_NO_DEFAULTS = None
DEBUG = Some("true")
CARGO_CFG_TARGET_FEATURE = None
CXX_aarch64-unknown-linux-gnu = None
CXX_aarch64_unknown_linux_gnu = None
TARGET_CXX = None
CXX = None
CROSS_COMPILE = None
CXXFLAGS_aarch64-unknown-linux-gnu = None
CXXFLAGS_aarch64_unknown_linux_gnu = None
TARGET_CXXFLAGS = None
CXXFLAGS = None
CRATE_CC_NO_DEFAULTS = None
CARGO_CFG_TARGET_FEATURE = None
CXX_aarch64-unknown-linux-gnu = None
CXX_aarch64_unknown_linux_gnu = None
TARGET_CXX = None
CXX = None
CROSS_COMPILE = None
CXXFLAGS_aarch64-unknown-linux-gnu = None
CXXFLAGS_aarch64_unknown_linux_gnu = None
TARGET_CXXFLAGS = None
CXXFLAGS = None
CRATE_CC_NO_DEFAULTS = None
CARGO_CFG_TARGET_FEATURE = None
CXX_aarch64-unknown-linux-gnu = None
CXX_aarch64_unknown_linux_gnu = None
TARGET_CXX = None
CXX = None
CROSS_COMPILE = None
CXXFLAGS_aarch64-unknown-linux-gnu = None
CXXFLAGS_aarch64_unknown_linux_gnu = None
TARGET_CXXFLAGS = None
CXXFLAGS = None
CRATE_CC_NO_DEFAULTS = None
CARGO_CFG_TARGET_FEATURE = None
CXX_aarch64-unknown-linux-gnu = None
CXX_aarch64_unknown_linux_gnu = None
TARGET_CXX = None
CXX = None
CROSS_COMPILE = None
CXXFLAGS_aarch64-unknown-linux-gnu = None
CXXFLAGS_aarch64_unknown_linux_gnu = None
TARGET_CXXFLAGS = None
CXXFLAGS = None
CRATE_CC_NO_DEFAULTS = None
CARGO_CFG_TARGET_FEATURE = None
CXX_aarch64-unknown-linux-gnu = None
CXX_aarch64_unknown_linux_gnu = None
TARGET_CXX = None
CXX = None
CROSS_COMPILE = None
CXXFLAGS_aarch64-unknown-linux-gnu = None
CXXFLAGS_aarch64_unknown_linux_gnu = None
TARGET_CXXFLAGS = None
CXXFLAGS = None
CRATE_CC_NO_DEFAULTS = None
CARGO_CFG_TARGET_FEATURE = None
CXX_aarch64-unknown-linux-gnu = None
CXX_aarch64_unknown_linux_gnu = None
TARGET_CXX = None
CXX = None
CROSS_COMPILE = None
CXXFLAGS_aarch64-unknown-linux-gnu = None
CXXFLAGS_aarch64_unknown_linux_gnu = None
TARGET_CXXFLAGS = None
CXXFLAGS = None
CRATE_CC_NO_DEFAULTS = None
CARGO_CFG_TARGET_FEATURE = None
running: "aarch64-linux-gnu-g++" "-O1" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-I" "/build/dev/opencv-rust/src_cpp" "-I" "/target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out" "-I" "." "-I" "/aarch64/opencv/include/opencv4" "-Wall" "-Wextra" "-std=c++11" "-Wno-class-memaccess" "-Wno-deprecated-declarations" "-Wno-deprecated-copy" "-Wno-unused-variable" "-Wno-return-type-c-linkage" "-o" "/target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/calib3d.o" "-c" "/target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/calib3d.cpp"
running: "aarch64-linux-gnu-g++" "-O1" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-I" "/build/dev/opencv-rust/src_cpp" "-I" "/target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out" "-I" "." "-I" "/aarch64/opencv/include/opencv4" "-Wall" "-Wextra" "-std=c++11" "-Wno-class-memaccess" "-Wno-deprecated-declarations" "-Wno-deprecated-copy" "-Wno-unused-variable" "-Wno-return-type-c-linkage" "-o" "/target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/features2d.o" "-c" "/target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/features2d.cpp"
running: "aarch64-linux-gnu-g++" "-O1" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-I" "/build/dev/opencv-rust/src_cpp" "-I" "/target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out" "-I" "." "-I" "/aarch64/opencv/include/opencv4" "-Wall" "-Wextra" "-std=c++11" "-Wno-class-memaccess" "-Wno-deprecated-declarations" "-Wno-deprecated-copy" "-Wno-unused-variable" "-Wno-return-type-c-linkage" "-o" "/target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/manual-core.o" "-c" "/build/dev/opencv-rust/src_cpp/manual-core.cpp"
running: "aarch64-linux-gnu-g++" "-O1" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-I" "/build/dev/opencv-rust/src_cpp" "-I" "/target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out" "-I" "." "-I" "/aarch64/opencv/include/opencv4" "-Wall" "-Wextra" "-std=c++11" "-Wno-class-memaccess" "-Wno-deprecated-declarations" "-Wno-deprecated-copy" "-Wno-unused-variable" "-Wno-return-type-c-linkage" "-o" "/target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/core.o" "-c" "/target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/core.cpp"
running: "aarch64-linux-gnu-g++" "-O1" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-I" "/build/dev/opencv-rust/src_cpp" "-I" "/target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out" "-I" "." "-I" "/aarch64/opencv/include/opencv4" "-Wall" "-Wextra" "-std=c++11" "-Wno-class-memaccess" "-Wno-deprecated-declarations" "-Wno-deprecated-copy" "-Wno-unused-variable" "-Wno-return-type-c-linkage" "-o" "/target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/dnn.o" "-c" "/target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/dnn.cpp"
running: "aarch64-linux-gnu-g++" "-O1" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-I" "/build/dev/opencv-rust/src_cpp" "-I" "/target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out" "-I" "." "-I" "/aarch64/opencv/include/opencv4" "-Wall" "-Wextra" "-std=c++11" "-Wno-class-memaccess" "-Wno-deprecated-declarations" "-Wno-deprecated-copy" "-Wno-unused-variable" "-Wno-return-type-c-linkage" "-o" "/target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/manual-dnn.o" "-c" "/build/dev/opencv-rust/src_cpp/manual-dnn.cpp"
running: "aarch64-linux-gnu-g++" "-O1" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-I" "/build/dev/opencv-rust/src_cpp" "-I" "/target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out" "-I" "." "-I" "/aarch64/opencv/include/opencv4" "-Wall" "-Wextra" "-std=c++11" "-Wno-class-memaccess" "-Wno-deprecated-declarations" "-Wno-deprecated-copy" "-Wno-unused-variable" "-Wno-return-type-c-linkage" "-o" "/target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/manual-features2d.o" "-c" "/build/dev/opencv-rust/src_cpp/manual-features2d.cpp"
exit code: 0
running: "aarch64-linux-gnu-g++" "-O1" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-I" "/build/dev/opencv-rust/src_cpp" "-I" "/target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out" "-I" "." "-I" "/aarch64/opencv/include/opencv4" "-Wall" "-Wextra" "-std=c++11" "-Wno-class-memaccess" "-Wno-deprecated-declarations" "-Wno-deprecated-copy" "-Wno-unused-variable" "-Wno-return-type-c-linkage" "-o" "/target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/flann.o" "-c" "/target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/flann.cpp"
exit code: 0
running: "aarch64-linux-gnu-g++" "-O1" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-I" "/build/dev/opencv-rust/src_cpp" "-I" "/target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out" "-I" "." "-I" "/aarch64/opencv/include/opencv4" "-Wall" "-Wextra" "-std=c++11" "-Wno-class-memaccess" "-Wno-deprecated-declarations" "-Wno-deprecated-copy" "-Wno-unused-variable" "-Wno-return-type-c-linkage" "-o" "/target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/highgui.o" "-c" "/target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/highgui.cpp"
exit code: 0
running: "aarch64-linux-gnu-g++" "-O1" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-I" "/build/dev/opencv-rust/src_cpp" "-I" "/target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out" "-I" "." "-I" "/aarch64/opencv/include/opencv4" "-Wall" "-Wextra" "-std=c++11" "-Wno-class-memaccess" "-Wno-deprecated-declarations" "-Wno-deprecated-copy" "-Wno-unused-variable" "-Wno-return-type-c-linkage" "-o" "/target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/imgcodecs.o" "-c" "/target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/imgcodecs.cpp"
exit code: 0
running: "aarch64-linux-gnu-g++" "-O1" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-I" "/build/dev/opencv-rust/src_cpp" "-I" "/target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out" "-I" "." "-I" "/aarch64/opencv/include/opencv4" "-Wall" "-Wextra" "-std=c++11" "-Wno-class-memaccess" "-Wno-deprecated-declarations" "-Wno-deprecated-copy" "-Wno-unused-variable" "-Wno-return-type-c-linkage" "-o" "/target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/imgproc.o" "-c" "/target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/imgproc.cpp"
exit code: 0
running: "aarch64-linux-gnu-g++" "-O1" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-I" "/build/dev/opencv-rust/src_cpp" "-I" "/target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out" "-I" "." "-I" "/aarch64/opencv/include/opencv4" "-Wall" "-Wextra" "-std=c++11" "-Wno-class-memaccess" "-Wno-deprecated-declarations" "-Wno-deprecated-copy" "-Wno-unused-variable" "-Wno-return-type-c-linkage" "-o" "/target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/ml.o" "-c" "/target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/ml.cpp"
exit code: 0
running: "aarch64-linux-gnu-g++" "-O1" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-I" "/build/dev/opencv-rust/src_cpp" "-I" "/target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out" "-I" "." "-I" "/aarch64/opencv/include/opencv4" "-Wall" "-Wextra" "-std=c++11" "-Wno-class-memaccess" "-Wno-deprecated-declarations" "-Wno-deprecated-copy" "-Wno-unused-variable" "-Wno-return-type-c-linkage" "-o" "/target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/objdetect.o" "-c" "/target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/objdetect.cpp"
exit code: 0
running: "aarch64-linux-gnu-g++" "-O1" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-I" "/build/dev/opencv-rust/src_cpp" "-I" "/target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out" "-I" "." "-I" "/aarch64/opencv/include/opencv4" "-Wall" "-Wextra" "-std=c++11" "-Wno-class-memaccess" "-Wno-deprecated-declarations" "-Wno-deprecated-copy" "-Wno-unused-variable" "-Wno-return-type-c-linkage" "-o" "/target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/photo.o" "-c" "/target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/photo.cpp"
exit code: 0
running: "aarch64-linux-gnu-g++" "-O1" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-I" "/build/dev/opencv-rust/src_cpp" "-I" "/target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out" "-I" "." "-I" "/aarch64/opencv/include/opencv4" "-Wall" "-Wextra" "-std=c++11" "-Wno-class-memaccess" "-Wno-deprecated-declarations" "-Wno-deprecated-copy" "-Wno-unused-variable" "-Wno-return-type-c-linkage" "-o" "/target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/stitching.o" "-c" "/target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/stitching.cpp"
exit code: 0
running: "aarch64-linux-gnu-g++" "-O1" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-I" "/build/dev/opencv-rust/src_cpp" "-I" "/target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out" "-I" "." "-I" "/aarch64/opencv/include/opencv4" "-Wall" "-Wextra" "-std=c++11" "-Wno-class-memaccess" "-Wno-deprecated-declarations" "-Wno-deprecated-copy" "-Wno-unused-variable" "-Wno-return-type-c-linkage" "-o" "/target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/video.o" "-c" "/target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/video.cpp"
exit code: 0
running: "aarch64-linux-gnu-g++" "-O1" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-I" "/build/dev/opencv-rust/src_cpp" "-I" "/target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out" "-I" "." "-I" "/aarch64/opencv/include/opencv4" "-Wall" "-Wextra" "-std=c++11" "-Wno-class-memaccess" "-Wno-deprecated-declarations" "-Wno-deprecated-copy" "-Wno-unused-variable" "-Wno-return-type-c-linkage" "-o" "/target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/videoio.o" "-c" "/target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/videoio.cpp"
exit code: 0
running: "aarch64-linux-gnu-g++" "-O1" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-I" "/build/dev/opencv-rust/src_cpp" "-I" "/target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out" "-I" "." "-I" "/aarch64/opencv/include/opencv4" "-Wall" "-Wextra" "-std=c++11" "-Wno-class-memaccess" "-Wno-deprecated-declarations" "-Wno-deprecated-copy" "-Wno-unused-variable" "-Wno-return-type-c-linkage" "-o" "/target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/viz.o" "-c" "/target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/viz.cpp"
cargo:warning=/target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/viz.cpp:2:10: fatal error: opencv2/viz.hpp: No such file or directory
cargo:warning= 2 | #include <opencv2/viz.hpp>
cargo:warning= | ^~~~~~~~~~~~~~~~~
cargo:warning=compilation terminated.
exit code: 0
cargo:warning=/target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/viz.cpp:2:10: fatal error: opencv2/viz.hpp: No such file or directory
cargo:warning= 2 | #include <opencv2/viz.hpp>
cargo:warning= | ^~~~~~~~~~~~~~~~~
cargo:warning=compilation terminated.
exit code: 1
exit code: 0
exit code: 0
exit code: 0
exit code: 0
cargo:warning=In file included from /target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/stitching.cpp:3:
cargo:warning=/target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/stitching_types.hpp:64:36: error: ‘GraphCutSeamFinderGpu’ is not a member of ‘cv::detail’; did you mean ‘GraphCutSeamFinder’?
cargo:warning= 64 | template struct Result<cv::detail::GraphCutSeamFinderGpu*>;
cargo:warning= | ^~~~~~~~~~~~~~~~~~~~~
cargo:warning= | GraphCutSeamFinder
cargo:warning=/target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/stitching_types.hpp:64:36: error: ‘GraphCutSeamFinderGpu’ is not a member of ‘cv::detail’; did you mean ‘GraphCutSeamFinder’?
cargo:warning= 64 | template struct Result<cv::detail::GraphCutSeamFinderGpu*>;
cargo:warning= | ^~~~~~~~~~~~~~~~~~~~~
cargo:warning= | GraphCutSeamFinder
cargo:warning=/target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/stitching_types.hpp:64:58: error: template argument 1 is invalid
cargo:warning= 64 | template struct Result<cv::detail::GraphCutSeamFinderGpu*>;
cargo:warning= | ^
cargo:warning=/target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/stitching.cpp:1852:7: error: variable or field ‘cv_Detail_GraphCutSeamFinderGpu_delete’ declared void
cargo:warning= 1852 | void cv_Detail_GraphCutSeamFinderGpu_delete(cv::detail::GraphCutSeamFinderGpu* instance) {
cargo:warning= | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cargo:warning=/target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/stitching.cpp:1852:58: error: ‘GraphCutSeamFinderGpu’ is not a member of ‘cv::detail’; did you mean ‘GraphCutSeamFinder’?
cargo:warning= 1852 | void cv_Detail_GraphCutSeamFinderGpu_delete(cv::detail::GraphCutSeamFinderGpu* instance) {
cargo:warning= | ^~~~~~~~~~~~~~~~~~~~~
cargo:warning= | GraphCutSeamFinder
cargo:warning=/target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/stitching.cpp:1852:81: error: ‘instance’ was not declared in this scope
cargo:warning= 1852 | void cv_Detail_GraphCutSeamFinderGpu_delete(cv::detail::GraphCutSeamFinderGpu* instance) {
cargo:warning= | ^~~~~~~~
cargo:warning=/target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/stitching.cpp:1855:21: error: ‘GraphCutSeamFinderGpu’ is not a member of ‘cv::detail’; did you mean ‘GraphCutSeamFinder’?
cargo:warning= 1855 | Result<cv::detail::GraphCutSeamFinderGpu*> cv_detail_GraphCutSeamFinderGpu_GraphCutSeamFinderGpu_int_float_float(int cost_type, float terminal_cost, float bad_region_penalty) {
cargo:warning= | ^~~~~~~~~~~~~~~~~~~~~
cargo:warning= | GraphCutSeamFinder
cargo:warning=/target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/stitching.cpp:1855:21: error: ‘GraphCutSeamFinderGpu’ is not a member of ‘cv::detail’; did you mean ‘GraphCutSeamFinder’?
cargo:warning= 1855 | Result<cv::detail::GraphCutSeamFinderGpu*> cv_detail_GraphCutSeamFinderGpu_GraphCutSeamFinderGpu_int_float_float(int cost_type, float terminal_cost, float bad_region_penalty) {
cargo:warning= | ^~~~~~~~~~~~~~~~~~~~~
cargo:warning= | GraphCutSeamFinder
cargo:warning=/target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/stitching.cpp:1855:43: error: template argument 1 is invalid
cargo:warning= 1855 | Result<cv::detail::GraphCutSeamFinderGpu*> cv_detail_GraphCutSeamFinderGpu_GraphCutSeamFinderGpu_int_float_float(int cost_type, float terminal_cost, float bad_region_penalty) {
cargo:warning= | ^
cargo:warning=/target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/stitching.cpp: In function ‘int cv_detail_GraphCutSeamFinderGpu_GraphCutSeamFinderGpu_int_float_float(int, float, float)’:
cargo:warning=/target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/stitching.cpp:1857:16: error: ‘GraphCutSeamFinderGpu’ is not a member of ‘cv::detail’; did you mean ‘GraphCutSeamFinder’?
cargo:warning= 1857 | cv::detail::GraphCutSeamFinderGpu* ret = new cv::detail::GraphCutSeamFinderGpu(cost_type, terminal_cost, bad_region_penalty);
cargo:warning= | ^~~~~~~~~~~~~~~~~~~~~
cargo:warning= | GraphCutSeamFinder
cargo:warning=/target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/stitching.cpp:1857:39: error: ‘ret’ was not declared in this scope
cargo:warning= 1857 | cv::detail::GraphCutSeamFinderGpu* ret = new cv::detail::GraphCutSeamFinderGpu(cost_type, terminal_cost, bad_region_penalty);
cargo:warning= | ^~~
cargo:warning=/target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/stitching.cpp:1857:49: error: expected type-specifier
cargo:warning= 1857 | cv::detail::GraphCutSeamFinderGpu* ret = new cv::detail::GraphCutSeamFinderGpu(cost_type, terminal_cost, bad_region_penalty);
cargo:warning= | ^~
cargo:warning=/target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/stitching.cpp:1858:26: error: ‘GraphCutSeamFinderGpu’ is not a member of ‘cv::detail’; did you mean ‘GraphCutSeamFinder’?
cargo:warning= 1858 | return Ok<cv::detail::GraphCutSeamFinderGpu*>(ret);
cargo:warning= | ^~~~~~~~~~~~~~~~~~~~~
cargo:warning= | GraphCutSeamFinder
cargo:warning=/target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/stitching.cpp:1858:26: error: ‘GraphCutSeamFinderGpu’ is not a member of ‘cv::detail’; did you mean ‘GraphCutSeamFinder’?
cargo:warning= 1858 | return Ok<cv::detail::GraphCutSeamFinderGpu*>(ret);
cargo:warning= | ^~~~~~~~~~~~~~~~~~~~~
cargo:warning= | GraphCutSeamFinder
cargo:warning=/target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/stitching.cpp:1858:11: error: parse error in template argument list
cargo:warning= 1858 | return Ok<cv::detail::GraphCutSeamFinderGpu*>(ret);
cargo:warning= | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cargo:warning=In file included from /target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/stitching.cpp:1:
cargo:warning=/target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/stitching.cpp:1859:47: error: ‘GraphCutSeamFinderGpu’ is not a member of ‘cv::detail’; did you mean ‘GraphCutSeamFinder’?
cargo:warning= 1859 | } OCVRS_CATCH(OCVRS_TYPE(Result<cv::detail::GraphCutSeamFinderGpu*>))
cargo:warning= | ^~~~~~~~~~~~~~~~~~~~~
cargo:warning=/build/dev/opencv-rust/src_cpp/ocvrs_common.hpp:23:13: note: in definition of macro ‘CODE_CATCH’
cargo:warning= 23 | return Err<return_type>(code, msg); \
cargo:warning= | ^~~~~~~~~~~
cargo:warning=/build/dev/opencv-rust/src_cpp/ocvrs_common.hpp:27:12: note: in expansion of macro ‘OCVRS_TYPE’
cargo:warning= 27 | CODE_CATCH(OCVRS_TYPE(return_type), cv::Exception& e, e.code, e.what()) \
cargo:warning= | ^~~~~~~~~~
cargo:warning=/target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/stitching.cpp:1859:5: note: in expansion of macro ‘OCVRS_CATCH’
cargo:warning= 1859 | } OCVRS_CATCH(OCVRS_TYPE(Result<cv::detail::GraphCutSeamFinderGpu*>))
cargo:warning= | ^~~~~~~~~~~
cargo:warning=/target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/stitching.cpp:1859:17: note: in expansion of macro ‘OCVRS_TYPE’
cargo:warning= 1859 | } OCVRS_CATCH(OCVRS_TYPE(Result<cv::detail::GraphCutSeamFinderGpu*>))
cargo:warning= | ^~~~~~~~~~
cargo:warning=/target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/stitching.cpp:1859:47: error: ‘GraphCutSeamFinderGpu’ is not a member of ‘cv::detail’; did you mean ‘GraphCutSeamFinder’?
cargo:warning= 1859 | } OCVRS_CATCH(OCVRS_TYPE(Result<cv::detail::GraphCutSeamFinderGpu*>))
cargo:warning= | ^~~~~~~~~~~~~~~~~~~~~
cargo:warning=/build/dev/opencv-rust/src_cpp/ocvrs_common.hpp:23:13: note: in definition of macro ‘CODE_CATCH’
cargo:warning= 23 | return Err<return_type>(code, msg); \
cargo:warning= | ^~~~~~~~~~~
cargo:warning=/build/dev/opencv-rust/src_cpp/ocvrs_common.hpp:27:12: note: in expansion of macro ‘OCVRS_TYPE’
cargo:warning= 27 | CODE_CATCH(OCVRS_TYPE(return_type), cv::Exception& e, e.code, e.what()) \
cargo:warning= | ^~~~~~~~~~
cargo:warning=/target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/stitching.cpp:1859:5: note: in expansion of macro ‘OCVRS_CATCH’
cargo:warning= 1859 | } OCVRS_CATCH(OCVRS_TYPE(Result<cv::detail::GraphCutSeamFinderGpu*>))
cargo:warning= | ^~~~~~~~~~~
cargo:warning=/target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/stitching.cpp:1859:17: note: in expansion of macro ‘OCVRS_TYPE’
cargo:warning= 1859 | } OCVRS_CATCH(OCVRS_TYPE(Result<cv::detail::GraphCutSeamFinderGpu*>))
cargo:warning= | ^~~~~~~~~~
cargo:warning=/target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/stitching.cpp:1859:69: error: template argument 1 is invalid
cargo:warning= 1859 | } OCVRS_CATCH(OCVRS_TYPE(Result<cv::detail::GraphCutSeamFinderGpu*>))
cargo:warning= | ^
cargo:warning=/build/dev/opencv-rust/src_cpp/ocvrs_common.hpp:23:13: note: in definition of macro ‘CODE_CATCH’
cargo:warning= 23 | return Err<return_type>(code, msg); \
cargo:warning= | ^~~~~~~~~~~
cargo:warning=/build/dev/opencv-rust/src_cpp/ocvrs_common.hpp:27:12: note: in expansion of macro ‘OCVRS_TYPE’
cargo:warning= 27 | CODE_CATCH(OCVRS_TYPE(return_type), cv::Exception& e, e.code, e.what()) \
cargo:warning= | ^~~~~~~~~~
cargo:warning=/target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/stitching.cpp:1859:5: note: in expansion of macro ‘OCVRS_CATCH’
cargo:warning= 1859 | } OCVRS_CATCH(OCVRS_TYPE(Result<cv::detail::GraphCutSeamFinderGpu*>))
cargo:warning= | ^~~~~~~~~~~
cargo:warning=/target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/stitching.cpp:1859:17: note: in expansion of macro ‘OCVRS_TYPE’
cargo:warning= 1859 | } OCVRS_CATCH(OCVRS_TYPE(Result<cv::detail::GraphCutSeamFinderGpu*>))
cargo:warning= | ^~~~~~~~~~
cargo:warning=/build/dev/opencv-rust/src_cpp/ocvrs_common.hpp:23:35: error: no matching function for call to ‘Err<<expression error> >(int&, const char*)’
cargo:warning= 23 | return Err<return_type>(code, msg); \
cargo:warning= | ^
cargo:warning=/build/dev/opencv-rust/src_cpp/ocvrs_common.hpp:27:1: note: in expansion of macro ‘CODE_CATCH’
cargo:warning= 27 | CODE_CATCH(OCVRS_TYPE(return_type), cv::Exception& e, e.code, e.what()) \
cargo:warning= | ^~~~~~~~~~
cargo:warning=/target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/stitching.cpp:1859:5: note: in expansion of macro ‘OCVRS_CATCH’
cargo:warning= 1859 | } OCVRS_CATCH(OCVRS_TYPE(Result<cv::detail::GraphCutSeamFinderGpu*>))
cargo:warning= | ^~~~~~~~~~~
cargo:warning=/build/dev/opencv-rust/src_cpp/ocvrs_common.hpp:55:31: note: candidate: ‘template<class T> T Err(int, const char*)’
cargo:warning= 55 | template<typename T> inline T Err(int code, const char* msg) {
cargo:warning= | ^~~
cargo:warning=/build/dev/opencv-rust/src_cpp/ocvrs_common.hpp:55:31: note: template argument deduction/substitution failed:
cargo:warning=/build/dev/opencv-rust/src_cpp/ocvrs_common.hpp:23:35: error: template argument 1 is invalid
cargo:warning= 23 | return Err<return_type>(code, msg); \
cargo:warning= | ^
cargo:warning=/build/dev/opencv-rust/src_cpp/ocvrs_common.hpp:27:1: note: in expansion of macro ‘CODE_CATCH’
cargo:warning= 27 | CODE_CATCH(OCVRS_TYPE(return_type), cv::Exception& e, e.code, e.what()) \
cargo:warning= | ^~~~~~~~~~
cargo:warning=/target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/stitching.cpp:1859:5: note: in expansion of macro ‘OCVRS_CATCH’
cargo:warning= 1859 | } OCVRS_CATCH(OCVRS_TYPE(Result<cv::detail::GraphCutSeamFinderGpu*>))
cargo:warning= | ^~~~~~~~~~~
cargo:warning=/target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/stitching.cpp:1859:47: error: ‘GraphCutSeamFinderGpu’ is not a member of ‘cv::detail’; did you mean ‘GraphCutSeamFinder’?
cargo:warning= 1859 | } OCVRS_CATCH(OCVRS_TYPE(Result<cv::detail::GraphCutSeamFinderGpu*>))
cargo:warning= | ^~~~~~~~~~~~~~~~~~~~~
cargo:warning=/build/dev/opencv-rust/src_cpp/ocvrs_common.hpp:23:13: note: in definition of macro ‘CODE_CATCH’
cargo:warning= 23 | return Err<return_type>(code, msg); \
cargo:warning= | ^~~~~~~~~~~
cargo:warning=/build/dev/opencv-rust/src_cpp/ocvrs_common.hpp:28:12: note: in expansion of macro ‘OCVRS_TYPE’
cargo:warning= 28 | CODE_CATCH(OCVRS_TYPE(return_type), ..., -99999, "unspecified error in OpenCV guts")
cargo:warning= | ^~~~~~~~~~
cargo:warning=/target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/stitching.cpp:1859:5: note: in expansion of macro ‘OCVRS_CATCH’
cargo:warning= 1859 | } OCVRS_CATCH(OCVRS_TYPE(Result<cv::detail::GraphCutSeamFinderGpu*>))
cargo:warning= | ^~~~~~~~~~~
cargo:warning=/target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/stitching.cpp:1859:17: note: in expansion of macro ‘OCVRS_TYPE’
cargo:warning= 1859 | } OCVRS_CATCH(OCVRS_TYPE(Result<cv::detail::GraphCutSeamFinderGpu*>))
cargo:warning= | ^~~~~~~~~~
cargo:warning=/target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/stitching.cpp:1859:47: error: ‘GraphCutSeamFinderGpu’ is not a member of ‘cv::detail’; did you mean ‘GraphCutSeamFinder’?
cargo:warning= 1859 | } OCVRS_CATCH(OCVRS_TYPE(Result<cv::detail::GraphCutSeamFinderGpu*>))
cargo:warning= | ^~~~~~~~~~~~~~~~~~~~~
cargo:warning=/build/dev/opencv-rust/src_cpp/ocvrs_common.hpp:23:13: note: in definition of macro ‘CODE_CATCH’
cargo:warning= 23 | return Err<return_type>(code, msg); \
cargo:warning= | ^~~~~~~~~~~
cargo:warning=/build/dev/opencv-rust/src_cpp/ocvrs_common.hpp:28:12: note: in expansion of macro ‘OCVRS_TYPE’
cargo:warning= 28 | CODE_CATCH(OCVRS_TYPE(return_type), ..., -99999, "unspecified error in OpenCV guts")
cargo:warning= | ^~~~~~~~~~
cargo:warning=/target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/stitching.cpp:1859:5: note: in expansion of macro ‘OCVRS_CATCH’
cargo:warning= 1859 | } OCVRS_CATCH(OCVRS_TYPE(Result<cv::detail::GraphCutSeamFinderGpu*>))
cargo:warning= | ^~~~~~~~~~~
cargo:warning=/target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/stitching.cpp:1859:17: note: in expansion of macro ‘OCVRS_TYPE’
cargo:warning= 1859 | } OCVRS_CATCH(OCVRS_TYPE(Result<cv::detail::GraphCutSeamFinderGpu*>))
cargo:warning= | ^~~~~~~~~~
cargo:warning=/target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/stitching.cpp:1859:69: error: template argument 1 is invalid
cargo:warning= 1859 | } OCVRS_CATCH(OCVRS_TYPE(Result<cv::detail::GraphCutSeamFinderGpu*>))
cargo:warning= | ^
cargo:warning=/build/dev/opencv-rust/src_cpp/ocvrs_common.hpp:23:13: note: in definition of macro ‘CODE_CATCH’
cargo:warning= 23 | return Err<return_type>(code, msg); \
cargo:warning= | ^~~~~~~~~~~
cargo:warning=/build/dev/opencv-rust/src_cpp/ocvrs_common.hpp:28:12: note: in expansion of macro ‘OCVRS_TYPE’
cargo:warning= 28 | CODE_CATCH(OCVRS_TYPE(return_type), ..., -99999, "unspecified error in OpenCV guts")
cargo:warning= | ^~~~~~~~~~
cargo:warning=/target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/stitching.cpp:1859:5: note: in expansion of macro ‘OCVRS_CATCH’
cargo:warning= 1859 | } OCVRS_CATCH(OCVRS_TYPE(Result<cv::detail::GraphCutSeamFinderGpu*>))
cargo:warning= | ^~~~~~~~~~~
cargo:warning=/target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/stitching.cpp:1859:17: note: in expansion of macro ‘OCVRS_TYPE’
cargo:warning= 1859 | } OCVRS_CATCH(OCVRS_TYPE(Result<cv::detail::GraphCutSeamFinderGpu*>))
cargo:warning= | ^~~~~~~~~~
cargo:warning=/build/dev/opencv-rust/src_cpp/ocvrs_common.hpp:23:35: error: no matching function for call to ‘Err<<expression error> >(int, const char [33])’
cargo:warning= 23 | return Err<return_type>(code, msg); \
cargo:warning= | ^
cargo:warning=/build/dev/opencv-rust/src_cpp/ocvrs_common.hpp:28:1: note: in expansion of macro ‘CODE_CATCH’
cargo:warning= 28 | CODE_CATCH(OCVRS_TYPE(return_type), ..., -99999, "unspecified error in OpenCV guts")
cargo:warning= | ^~~~~~~~~~
cargo:warning=/target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/stitching.cpp:1859:5: note: in expansion of macro ‘OCVRS_CATCH’
cargo:warning= 1859 | } OCVRS_CATCH(OCVRS_TYPE(Result<cv::detail::GraphCutSeamFinderGpu*>))
cargo:warning= | ^~~~~~~~~~~
cargo:warning=/build/dev/opencv-rust/src_cpp/ocvrs_common.hpp:55:31: note: candidate: ‘template<class T> T Err(int, const char*)’
cargo:warning= 55 | template<typename T> inline T Err(int code, const char* msg) {
cargo:warning= | ^~~
cargo:warning=/build/dev/opencv-rust/src_cpp/ocvrs_common.hpp:55:31: note: template argument deduction/substitution failed:
cargo:warning=/build/dev/opencv-rust/src_cpp/ocvrs_common.hpp:23:35: error: template argument 1 is invalid
cargo:warning= 23 | return Err<return_type>(code, msg); \
cargo:warning= | ^
cargo:warning=/build/dev/opencv-rust/src_cpp/ocvrs_common.hpp:28:1: note: in expansion of macro ‘CODE_CATCH’
cargo:warning= 28 | CODE_CATCH(OCVRS_TYPE(return_type), ..., -99999, "unspecified error in OpenCV guts")
cargo:warning= | ^~~~~~~~~~
cargo:warning=/target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/stitching.cpp:1859:5: note: in expansion of macro ‘OCVRS_CATCH’
cargo:warning= 1859 | } OCVRS_CATCH(OCVRS_TYPE(Result<cv::detail::GraphCutSeamFinderGpu*>))
cargo:warning= | ^~~~~~~~~~~
cargo:warning=/target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/stitching.cpp:1855:119: warning: unused parameter ‘cost_type’ [-Wunused-parameter]
cargo:warning= 1855 | Result<cv::detail::GraphCutSeamFinderGpu*> cv_detail_GraphCutSeamFinderGpu_GraphCutSeamFinderGpu_int_float_float(int cost_type, float terminal_cost, float bad_region_penalty) {
cargo:warning= | ~~~~^~~~~~~~~
cargo:warning=/target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/stitching.cpp:1855:136: warning: unused parameter ‘terminal_cost’ [-Wunused-parameter]
cargo:warning= 1855 | Result<cv::detail::GraphCutSeamFinderGpu*> cv_detail_GraphCutSeamFinderGpu_GraphCutSeamFinderGpu_int_float_float(int cost_type, float terminal_cost, float bad_region_penalty) {
cargo:warning= | ~~~~~~^~~~~~~~~~~~~
cargo:warning=/target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/stitching.cpp:1855:157: warning: unused parameter ‘bad_region_penalty’ [-Wunused-parameter]
cargo:warning= 1855 | Result<cv::detail::GraphCutSeamFinderGpu*> cv_detail_GraphCutSeamFinderGpu_GraphCutSeamFinderGpu_int_float_float(int cost_type, float terminal_cost, float bad_region_penalty) {
cargo:warning= | ~~~~~~^~~~~~~~~~~~~~~~~~
cargo:warning=/target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/stitching.cpp: At global scope:
cargo:warning=/target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/stitching.cpp:1862:118: error: ‘GraphCutSeamFinderGpu’ is not a member of ‘cv::detail’; did you mean ‘GraphCutSeamFinder’?
cargo:warning= 1862 | Result_void cv_detail_GraphCutSeamFinderGpu_find_const_vector_UMat_R_const_vector_Point_R_vector_UMat_R(cv::detail::GraphCutSeamFinderGpu* instance, const std::vector<cv::UMat>* src, const std::vector<cv::Point>* corners, std::vector<cv::UMat>* masks) {
cargo:warning= | ^~~~~~~~~~~~~~~~~~~~~
cargo:warning= | GraphCutSeamFinder
cargo:warning=/target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/stitching.cpp:1862:141: error: ‘instance’ was not declared in this scope
cargo:warning= 1862 | Result_void cv_detail_GraphCutSeamFinderGpu_find_const_vector_UMat_R_const_vector_Point_R_vector_UMat_R(cv::detail::GraphCutSeamFinderGpu* instance, const std::vector<cv::UMat>* src, const std::vector<cv::Point>* corners, std::vector<cv::UMat>* masks) {
cargo:warning= | ^~~~~~~~
cargo:warning=/target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/stitching.cpp:1862:151: error: expected primary-expression before ‘const’
cargo:warning= 1862 | Result_void cv_detail_GraphCutSeamFinderGpu_find_const_vector_UMat_R_const_vector_Point_R_vector_UMat_R(cv::detail::GraphCutSeamFinderGpu* instance, const std::vector<cv::UMat>* src, const std::vector<cv::Point>* corners, std::vector<cv::UMat>* masks) {
cargo:warning= | ^~~~~
cargo:warning=/target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/stitching.cpp:1862:185: error: expected primary-expression before ‘const’
cargo:warning= 1862 | Result_void cv_detail_GraphCutSeamFinderGpu_find_const_vector_UMat_R_const_vector_Point_R_vector_UMat_R(cv::detail::GraphCutSeamFinderGpu* instance, const std::vector<cv::UMat>* src, const std::vector<cv::Point>* corners, std::vector<cv::UMat>* masks) {
cargo:warning= | ^~~~~
cargo:warning=/target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/stitching.cpp:1862:245: error: expected primary-expression before ‘*’ token
cargo:warning= 1862 | Result_void cv_detail_GraphCutSeamFinderGpu_find_const_vector_UMat_R_const_vector_Point_R_vector_UMat_R(cv::detail::GraphCutSeamFinderGpu* instance, const std::vector<cv::UMat>* src, const std::vector<cv::Point>* corners, std::vector<cv::UMat>* masks) {
cargo:warning= | ^
cargo:warning=/target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/stitching.cpp:1862:247: error: ‘masks’ was not declared in this scope
cargo:warning= 1862 | Result_void cv_detail_GraphCutSeamFinderGpu_find_const_vector_UMat_R_const_vector_Point_R_vector_UMat_R(cv::detail::GraphCutSeamFinderGpu* instance, const std::vector<cv::UMat>* src, const std::vector<cv::Point>* corners, std::vector<cv::UMat>* masks) {
cargo:warning= | ^~~~~
cargo:warning=/target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/stitching.cpp:1862:254: error: expected ‘,’ or ‘;’ before ‘{’ token
cargo:warning= 1862 | Result_void cv_detail_GraphCutSeamFinderGpu_find_const_vector_UMat_R_const_vector_Point_R_vector_UMat_R(cv::detail::GraphCutSeamFinderGpu* instance, const std::vector<cv::UMat>* src, const std::vector<cv::Point>* corners, std::vector<cv::UMat>* masks) {
cargo:warning= | ^
cargo:warning=/target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/stitching.cpp:1869:88: error: ‘GraphCutSeamFinderGpu’ is not a member of ‘cv::detail’; did you mean ‘GraphCutSeamFinder’?
cargo:warning= 1869 | Result_void cv_detail_GraphCutSeamFinderGpu_findInPair_size_t_size_t_Rect(cv::detail::GraphCutSeamFinderGpu* instance, size_t first, size_t second, cv::Rect* roi) {
cargo:warning= | ^~~~~~~~~~~~~~~~~~~~~
cargo:warning= | GraphCutSeamFinder
cargo:warning=/target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/stitching.cpp:1869:111: error: ‘instance’ was not declared in this scope
cargo:warning= 1869 | Result_void cv_detail_GraphCutSeamFinderGpu_findInPair_size_t_size_t_Rect(cv::detail::GraphCutSeamFinderGpu* instance, size_t first, size_t second, cv::Rect* roi) {
cargo:warning= | ^~~~~~~~
cargo:warning=/target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/stitching.cpp:1869:128: error: expected primary-expression before ‘first’
cargo:warning= 1869 | Result_void cv_detail_GraphCutSeamFinderGpu_findInPair_size_t_size_t_Rect(cv::detail::GraphCutSeamFinderGpu* instance, size_t first, size_t second, cv::Rect* roi) {
cargo:warning= | ^~~~~
cargo:warning=/target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/stitching.cpp:1869:142: error: expected primary-expression before ‘second’
cargo:warning= 1869 | Result_void cv_detail_GraphCutSeamFinderGpu_findInPair_size_t_size_t_Rect(cv::detail::GraphCutSeamFinderGpu* instance, size_t first, size_t second, cv::Rect* roi) {
cargo:warning= | ^~~~~~
cargo:warning=/target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/stitching.cpp:1869:158: error: expected primary-expression before ‘*’ token
cargo:warning= 1869 | Result_void cv_detail_GraphCutSeamFinderGpu_findInPair_size_t_size_t_Rect(cv::detail::GraphCutSeamFinderGpu* instance, size_t first, size_t second, cv::Rect* roi) {
cargo:warning= | ^
cargo:warning=/target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/stitching.cpp:1869:160: error: ‘roi’ was not declared in this scope
cargo:warning= 1869 | Result_void cv_detail_GraphCutSeamFinderGpu_findInPair_size_t_size_t_Rect(cv::detail::GraphCutSeamFinderGpu* instance, size_t first, size_t second, cv::Rect* roi) {
cargo:warning= | ^~~
cargo:warning=/target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/stitching.cpp:1869:165: error: expected ‘,’ or ‘;’ before ‘{’ token
cargo:warning= 1869 | Result_void cv_detail_GraphCutSeamFinderGpu_findInPair_size_t_size_t_Rect(cv::detail::GraphCutSeamFinderGpu* instance, size_t first, size_t second, cv::Rect* roi) {
cargo:warning= | ^
cargo:warning=cc1plus: note: unrecognized command-line option ‘-Wno-return-type-c-linkage’ may have been intended to silence earlier diagnostics
cargo:warning=In file included from /target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/stitching.cpp:3:
cargo:warning=/target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/stitching_types.hpp:64:36: error: ‘GraphCutSeamFinderGpu’ is not a member of ‘cv::detail’; did you mean ‘GraphCutSeamFinder’?
cargo:warning= 64 | template struct Result<cv::detail::GraphCutSeamFinderGpu*>;
cargo:warning= | ^~~~~~~~~~~~~~~~~~~~~
cargo:warning= | GraphCutSeamFinder
cargo:warning=/target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/stitching_types.hpp:64:36: error: ‘GraphCutSeamFinderGpu’ is not a member of ‘cv::detail’; did you mean ‘GraphCutSeamFinder’?
cargo:warning= 64 | template struct Result<cv::detail::GraphCutSeamFinderGpu*>;
cargo:warning= | ^~~~~~~~~~~~~~~~~~~~~
cargo:warning= | GraphCutSeamFinder
cargo:warning=/target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/stitching_types.hpp:64:58: error: template argument 1 is invalid
cargo:warning= 64 | template struct Result<cv::detail::GraphCutSeamFinderGpu*>;
cargo:warning= | ^
cargo:warning=/target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/stitching.cpp:1852:7: error: variable or field ‘cv_Detail_GraphCutSeamFinderGpu_delete’ declared void
cargo:warning= 1852 | void cv_Detail_GraphCutSeamFinderGpu_delete(cv::detail::GraphCutSeamFinderGpu* instance) {
cargo:warning= | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cargo:warning=/target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/stitching.cpp:1852:58: error: ‘GraphCutSeamFinderGpu’ is not a member of ‘cv::detail’; did you mean ‘GraphCutSeamFinder’?
cargo:warning= 1852 | void cv_Detail_GraphCutSeamFinderGpu_delete(cv::detail::GraphCutSeamFinderGpu* instance) {
cargo:warning= | ^~~~~~~~~~~~~~~~~~~~~
cargo:warning= | GraphCutSeamFinder
cargo:warning=/target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/stitching.cpp:1852:81: error: ‘instance’ was not declared in this scope
cargo:warning= 1852 | void cv_Detail_GraphCutSeamFinderGpu_delete(cv::detail::GraphCutSeamFinderGpu* instance) {
cargo:warning= | ^~~~~~~~
cargo:warning=/target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/stitching.cpp:1855:21: error: ‘GraphCutSeamFinderGpu’ is not a member of ‘cv::detail’; did you mean ‘GraphCutSeamFinder’?
cargo:warning= 1855 | Result<cv::detail::GraphCutSeamFinderGpu*> cv_detail_GraphCutSeamFinderGpu_GraphCutSeamFinderGpu_int_float_float(int cost_type, float terminal_cost, float bad_region_penalty) {
cargo:warning= | ^~~~~~~~~~~~~~~~~~~~~
cargo:warning= | GraphCutSeamFinder
cargo:warning=/target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/stitching.cpp:1855:21: error: ‘GraphCutSeamFinderGpu’ is not a member of ‘cv::detail’; did you mean ‘GraphCutSeamFinder’?
cargo:warning= 1855 | Result<cv::detail::GraphCutSeamFinderGpu*> cv_detail_GraphCutSeamFinderGpu_GraphCutSeamFinderGpu_int_float_float(int cost_type, float terminal_cost, float bad_region_penalty) {
cargo:warning= | ^~~~~~~~~~~~~~~~~~~~~
cargo:warning= | GraphCutSeamFinder
cargo:warning=/target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/stitching.cpp:1855:43: error: template argument 1 is invalid
cargo:warning= 1855 | Result<cv::detail::GraphCutSeamFinderGpu*> cv_detail_GraphCutSeamFinderGpu_GraphCutSeamFinderGpu_int_float_float(int cost_type, float terminal_cost, float bad_region_penalty) {
cargo:warning= | ^
cargo:warning=/target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/stitching.cpp: In function ‘int cv_detail_GraphCutSeamFinderGpu_GraphCutSeamFinderGpu_int_float_float(int, float, float)’:
cargo:warning=/target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/stitching.cpp:1857:16: error: ‘GraphCutSeamFinderGpu’ is not a member of ‘cv::detail’; did you mean ‘GraphCutSeamFinder’?
cargo:warning= 1857 | cv::detail::GraphCutSeamFinderGpu* ret = new cv::detail::GraphCutSeamFinderGpu(cost_type, terminal_cost, bad_region_penalty);
cargo:warning= | ^~~~~~~~~~~~~~~~~~~~~
cargo:warning= | GraphCutSeamFinder
cargo:warning=/target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/stitching.cpp:1857:39: error: ‘ret’ was not declared in this scope
cargo:warning= 1857 | cv::detail::GraphCutSeamFinderGpu* ret = new cv::detail::GraphCutSeamFinderGpu(cost_type, terminal_cost, bad_region_penalty);
cargo:warning= | ^~~
cargo:warning=/target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/stitching.cpp:1857:49: error: expected type-specifier
cargo:warning= 1857 | cv::detail::GraphCutSeamFinderGpu* ret = new cv::detail::GraphCutSeamFinderGpu(cost_type, terminal_cost, bad_region_penalty);
cargo:warning= | ^~
cargo:warning=/target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/stitching.cpp:1858:26: error: ‘GraphCutSeamFinderGpu’ is not a member of ‘cv::detail’; did you mean ‘GraphCutSeamFinder’?
cargo:warning= 1858 | return Ok<cv::detail::GraphCutSeamFinderGpu*>(ret);
cargo:warning= | ^~~~~~~~~~~~~~~~~~~~~
cargo:warning= | GraphCutSeamFinder
cargo:warning=/target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/stitching.cpp:1858:26: error: ‘GraphCutSeamFinderGpu’ is not a member of ‘cv::detail’; did you mean ‘GraphCutSeamFinder’?
cargo:warning= 1858 | return Ok<cv::detail::GraphCutSeamFinderGpu*>(ret);
cargo:warning= | ^~~~~~~~~~~~~~~~~~~~~
cargo:warning= | GraphCutSeamFinder
cargo:warning=/target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/stitching.cpp:1858:11: error: parse error in template argument list
cargo:warning= 1858 | return Ok<cv::detail::GraphCutSeamFinderGpu*>(ret);
cargo:warning= | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cargo:warning=In file included from /target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/stitching.cpp:1:
cargo:warning=/target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/stitching.cpp:1859:47: error: ‘GraphCutSeamFinderGpu’ is not a member of ‘cv::detail’; did you mean ‘GraphCutSeamFinder’?
cargo:warning= 1859 | } OCVRS_CATCH(OCVRS_TYPE(Result<cv::detail::GraphCutSeamFinderGpu*>))
cargo:warning= | ^~~~~~~~~~~~~~~~~~~~~
cargo:warning=/build/dev/opencv-rust/src_cpp/ocvrs_common.hpp:23:13: note: in definition of macro ‘CODE_CATCH’
cargo:warning= 23 | return Err<return_type>(code, msg); \
cargo:warning= | ^~~~~~~~~~~
cargo:warning=/build/dev/opencv-rust/src_cpp/ocvrs_common.hpp:27:12: note: in expansion of macro ‘OCVRS_TYPE’
cargo:warning= 27 | CODE_CATCH(OCVRS_TYPE(return_type), cv::Exception& e, e.code, e.what()) \
cargo:warning= | ^~~~~~~~~~
cargo:warning=/target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/stitching.cpp:1859:5: note: in expansion of macro ‘OCVRS_CATCH’
cargo:warning= 1859 | } OCVRS_CATCH(OCVRS_TYPE(Result<cv::detail::GraphCutSeamFinderGpu*>))
cargo:warning= | ^~~~~~~~~~~
cargo:warning=/target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/stitching.cpp:1859:17: note: in expansion of macro ‘OCVRS_TYPE’
cargo:warning= 1859 | } OCVRS_CATCH(OCVRS_TYPE(Result<cv::detail::GraphCutSeamFinderGpu*>))
cargo:warning= | ^~~~~~~~~~
cargo:warning=/target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/stitching.cpp:1859:47: error: ‘GraphCutSeamFinderGpu’ is not a member of ‘cv::detail’; did you mean ‘GraphCutSeamFinder’?
cargo:warning= 1859 | } OCVRS_CATCH(OCVRS_TYPE(Result<cv::detail::GraphCutSeamFinderGpu*>))
cargo:warning= | ^~~~~~~~~~~~~~~~~~~~~
cargo:warning=/build/dev/opencv-rust/src_cpp/ocvrs_common.hpp:23:13: note: in definition of macro ‘CODE_CATCH’
cargo:warning= 23 | return Err<return_type>(code, msg); \
cargo:warning= | ^~~~~~~~~~~
cargo:warning=/build/dev/opencv-rust/src_cpp/ocvrs_common.hpp:27:12: note: in expansion of macro ‘OCVRS_TYPE’
cargo:warning= 27 | CODE_CATCH(OCVRS_TYPE(return_type), cv::Exception& e, e.code, e.what()) \
cargo:warning= | ^~~~~~~~~~
cargo:warning=/target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/stitching.cpp:1859:5: note: in expansion of macro ‘OCVRS_CATCH’
cargo:warning= 1859 | } OCVRS_CATCH(OCVRS_TYPE(Result<cv::detail::GraphCutSeamFinderGpu*>))
cargo:warning= | ^~~~~~~~~~~
cargo:warning=/target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/stitching.cpp:1859:17: note: in expansion of macro ‘OCVRS_TYPE’
cargo:warning= 1859 | } OCVRS_CATCH(OCVRS_TYPE(Result<cv::detail::GraphCutSeamFinderGpu*>))
cargo:warning= | ^~~~~~~~~~
cargo:warning=/target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/stitching.cpp:1859:69: error: template argument 1 is invalid
cargo:warning= 1859 | } OCVRS_CATCH(OCVRS_TYPE(Result<cv::detail::GraphCutSeamFinderGpu*>))
cargo:warning= | ^
cargo:warning=/build/dev/opencv-rust/src_cpp/ocvrs_common.hpp:23:13: note: in definition of macro ‘CODE_CATCH’
cargo:warning= 23 | return Err<return_type>(code, msg); \
cargo:warning= | ^~~~~~~~~~~
cargo:warning=/build/dev/opencv-rust/src_cpp/ocvrs_common.hpp:27:12: note: in expansion of macro ‘OCVRS_TYPE’
cargo:warning= 27 | CODE_CATCH(OCVRS_TYPE(return_type), cv::Exception& e, e.code, e.what()) \
cargo:warning= | ^~~~~~~~~~
cargo:warning=/target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/stitching.cpp:1859:5: note: in expansion of macro ‘OCVRS_CATCH’
cargo:warning= 1859 | } OCVRS_CATCH(OCVRS_TYPE(Result<cv::detail::GraphCutSeamFinderGpu*>))
cargo:warning= | ^~~~~~~~~~~
cargo:warning=/target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/stitching.cpp:1859:17: note: in expansion of macro ‘OCVRS_TYPE’
cargo:warning= 1859 | } OCVRS_CATCH(OCVRS_TYPE(Result<cv::detail::GraphCutSeamFinderGpu*>))
cargo:warning= | ^~~~~~~~~~
cargo:warning=/build/dev/opencv-rust/src_cpp/ocvrs_common.hpp:23:35: error: no matching function for call to ‘Err<<expression error> >(int&, const char*)’
cargo:warning= 23 | return Err<return_type>(code, msg); \
cargo:warning= | ^
cargo:warning=/build/dev/opencv-rust/src_cpp/ocvrs_common.hpp:27:1: note: in expansion of macro ‘CODE_CATCH’
cargo:warning= 27 | CODE_CATCH(OCVRS_TYPE(return_type), cv::Exception& e, e.code, e.what()) \
cargo:warning= | ^~~~~~~~~~
cargo:warning=/target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/stitching.cpp:1859:5: note: in expansion of macro ‘OCVRS_CATCH’
cargo:warning= 1859 | } OCVRS_CATCH(OCVRS_TYPE(Result<cv::detail::GraphCutSeamFinderGpu*>))
cargo:warning= | ^~~~~~~~~~~
cargo:warning=/build/dev/opencv-rust/src_cpp/ocvrs_common.hpp:55:31: note: candidate: ‘template<class T> T Err(int, const char*)’
cargo:warning= 55 | template<typename T> inline T Err(int code, const char* msg) {
cargo:warning= | ^~~
cargo:warning=/build/dev/opencv-rust/src_cpp/ocvrs_common.hpp:55:31: note: template argument deduction/substitution failed:
cargo:warning=/build/dev/opencv-rust/src_cpp/ocvrs_common.hpp:23:35: error: template argument 1 is invalid
cargo:warning= 23 | return Err<return_type>(code, msg); \
cargo:warning= | ^
cargo:warning=/build/dev/opencv-rust/src_cpp/ocvrs_common.hpp:27:1: note: in expansion of macro ‘CODE_CATCH’
cargo:warning= 27 | CODE_CATCH(OCVRS_TYPE(return_type), cv::Exception& e, e.code, e.what()) \
cargo:warning= | ^~~~~~~~~~
cargo:warning=/target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/stitching.cpp:1859:5: note: in expansion of macro ‘OCVRS_CATCH’
cargo:warning= 1859 | } OCVRS_CATCH(OCVRS_TYPE(Result<cv::detail::GraphCutSeamFinderGpu*>))
cargo:warning= | ^~~~~~~~~~~
cargo:warning=/target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/stitching.cpp:1859:47: error: ‘GraphCutSeamFinderGpu’ is not a member of ‘cv::detail’; did you mean ‘GraphCutSeamFinder’?
cargo:warning= 1859 | } OCVRS_CATCH(OCVRS_TYPE(Result<cv::detail::GraphCutSeamFinderGpu*>))
cargo:warning= | ^~~~~~~~~~~~~~~~~~~~~
cargo:warning=/build/dev/opencv-rust/src_cpp/ocvrs_common.hpp:23:13: note: in definition of macro ‘CODE_CATCH’
cargo:warning= 23 | return Err<return_type>(code, msg); \
cargo:warning= | ^~~~~~~~~~~
cargo:warning=/build/dev/opencv-rust/src_cpp/ocvrs_common.hpp:28:12: note: in expansion of macro ‘OCVRS_TYPE’
cargo:warning= 28 | CODE_CATCH(OCVRS_TYPE(return_type), ..., -99999, "unspecified error in OpenCV guts")
cargo:warning= | ^~~~~~~~~~
cargo:warning=/target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/stitching.cpp:1859:5: note: in expansion of macro ‘OCVRS_CATCH’
cargo:warning= 1859 | } OCVRS_CATCH(OCVRS_TYPE(Result<cv::detail::GraphCutSeamFinderGpu*>))
cargo:warning= | ^~~~~~~~~~~
cargo:warning=/target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/stitching.cpp:1859:17: note: in expansion of macro ‘OCVRS_TYPE’
cargo:warning= 1859 | } OCVRS_CATCH(OCVRS_TYPE(Result<cv::detail::GraphCutSeamFinderGpu*>))
cargo:warning= | ^~~~~~~~~~
cargo:warning=/target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/stitching.cpp:1859:47: error: ‘GraphCutSeamFinderGpu’ is not a member of ‘cv::detail’; did you mean ‘GraphCutSeamFinder’?
cargo:warning= 1859 | } OCVRS_CATCH(OCVRS_TYPE(Result<cv::detail::GraphCutSeamFinderGpu*>))
cargo:warning= | ^~~~~~~~~~~~~~~~~~~~~
cargo:warning=/build/dev/opencv-rust/src_cpp/ocvrs_common.hpp:23:13: note: in definition of macro ‘CODE_CATCH’
cargo:warning= 23 | return Err<return_type>(code, msg); \
cargo:warning= | ^~~~~~~~~~~
cargo:warning=/build/dev/opencv-rust/src_cpp/ocvrs_common.hpp:28:12: note: in expansion of macro ‘OCVRS_TYPE’
cargo:warning= 28 | CODE_CATCH(OCVRS_TYPE(return_type), ..., -99999, "unspecified error in OpenCV guts")
cargo:warning= | ^~~~~~~~~~
cargo:warning=/target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/stitching.cpp:1859:5: note: in expansion of macro ‘OCVRS_CATCH’
cargo:warning= 1859 | } OCVRS_CATCH(OCVRS_TYPE(Result<cv::detail::GraphCutSeamFinderGpu*>))
cargo:warning= | ^~~~~~~~~~~
cargo:warning=/target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/stitching.cpp:1859:17: note: in expansion of macro ‘OCVRS_TYPE’
cargo:warning= 1859 | } OCVRS_CATCH(OCVRS_TYPE(Result<cv::detail::GraphCutSeamFinderGpu*>))
cargo:warning= | ^~~~~~~~~~
cargo:warning=/target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/stitching.cpp:1859:69: error: template argument 1 is invalid
cargo:warning= 1859 | } OCVRS_CATCH(OCVRS_TYPE(Result<cv::detail::GraphCutSeamFinderGpu*>))
cargo:warning= | ^
cargo:warning=/build/dev/opencv-rust/src_cpp/ocvrs_common.hpp:23:13: note: in definition of macro ‘CODE_CATCH’
cargo:warning= 23 | return Err<return_type>(code, msg); \
cargo:warning= | ^~~~~~~~~~~
cargo:warning=/build/dev/opencv-rust/src_cpp/ocvrs_common.hpp:28:12: note: in expansion of macro ‘OCVRS_TYPE’
cargo:warning= 28 | CODE_CATCH(OCVRS_TYPE(return_type), ..., -99999, "unspecified error in OpenCV guts")
cargo:warning= | ^~~~~~~~~~
cargo:warning=/target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/stitching.cpp:1859:5: note: in expansion of macro ‘OCVRS_CATCH’
cargo:warning= 1859 | } OCVRS_CATCH(OCVRS_TYPE(Result<cv::detail::GraphCutSeamFinderGpu*>))
cargo:warning= | ^~~~~~~~~~~
cargo:warning=/target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/stitching.cpp:1859:17: note: in expansion of macro ‘OCVRS_TYPE’
cargo:warning= 1859 | } OCVRS_CATCH(OCVRS_TYPE(Result<cv::detail::GraphCutSeamFinderGpu*>))
cargo:warning= | ^~~~~~~~~~
cargo:warning=/build/dev/opencv-rust/src_cpp/ocvrs_common.hpp:23:35: error: no matching function for call to ‘Err<<expression error> >(int, const char [33])’
cargo:warning= 23 | return Err<return_type>(code, msg); \
cargo:warning= | ^
cargo:warning=/build/dev/opencv-rust/src_cpp/ocvrs_common.hpp:28:1: note: in expansion of macro ‘CODE_CATCH’
cargo:warning= 28 | CODE_CATCH(OCVRS_TYPE(return_type), ..., -99999, "unspecified error in OpenCV guts")
cargo:warning= | ^~~~~~~~~~
cargo:warning=/target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/stitching.cpp:1859:5: note: in expansion of macro ‘OCVRS_CATCH’
cargo:warning= 1859 | } OCVRS_CATCH(OCVRS_TYPE(Result<cv::detail::GraphCutSeamFinderGpu*>))
cargo:warning= | ^~~~~~~~~~~
cargo:warning=/build/dev/opencv-rust/src_cpp/ocvrs_common.hpp:55:31: note: candidate: ‘template<class T> T Err(int, const char*)’
cargo:warning= 55 | template<typename T> inline T Err(int code, const char* msg) {
cargo:warning= | ^~~
cargo:warning=/build/dev/opencv-rust/src_cpp/ocvrs_common.hpp:55:31: note: template argument deduction/substitution failed:
cargo:warning=/build/dev/opencv-rust/src_cpp/ocvrs_common.hpp:23:35: error: template argument 1 is invalid
cargo:warning= 23 | return Err<return_type>(code, msg); \
cargo:warning= | ^
cargo:warning=/build/dev/opencv-rust/src_cpp/ocvrs_common.hpp:28:1: note: in expansion of macro ‘CODE_CATCH’
cargo:warning= 28 | CODE_CATCH(OCVRS_TYPE(return_type), ..., -99999, "unspecified error in OpenCV guts")
cargo:warning= | ^~~~~~~~~~
cargo:warning=/target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/stitching.cpp:1859:5: note: in expansion of macro ‘OCVRS_CATCH’
cargo:warning= 1859 | } OCVRS_CATCH(OCVRS_TYPE(Result<cv::detail::GraphCutSeamFinderGpu*>))
cargo:warning= | ^~~~~~~~~~~
cargo:warning=/target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/stitching.cpp:1855:119: warning: unused parameter ‘cost_type’ [-Wunused-parameter]
cargo:warning= 1855 | Result<cv::detail::GraphCutSeamFinderGpu*> cv_detail_GraphCutSeamFinderGpu_GraphCutSeamFinderGpu_int_float_float(int cost_type, float terminal_cost, float bad_region_penalty) {
cargo:warning= | ~~~~^~~~~~~~~
cargo:warning=/target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/stitching.cpp:1855:136: warning: unused parameter ‘terminal_cost’ [-Wunused-parameter]
cargo:warning= 1855 | Result<cv::detail::GraphCutSeamFinderGpu*> cv_detail_GraphCutSeamFinderGpu_GraphCutSeamFinderGpu_int_float_float(int cost_type, float terminal_cost, float bad_region_penalty) {
cargo:warning= | ~~~~~~^~~~~~~~~~~~~
cargo:warning=/target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/stitching.cpp:1855:157: warning: unused parameter ‘bad_region_penalty’ [-Wunused-parameter]
cargo:warning= 1855 | Result<cv::detail::GraphCutSeamFinderGpu*> cv_detail_GraphCutSeamFinderGpu_GraphCutSeamFinderGpu_int_float_float(int cost_type, float terminal_cost, float bad_region_penalty) {
cargo:warning= | ~~~~~~^~~~~~~~~~~~~~~~~~
cargo:warning=/target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/stitching.cpp: At global scope:
cargo:warning=/target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/stitching.cpp:1862:118: error: ‘GraphCutSeamFinderGpu’ is not a member of ‘cv::detail’; did you mean ‘GraphCutSeamFinder’?
cargo:warning= 1862 | Result_void cv_detail_GraphCutSeamFinderGpu_find_const_vector_UMat_R_const_vector_Point_R_vector_UMat_R(cv::detail::GraphCutSeamFinderGpu* instance, const std::vector<cv::UMat>* src, const std::vector<cv::Point>* corners, std::vector<cv::UMat>* masks) {
cargo:warning= | ^~~~~~~~~~~~~~~~~~~~~
cargo:warning= | GraphCutSeamFinder
cargo:warning=/target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/stitching.cpp:1862:141: error: ‘instance’ was not declared in this scope
cargo:warning= 1862 | Result_void cv_detail_GraphCutSeamFinderGpu_find_const_vector_UMat_R_const_vector_Point_R_vector_UMat_R(cv::detail::GraphCutSeamFinderGpu* instance, const std::vector<cv::UMat>* src, const std::vector<cv::Point>* corners, std::vector<cv::UMat>* masks) {
cargo:warning= | ^~~~~~~~
cargo:warning=/target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/stitching.cpp:1862:151: error: expected primary-expression before ‘const’
cargo:warning= 1862 | Result_void cv_detail_GraphCutSeamFinderGpu_find_const_vector_UMat_R_const_vector_Point_R_vector_UMat_R(cv::detail::GraphCutSeamFinderGpu* instance, const std::vector<cv::UMat>* src, const std::vector<cv::Point>* corners, std::vector<cv::UMat>* masks) {
cargo:warning= | ^~~~~
cargo:warning=/target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/stitching.cpp:1862:185: error: expected primary-expression before ‘const’
cargo:warning= 1862 | Result_void cv_detail_GraphCutSeamFinderGpu_find_const_vector_UMat_R_const_vector_Point_R_vector_UMat_R(cv::detail::GraphCutSeamFinderGpu* instance, const std::vector<cv::UMat>* src, const std::vector<cv::Point>* corners, std::vector<cv::UMat>* masks) {
cargo:warning= | ^~~~~
cargo:warning=/target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/stitching.cpp:1862:245: error: expected primary-expression before ‘*’ token
cargo:warning= 1862 | Result_void cv_detail_GraphCutSeamFinderGpu_find_const_vector_UMat_R_const_vector_Point_R_vector_UMat_R(cv::detail::GraphCutSeamFinderGpu* instance, const std::vector<cv::UMat>* src, const std::vector<cv::Point>* corners, std::vector<cv::UMat>* masks) {
cargo:warning= | ^
cargo:warning=/target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/stitching.cpp:1862:247: error: ‘masks’ was not declared in this scope
cargo:warning= 1862 | Result_void cv_detail_GraphCutSeamFinderGpu_find_const_vector_UMat_R_const_vector_Point_R_vector_UMat_R(cv::detail::GraphCutSeamFinderGpu* instance, const std::vector<cv::UMat>* src, const std::vector<cv::Point>* corners, std::vector<cv::UMat>* masks) {
cargo:warning= | ^~~~~
cargo:warning=/target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/stitching.cpp:1862:254: error: expected ‘,’ or ‘;’ before ‘{’ token
cargo:warning= 1862 | Result_void cv_detail_GraphCutSeamFinderGpu_find_const_vector_UMat_R_const_vector_Point_R_vector_UMat_R(cv::detail::GraphCutSeamFinderGpu* instance, const std::vector<cv::UMat>* src, const std::vector<cv::Point>* corners, std::vector<cv::UMat>* masks) {
cargo:warning= | ^
cargo:warning=/target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/stitching.cpp:1869:88: error: ‘GraphCutSeamFinderGpu’ is not a member of ‘cv::detail’; did you mean ‘GraphCutSeamFinder’?
cargo:warning= 1869 | Result_void cv_detail_GraphCutSeamFinderGpu_findInPair_size_t_size_t_Rect(cv::detail::GraphCutSeamFinderGpu* instance, size_t first, size_t second, cv::Rect* roi) {
cargo:warning= | ^~~~~~~~~~~~~~~~~~~~~
cargo:warning= | GraphCutSeamFinder
cargo:warning=/target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/stitching.cpp:1869:111: error: ‘instance’ was not declared in this scope
cargo:warning= 1869 | Result_void cv_detail_GraphCutSeamFinderGpu_findInPair_size_t_size_t_Rect(cv::detail::GraphCutSeamFinderGpu* instance, size_t first, size_t second, cv::Rect* roi) {
cargo:warning= | ^~~~~~~~
cargo:warning=/target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/stitching.cpp:1869:128: error: expected primary-expression before ‘first’
cargo:warning= 1869 | Result_void cv_detail_GraphCutSeamFinderGpu_findInPair_size_t_size_t_Rect(cv::detail::GraphCutSeamFinderGpu* instance, size_t first, size_t second, cv::Rect* roi) {
cargo:warning= | ^~~~~
cargo:warning=/target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/stitching.cpp:1869:142: error: expected primary-expression before ‘second’
cargo:warning= 1869 | Result_void cv_detail_GraphCutSeamFinderGpu_findInPair_size_t_size_t_Rect(cv::detail::GraphCutSeamFinderGpu* instance, size_t first, size_t second, cv::Rect* roi) {
cargo:warning= | ^~~~~~
cargo:warning=/target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/stitching.cpp:1869:158: error: expected primary-expression before ‘*’ token
cargo:warning= 1869 | Result_void cv_detail_GraphCutSeamFinderGpu_findInPair_size_t_size_t_Rect(cv::detail::GraphCutSeamFinderGpu* instance, size_t first, size_t second, cv::Rect* roi) {
cargo:warning= | ^
cargo:warning=/target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/stitching.cpp:1869:160: error: ‘roi’ was not declared in this scope
cargo:warning= 1869 | Result_void cv_detail_GraphCutSeamFinderGpu_findInPair_size_t_size_t_Rect(cv::detail::GraphCutSeamFinderGpu* instance, size_t first, size_t second, cv::Rect* roi) {
cargo:warning= | ^~~
cargo:warning=/target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/stitching.cpp:1869:165: error: expected ‘,’ or ‘;’ before ‘{’ token
cargo:warning= 1869 | Result_void cv_detail_GraphCutSeamFinderGpu_findInPair_size_t_size_t_Rect(cv::detail::GraphCutSeamFinderGpu* instance, size_t first, size_t second, cv::Rect* roi) {
cargo:warning= | ^
cargo:warning=cc1plus: note: unrecognized command-line option ‘-Wno-return-type-c-linkage’ may have been intended to silence earlier diagnostics
exit code: 1
--- stderr
=== Crate version: Some("0.47.0")
=== Environment configuration:
=== OPENCV_HEADER_DIR = None
=== OPENCV_PACKAGE_NAME = None
=== OPENCV_PKGCONFIG_NAME = None
=== OPENCV_CMAKE_NAME = None
=== OPENCV_CMAKE_BIN = None
=== OPENCV_VCPKG_NAME = None
=== OPENCV_LINK_LIBS = None
=== OPENCV_LINK_PATHS = None
=== OPENCV_INCLUDE_PATHS = None
=== OPENCV_DISABLE_PROBES = None
=== OPENCV_CLANG_STDLIB_PATH = None
=== OPENCV_MODULE_WHITELIST = None
=== OPENCV_MODULE_BLACKLIST = None
=== CMAKE_PREFIX_PATH = None
=== OpenCV_DIR = None
=== PKG_CONFIG_PATH = None
=== VCPKG_ROOT = None
=== VCPKGRS_DYNAMIC = None
=== Enabled features:
=== OPENCV_4
=== Detected probe priority based on environment vars: pkg_config: false, cmake: false, vcpkg: false
=== Probing the OpenCV library in the following order: environment, pkg_config, cmake, vcpkg_cmake, vcpkg
=== Can't probe using: environment, continuing with other methods because: Some environment variables are missing
=== Probing OpenCV library using pkg_config
=== OpenCV library configuration: Library {
include_paths: [
"/aarch64/opencv/include/opencv4",
],
version: "4.5.1",
cargo_metadata: [
"cargo:rustc-link-search=/aarch64/opencv/lib",
"cargo:rustc-link-search=/aarch64/opencv/lib/opencv4/3rdparty",
"cargo:rustc-link-search=/tmp/build/lib",
"cargo:rustc-link-lib=opencv_gapi",
"cargo:rustc-link-lib=opencv_highgui",
"cargo:rustc-link-lib=opencv_ml",
"cargo:rustc-link-lib=opencv_objdetect",
"cargo:rustc-link-lib=opencv_photo",
"cargo:rustc-link-lib=opencv_stitching",
"cargo:rustc-link-lib=opencv_video",
"cargo:rustc-link-lib=opencv_calib3d",
"cargo:rustc-link-lib=opencv_features2d",
"cargo:rustc-link-lib=opencv_dnn",
"cargo:rustc-link-lib=opencv_flann",
"cargo:rustc-link-lib=opencv_videoio",
"cargo:rustc-link-lib=opencv_imgcodecs",
"cargo:rustc-link-lib=opencv_imgproc",
"cargo:rustc-link-lib=opencv_core",
"cargo:rustc-link-lib=protobuf",
"cargo:rustc-link-lib=zlib",
"cargo:rustc-link-lib=jpeg-turbo",
"cargo:rustc-link-lib=png",
"cargo:rustc-link-lib=openjp2",
"cargo:rustc-link-lib=tegra_hal",
"cargo:rustc-link-lib=ade",
"cargo:rustc-link-lib=dl",
"cargo:rustc-link-lib=m",
"cargo:rustc-link-lib=pthread",
"cargo:rustc-link-lib=rt",
],
}
=== Found OpenCV library version: 4.5.1 in headers located at: /build/dev/opencv-rust/headers/4
error occurred: Command "aarch64-linux-gnu-g++" "-O1" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-I" "/build/dev/opencv-rust/src_cpp" "-I" "/target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out" "-I" "." "-I" "/aarch64/opencv/include/opencv4" "-Wall" "-Wextra" "-std=c++11" "-Wno-class-memaccess" "-Wno-deprecated-declarations" "-Wno-deprecated-copy" "-Wno-unused-variable" "-Wno-return-type-c-linkage" "-o" "/target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/stitching.o" "-c" "/target/aarch64-unknown-linux-gnu/debug/build/opencv-e9573fc013811495/out/stitching.cpp" with args "aarch64-linux-gnu-g++" did not execute successfully (status code exit code: 1).
Here's the output when not cross-compiling. It looks very similar.
cargo build --no-default-features --features opencv-4 --target x86_64-unknown-linux-gnu
Compiling libc v0.2.82
Compiling num-traits v0.2.14
Compiling opencv v0.47.0 (/build/dev/opencv-rust)
The following warnings were emitted during compilation:
warning: In file included from /target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/stitching.cpp:3:
warning: /target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/stitching_types.hpp:64:36: error: ‘GraphCutSeamFinderGpu’ is not a member of ‘cv::detail’; did you mean ‘GraphCutSeamFinder’?
warning: 64 | template struct Result<cv::detail::GraphCutSeamFinderGpu*>;
warning: | ^~~~~~~~~~~~~~~~~~~~~
warning: | GraphCutSeamFinder
warning: /target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/stitching_types.hpp:64:36: error: ‘GraphCutSeamFinderGpu’ is not a member of ‘cv::detail’; did you mean ‘GraphCutSeamFinder’?
warning: 64 | template struct Result<cv::detail::GraphCutSeamFinderGpu*>;
warning: | ^~~~~~~~~~~~~~~~~~~~~
warning: | GraphCutSeamFinder
warning: /target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/stitching_types.hpp:64:58: error: template argument 1 is invalid
warning: 64 | template struct Result<cv::detail::GraphCutSeamFinderGpu*>;
warning: | ^
warning: /target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/stitching.cpp:1852:7: error: variable or field ‘cv_Detail_GraphCutSeamFinderGpu_delete’ declared void
warning: 1852 | void cv_Detail_GraphCutSeamFinderGpu_delete(cv::detail::GraphCutSeamFinderGpu* instance) {
warning: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
warning: /target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/stitching.cpp:1852:58: error: ‘GraphCutSeamFinderGpu’ is not a member of ‘cv::detail’; did you mean ‘GraphCutSeamFinder’?
warning: 1852 | void cv_Detail_GraphCutSeamFinderGpu_delete(cv::detail::GraphCutSeamFinderGpu* instance) {
warning: | ^~~~~~~~~~~~~~~~~~~~~
warning: | GraphCutSeamFinder
warning: /target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/stitching.cpp:1852:81: error: ‘instance’ was not declared in this scope
warning: 1852 | void cv_Detail_GraphCutSeamFinderGpu_delete(cv::detail::GraphCutSeamFinderGpu* instance) {
warning: | ^~~~~~~~
warning: /target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/stitching.cpp:1855:21: error: ‘GraphCutSeamFinderGpu’ is not a member of ‘cv::detail’; did you mean ‘GraphCutSeamFinder’?
warning: 1855 | Result<cv::detail::GraphCutSeamFinderGpu*> cv_detail_GraphCutSeamFinderGpu_GraphCutSeamFinderGpu_int_float_float(int cost_type, float terminal_cost, float bad_region_penalty) {
warning: | ^~~~~~~~~~~~~~~~~~~~~
warning: | GraphCutSeamFinder
warning: /target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/stitching.cpp:1855:21: error: ‘GraphCutSeamFinderGpu’ is not a member of ‘cv::detail’; did you mean ‘GraphCutSeamFinder’?
warning: 1855 | Result<cv::detail::GraphCutSeamFinderGpu*> cv_detail_GraphCutSeamFinderGpu_GraphCutSeamFinderGpu_int_float_float(int cost_type, float terminal_cost, float bad_region_penalty) {
warning: | ^~~~~~~~~~~~~~~~~~~~~
warning: | GraphCutSeamFinder
warning: /target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/stitching.cpp:1855:43: error: template argument 1 is invalid
warning: 1855 | Result<cv::detail::GraphCutSeamFinderGpu*> cv_detail_GraphCutSeamFinderGpu_GraphCutSeamFinderGpu_int_float_float(int cost_type, float terminal_cost, float bad_region_penalty) {
warning: | ^
warning: /target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/stitching.cpp: In function ‘int cv_detail_GraphCutSeamFinderGpu_GraphCutSeamFinderGpu_int_float_float(int, float, float)’:
warning: /target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/stitching.cpp:1857:16: error: ‘GraphCutSeamFinderGpu’ is not a member of ‘cv::detail’; did you mean ‘GraphCutSeamFinder’?
warning: 1857 | cv::detail::GraphCutSeamFinderGpu* ret = new cv::detail::GraphCutSeamFinderGpu(cost_type, terminal_cost, bad_region_penalty);
warning: | ^~~~~~~~~~~~~~~~~~~~~
warning: | GraphCutSeamFinder
warning: /target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/stitching.cpp:1857:39: error: ‘ret’ was not declared in this scope
warning: 1857 | cv::detail::GraphCutSeamFinderGpu* ret = new cv::detail::GraphCutSeamFinderGpu(cost_type, terminal_cost, bad_region_penalty);
warning: | ^~~
warning: /target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/stitching.cpp:1857:49: error: expected type-specifier
warning: 1857 | cv::detail::GraphCutSeamFinderGpu* ret = new cv::detail::GraphCutSeamFinderGpu(cost_type, terminal_cost, bad_region_penalty);
warning: | ^~
warning: /target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/stitching.cpp:1858:26: error: ‘GraphCutSeamFinderGpu’ is not a member of ‘cv::detail’; did you mean ‘GraphCutSeamFinder’?
warning: 1858 | return Ok<cv::detail::GraphCutSeamFinderGpu*>(ret);
warning: | ^~~~~~~~~~~~~~~~~~~~~
warning: | GraphCutSeamFinder
warning: /target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/stitching.cpp:1858:26: error: ‘GraphCutSeamFinderGpu’ is not a member of ‘cv::detail’; did you mean ‘GraphCutSeamFinder’?
warning: 1858 | return Ok<cv::detail::GraphCutSeamFinderGpu*>(ret);
warning: | ^~~~~~~~~~~~~~~~~~~~~
warning: | GraphCutSeamFinder
warning: /target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/stitching.cpp:1858:11: error: parse error in template argument list
warning: 1858 | return Ok<cv::detail::GraphCutSeamFinderGpu*>(ret);
warning: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
warning: In file included from /target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/stitching.cpp:1:
warning: /target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/stitching.cpp:1859:47: error: ‘GraphCutSeamFinderGpu’ is not a member of ‘cv::detail’; did you mean ‘GraphCutSeamFinder’?
warning: 1859 | } OCVRS_CATCH(OCVRS_TYPE(Result<cv::detail::GraphCutSeamFinderGpu*>))
warning: | ^~~~~~~~~~~~~~~~~~~~~
warning: /build/dev/opencv-rust/src_cpp/ocvrs_common.hpp:23:13: note: in definition of macro ‘CODE_CATCH’
warning: 23 | return Err<return_type>(code, msg); \
warning: | ^~~~~~~~~~~
warning: /build/dev/opencv-rust/src_cpp/ocvrs_common.hpp:27:12: note: in expansion of macro ‘OCVRS_TYPE’
warning: 27 | CODE_CATCH(OCVRS_TYPE(return_type), cv::Exception& e, e.code, e.what()) \
warning: | ^~~~~~~~~~
warning: /target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/stitching.cpp:1859:5: note: in expansion of macro ‘OCVRS_CATCH’
warning: 1859 | } OCVRS_CATCH(OCVRS_TYPE(Result<cv::detail::GraphCutSeamFinderGpu*>))
warning: | ^~~~~~~~~~~
warning: /target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/stitching.cpp:1859:17: note: in expansion of macro ‘OCVRS_TYPE’
warning: 1859 | } OCVRS_CATCH(OCVRS_TYPE(Result<cv::detail::GraphCutSeamFinderGpu*>))
warning: | ^~~~~~~~~~
warning: /target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/stitching.cpp:1859:47: error: ‘GraphCutSeamFinderGpu’ is not a member of ‘cv::detail’; did you mean ‘GraphCutSeamFinder’?
warning: 1859 | } OCVRS_CATCH(OCVRS_TYPE(Result<cv::detail::GraphCutSeamFinderGpu*>))
warning: | ^~~~~~~~~~~~~~~~~~~~~
warning: /build/dev/opencv-rust/src_cpp/ocvrs_common.hpp:23:13: note: in definition of macro ‘CODE_CATCH’
warning: 23 | return Err<return_type>(code, msg); \
warning: | ^~~~~~~~~~~
warning: /build/dev/opencv-rust/src_cpp/ocvrs_common.hpp:27:12: note: in expansion of macro ‘OCVRS_TYPE’
warning: 27 | CODE_CATCH(OCVRS_TYPE(return_type), cv::Exception& e, e.code, e.what()) \
warning: | ^~~~~~~~~~
warning: /target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/stitching.cpp:1859:5: note: in expansion of macro ‘OCVRS_CATCH’
warning: 1859 | } OCVRS_CATCH(OCVRS_TYPE(Result<cv::detail::GraphCutSeamFinderGpu*>))
warning: | ^~~~~~~~~~~
warning: /target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/stitching.cpp:1859:17: note: in expansion of macro ‘OCVRS_TYPE’
warning: 1859 | } OCVRS_CATCH(OCVRS_TYPE(Result<cv::detail::GraphCutSeamFinderGpu*>))
warning: | ^~~~~~~~~~
warning: /target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/stitching.cpp:1859:69: error: template argument 1 is invalid
warning: 1859 | } OCVRS_CATCH(OCVRS_TYPE(Result<cv::detail::GraphCutSeamFinderGpu*>))
warning: | ^
warning: /build/dev/opencv-rust/src_cpp/ocvrs_common.hpp:23:13: note: in definition of macro ‘CODE_CATCH’
warning: 23 | return Err<return_type>(code, msg); \
warning: | ^~~~~~~~~~~
warning: /build/dev/opencv-rust/src_cpp/ocvrs_common.hpp:27:12: note: in expansion of macro ‘OCVRS_TYPE’
warning: 27 | CODE_CATCH(OCVRS_TYPE(return_type), cv::Exception& e, e.code, e.what()) \
warning: | ^~~~~~~~~~
warning: /target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/stitching.cpp:1859:5: note: in expansion of macro ‘OCVRS_CATCH’
warning: 1859 | } OCVRS_CATCH(OCVRS_TYPE(Result<cv::detail::GraphCutSeamFinderGpu*>))
warning: | ^~~~~~~~~~~
warning: /target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/stitching.cpp:1859:17: note: in expansion of macro ‘OCVRS_TYPE’
warning: 1859 | } OCVRS_CATCH(OCVRS_TYPE(Result<cv::detail::GraphCutSeamFinderGpu*>))
warning: | ^~~~~~~~~~
warning: /build/dev/opencv-rust/src_cpp/ocvrs_common.hpp:23:35: error: no matching function for call to ‘Err<<expression error> >(int&, const char*)’
warning: 23 | return Err<return_type>(code, msg); \
warning: | ^
warning: /build/dev/opencv-rust/src_cpp/ocvrs_common.hpp:27:1: note: in expansion of macro ‘CODE_CATCH’
warning: 27 | CODE_CATCH(OCVRS_TYPE(return_type), cv::Exception& e, e.code, e.what()) \
warning: | ^~~~~~~~~~
warning: /target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/stitching.cpp:1859:5: note: in expansion of macro ‘OCVRS_CATCH’
warning: 1859 | } OCVRS_CATCH(OCVRS_TYPE(Result<cv::detail::GraphCutSeamFinderGpu*>))
warning: | ^~~~~~~~~~~
warning: /build/dev/opencv-rust/src_cpp/ocvrs_common.hpp:55:31: note: candidate: ‘template<class T> T Err(int, const char*)’
warning: 55 | template<typename T> inline T Err(int code, const char* msg) {
warning: | ^~~
warning: /build/dev/opencv-rust/src_cpp/ocvrs_common.hpp:55:31: note: template argument deduction/substitution failed:
warning: /build/dev/opencv-rust/src_cpp/ocvrs_common.hpp:23:35: error: template argument 1 is invalid
warning: 23 | return Err<return_type>(code, msg); \
warning: | ^
warning: /build/dev/opencv-rust/src_cpp/ocvrs_common.hpp:27:1: note: in expansion of macro ‘CODE_CATCH’
warning: 27 | CODE_CATCH(OCVRS_TYPE(return_type), cv::Exception& e, e.code, e.what()) \
warning: | ^~~~~~~~~~
warning: /target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/stitching.cpp:1859:5: note: in expansion of macro ‘OCVRS_CATCH’
warning: 1859 | } OCVRS_CATCH(OCVRS_TYPE(Result<cv::detail::GraphCutSeamFinderGpu*>))
warning: | ^~~~~~~~~~~
warning: /target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/stitching.cpp:1859:47: error: ‘GraphCutSeamFinderGpu’ is not a member of ‘cv::detail’; did you mean ‘GraphCutSeamFinder’?
warning: 1859 | } OCVRS_CATCH(OCVRS_TYPE(Result<cv::detail::GraphCutSeamFinderGpu*>))
warning: | ^~~~~~~~~~~~~~~~~~~~~
warning: /build/dev/opencv-rust/src_cpp/ocvrs_common.hpp:23:13: note: in definition of macro ‘CODE_CATCH’
warning: 23 | return Err<return_type>(code, msg); \
warning: | ^~~~~~~~~~~
warning: /build/dev/opencv-rust/src_cpp/ocvrs_common.hpp:28:12: note: in expansion of macro ‘OCVRS_TYPE’
warning: 28 | CODE_CATCH(OCVRS_TYPE(return_type), ..., -99999, "unspecified error in OpenCV guts")
warning: | ^~~~~~~~~~
warning: /target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/stitching.cpp:1859:5: note: in expansion of macro ‘OCVRS_CATCH’
warning: 1859 | } OCVRS_CATCH(OCVRS_TYPE(Result<cv::detail::GraphCutSeamFinderGpu*>))
warning: | ^~~~~~~~~~~
warning: /target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/stitching.cpp:1859:17: note: in expansion of macro ‘OCVRS_TYPE’
warning: 1859 | } OCVRS_CATCH(OCVRS_TYPE(Result<cv::detail::GraphCutSeamFinderGpu*>))
warning: | ^~~~~~~~~~
warning: /target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/stitching.cpp:1859:47: error: ‘GraphCutSeamFinderGpu’ is not a member of ‘cv::detail’; did you mean ‘GraphCutSeamFinder’?
warning: 1859 | } OCVRS_CATCH(OCVRS_TYPE(Result<cv::detail::GraphCutSeamFinderGpu*>))
warning: | ^~~~~~~~~~~~~~~~~~~~~
warning: /build/dev/opencv-rust/src_cpp/ocvrs_common.hpp:23:13: note: in definition of macro ‘CODE_CATCH’
warning: 23 | return Err<return_type>(code, msg); \
warning: | ^~~~~~~~~~~
warning: /build/dev/opencv-rust/src_cpp/ocvrs_common.hpp:28:12: note: in expansion of macro ‘OCVRS_TYPE’
warning: 28 | CODE_CATCH(OCVRS_TYPE(return_type), ..., -99999, "unspecified error in OpenCV guts")
warning: | ^~~~~~~~~~
warning: /target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/stitching.cpp:1859:5: note: in expansion of macro ‘OCVRS_CATCH’
warning: 1859 | } OCVRS_CATCH(OCVRS_TYPE(Result<cv::detail::GraphCutSeamFinderGpu*>))
warning: | ^~~~~~~~~~~
warning: /target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/stitching.cpp:1859:17: note: in expansion of macro ‘OCVRS_TYPE’
warning: 1859 | } OCVRS_CATCH(OCVRS_TYPE(Result<cv::detail::GraphCutSeamFinderGpu*>))
warning: | ^~~~~~~~~~
warning: /target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/stitching.cpp:1859:69: error: template argument 1 is invalid
warning: 1859 | } OCVRS_CATCH(OCVRS_TYPE(Result<cv::detail::GraphCutSeamFinderGpu*>))
warning: | ^
warning: /build/dev/opencv-rust/src_cpp/ocvrs_common.hpp:23:13: note: in definition of macro ‘CODE_CATCH’
warning: 23 | return Err<return_type>(code, msg); \
warning: | ^~~~~~~~~~~
warning: /build/dev/opencv-rust/src_cpp/ocvrs_common.hpp:28:12: note: in expansion of macro ‘OCVRS_TYPE’
warning: 28 | CODE_CATCH(OCVRS_TYPE(return_type), ..., -99999, "unspecified error in OpenCV guts")
warning: | ^~~~~~~~~~
warning: /target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/stitching.cpp:1859:5: note: in expansion of macro ‘OCVRS_CATCH’
warning: 1859 | } OCVRS_CATCH(OCVRS_TYPE(Result<cv::detail::GraphCutSeamFinderGpu*>))
warning: | ^~~~~~~~~~~
warning: /target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/stitching.cpp:1859:17: note: in expansion of macro ‘OCVRS_TYPE’
warning: 1859 | } OCVRS_CATCH(OCVRS_TYPE(Result<cv::detail::GraphCutSeamFinderGpu*>))
warning: | ^~~~~~~~~~
warning: /build/dev/opencv-rust/src_cpp/ocvrs_common.hpp:23:35: error: no matching function for call to ‘Err<<expression error> >(int, const char [33])’
warning: 23 | return Err<return_type>(code, msg); \
warning: | ^
warning: /build/dev/opencv-rust/src_cpp/ocvrs_common.hpp:28:1: note: in expansion of macro ‘CODE_CATCH’
warning: 28 | CODE_CATCH(OCVRS_TYPE(return_type), ..., -99999, "unspecified error in OpenCV guts")
warning: | ^~~~~~~~~~
warning: /target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/stitching.cpp:1859:5: note: in expansion of macro ‘OCVRS_CATCH’
warning: 1859 | } OCVRS_CATCH(OCVRS_TYPE(Result<cv::detail::GraphCutSeamFinderGpu*>))
warning: | ^~~~~~~~~~~
warning: /build/dev/opencv-rust/src_cpp/ocvrs_common.hpp:55:31: note: candidate: ‘template<class T> T Err(int, const char*)’
warning: 55 | template<typename T> inline T Err(int code, const char* msg) {
warning: | ^~~
warning: /build/dev/opencv-rust/src_cpp/ocvrs_common.hpp:55:31: note: template argument deduction/substitution failed:
warning: /build/dev/opencv-rust/src_cpp/ocvrs_common.hpp:23:35: error: template argument 1 is invalid
warning: 23 | return Err<return_type>(code, msg); \
warning: | ^
warning: /build/dev/opencv-rust/src_cpp/ocvrs_common.hpp:28:1: note: in expansion of macro ‘CODE_CATCH’
warning: 28 | CODE_CATCH(OCVRS_TYPE(return_type), ..., -99999, "unspecified error in OpenCV guts")
warning: | ^~~~~~~~~~
warning: /target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/stitching.cpp:1859:5: note: in expansion of macro ‘OCVRS_CATCH’
warning: 1859 | } OCVRS_CATCH(OCVRS_TYPE(Result<cv::detail::GraphCutSeamFinderGpu*>))
warning: | ^~~~~~~~~~~
warning: /target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/stitching.cpp:1855:119: warning: unused parameter ‘cost_type’ [-Wunused-parameter]
warning: 1855 | Result<cv::detail::GraphCutSeamFinderGpu*> cv_detail_GraphCutSeamFinderGpu_GraphCutSeamFinderGpu_int_float_float(int cost_type, float terminal_cost, float bad_region_penalty) {
warning: | ~~~~^~~~~~~~~
warning: /target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/stitching.cpp:1855:136: warning: unused parameter ‘terminal_cost’ [-Wunused-parameter]
warning: 1855 | Result<cv::detail::GraphCutSeamFinderGpu*> cv_detail_GraphCutSeamFinderGpu_GraphCutSeamFinderGpu_int_float_float(int cost_type, float terminal_cost, float bad_region_penalty) {
warning: | ~~~~~~^~~~~~~~~~~~~
warning: /target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/stitching.cpp:1855:157: warning: unused parameter ‘bad_region_penalty’ [-Wunused-parameter]
warning: 1855 | Result<cv::detail::GraphCutSeamFinderGpu*> cv_detail_GraphCutSeamFinderGpu_GraphCutSeamFinderGpu_int_float_float(int cost_type, float terminal_cost, float bad_region_penalty) {
warning: | ~~~~~~^~~~~~~~~~~~~~~~~~
warning: /target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/stitching.cpp: At global scope:
warning: /target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/stitching.cpp:1862:118: error: ‘GraphCutSeamFinderGpu’ is not a member of ‘cv::detail’; did you mean ‘GraphCutSeamFinder’?
warning: 1862 | Result_void cv_detail_GraphCutSeamFinderGpu_find_const_vector_UMat_R_const_vector_Point_R_vector_UMat_R(cv::detail::GraphCutSeamFinderGpu* instance, const std::vector<cv::UMat>* src, const std::vector<cv::Point>* corners, std::vector<cv::UMat>* masks) {
warning: | ^~~~~~~~~~~~~~~~~~~~~
warning: | GraphCutSeamFinder
warning: /target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/stitching.cpp:1862:141: error: ‘instance’ was not declared in this scope
warning: 1862 | Result_void cv_detail_GraphCutSeamFinderGpu_find_const_vector_UMat_R_const_vector_Point_R_vector_UMat_R(cv::detail::GraphCutSeamFinderGpu* instance, const std::vector<cv::UMat>* src, const std::vector<cv::Point>* corners, std::vector<cv::UMat>* masks) {
warning: | ^~~~~~~~
warning: /target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/stitching.cpp:1862:151: error: expected primary-expression before ‘const’
warning: 1862 | Result_void cv_detail_GraphCutSeamFinderGpu_find_const_vector_UMat_R_const_vector_Point_R_vector_UMat_R(cv::detail::GraphCutSeamFinderGpu* instance, const std::vector<cv::UMat>* src, const std::vector<cv::Point>* corners, std::vector<cv::UMat>* masks) {
warning: | ^~~~~
warning: /target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/stitching.cpp:1862:185: error: expected primary-expression before ‘const’
warning: 1862 | Result_void cv_detail_GraphCutSeamFinderGpu_find_const_vector_UMat_R_const_vector_Point_R_vector_UMat_R(cv::detail::GraphCutSeamFinderGpu* instance, const std::vector<cv::UMat>* src, const std::vector<cv::Point>* corners, std::vector<cv::UMat>* masks) {
warning: | ^~~~~
warning: /target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/stitching.cpp:1862:245: error: expected primary-expression before ‘*’ token
warning: 1862 | Result_void cv_detail_GraphCutSeamFinderGpu_find_const_vector_UMat_R_const_vector_Point_R_vector_UMat_R(cv::detail::GraphCutSeamFinderGpu* instance, const std::vector<cv::UMat>* src, const std::vector<cv::Point>* corners, std::vector<cv::UMat>* masks) {
warning: | ^
warning: /target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/stitching.cpp:1862:247: error: ‘masks’ was not declared in this scope
warning: 1862 | Result_void cv_detail_GraphCutSeamFinderGpu_find_const_vector_UMat_R_const_vector_Point_R_vector_UMat_R(cv::detail::GraphCutSeamFinderGpu* instance, const std::vector<cv::UMat>* src, const std::vector<cv::Point>* corners, std::vector<cv::UMat>* masks) {
warning: | ^~~~~
warning: /target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/stitching.cpp:1862:254: error: expected ‘,’ or ‘;’ before ‘{’ token
warning: 1862 | Result_void cv_detail_GraphCutSeamFinderGpu_find_const_vector_UMat_R_const_vector_Point_R_vector_UMat_R(cv::detail::GraphCutSeamFinderGpu* instance, const std::vector<cv::UMat>* src, const std::vector<cv::Point>* corners, std::vector<cv::UMat>* masks) {
warning: | ^
warning: /target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/stitching.cpp:1869:88: error: ‘GraphCutSeamFinderGpu’ is not a member of ‘cv::detail’; did you mean ‘GraphCutSeamFinder’?
warning: 1869 | Result_void cv_detail_GraphCutSeamFinderGpu_findInPair_size_t_size_t_Rect(cv::detail::GraphCutSeamFinderGpu* instance, size_t first, size_t second, cv::Rect* roi) {
warning: | ^~~~~~~~~~~~~~~~~~~~~
warning: | GraphCutSeamFinder
warning: /target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/stitching.cpp:1869:111: error: ‘instance’ was not declared in this scope
warning: 1869 | Result_void cv_detail_GraphCutSeamFinderGpu_findInPair_size_t_size_t_Rect(cv::detail::GraphCutSeamFinderGpu* instance, size_t first, size_t second, cv::Rect* roi) {
warning: | ^~~~~~~~
warning: /target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/stitching.cpp:1869:128: error: expected primary-expression before ‘first’
warning: 1869 | Result_void cv_detail_GraphCutSeamFinderGpu_findInPair_size_t_size_t_Rect(cv::detail::GraphCutSeamFinderGpu* instance, size_t first, size_t second, cv::Rect* roi) {
warning: | ^~~~~
warning: /target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/stitching.cpp:1869:142: error: expected primary-expression before ‘second’
warning: 1869 | Result_void cv_detail_GraphCutSeamFinderGpu_findInPair_size_t_size_t_Rect(cv::detail::GraphCutSeamFinderGpu* instance, size_t first, size_t second, cv::Rect* roi) {
warning: | ^~~~~~
warning: /target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/stitching.cpp:1869:158: error: expected primary-expression before ‘*’ token
warning: 1869 | Result_void cv_detail_GraphCutSeamFinderGpu_findInPair_size_t_size_t_Rect(cv::detail::GraphCutSeamFinderGpu* instance, size_t first, size_t second, cv::Rect* roi) {
warning: | ^
warning: /target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/stitching.cpp:1869:160: error: ‘roi’ was not declared in this scope
warning: 1869 | Result_void cv_detail_GraphCutSeamFinderGpu_findInPair_size_t_size_t_Rect(cv::detail::GraphCutSeamFinderGpu* instance, size_t first, size_t second, cv::Rect* roi) {
warning: | ^~~
warning: /target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/stitching.cpp:1869:165: error: expected ‘,’ or ‘;’ before ‘{’ token
warning: 1869 | Result_void cv_detail_GraphCutSeamFinderGpu_findInPair_size_t_size_t_Rect(cv::detail::GraphCutSeamFinderGpu* instance, size_t first, size_t second, cv::Rect* roi) {
warning: | ^
warning: cc1plus: note: unrecognized command-line option ‘-Wno-return-type-c-linkage’ may have been intended to silence earlier diagnostics
warning: /target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/viz.cpp:2:10: fatal error: opencv2/viz.hpp: No such file or directory
warning: 2 | #include <opencv2/viz.hpp>
warning: | ^~~~~~~~~~~~~~~~~
warning: compilation terminated.
warning: /target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/viz.cpp:2:10: fatal error: opencv2/viz.hpp: No such file or directory
warning: 2 | #include <opencv2/viz.hpp>
warning: | ^~~~~~~~~~~~~~~~~
warning: compilation terminated.
warning: In file included from /target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/stitching.cpp:3:
warning: /target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/stitching_types.hpp:64:36: error: ‘GraphCutSeamFinderGpu’ is not a member of ‘cv::detail’; did you mean ‘GraphCutSeamFinder’?
warning: 64 | template struct Result<cv::detail::GraphCutSeamFinderGpu*>;
warning: | ^~~~~~~~~~~~~~~~~~~~~
warning: | GraphCutSeamFinder
warning: /target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/stitching_types.hpp:64:36: error: ‘GraphCutSeamFinderGpu’ is not a member of ‘cv::detail’; did you mean ‘GraphCutSeamFinder’?
warning: 64 | template struct Result<cv::detail::GraphCutSeamFinderGpu*>;
warning: | ^~~~~~~~~~~~~~~~~~~~~
warning: | GraphCutSeamFinder
warning: /target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/stitching_types.hpp:64:58: error: template argument 1 is invalid
warning: 64 | template struct Result<cv::detail::GraphCutSeamFinderGpu*>;
warning: | ^
warning: /target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/stitching.cpp:1852:7: error: variable or field ‘cv_Detail_GraphCutSeamFinderGpu_delete’ declared void
warning: 1852 | void cv_Detail_GraphCutSeamFinderGpu_delete(cv::detail::GraphCutSeamFinderGpu* instance) {
warning: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
warning: /target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/stitching.cpp:1852:58: error: ‘GraphCutSeamFinderGpu’ is not a member of ‘cv::detail’; did you mean ‘GraphCutSeamFinder’?
warning: 1852 | void cv_Detail_GraphCutSeamFinderGpu_delete(cv::detail::GraphCutSeamFinderGpu* instance) {
warning: | ^~~~~~~~~~~~~~~~~~~~~
warning: | GraphCutSeamFinder
warning: /target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/stitching.cpp:1852:81: error: ‘instance’ was not declared in this scope
warning: 1852 | void cv_Detail_GraphCutSeamFinderGpu_delete(cv::detail::GraphCutSeamFinderGpu* instance) {
warning: | ^~~~~~~~
warning: /target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/stitching.cpp:1855:21: error: ‘GraphCutSeamFinderGpu’ is not a member of ‘cv::detail’; did you mean ‘GraphCutSeamFinder’?
warning: 1855 | Result<cv::detail::GraphCutSeamFinderGpu*> cv_detail_GraphCutSeamFinderGpu_GraphCutSeamFinderGpu_int_float_float(int cost_type, float terminal_cost, float bad_region_penalty) {
warning: | ^~~~~~~~~~~~~~~~~~~~~
warning: | GraphCutSeamFinder
warning: /target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/stitching.cpp:1855:21: error: ‘GraphCutSeamFinderGpu’ is not a member of ‘cv::detail’; did you mean ‘GraphCutSeamFinder’?
warning: 1855 | Result<cv::detail::GraphCutSeamFinderGpu*> cv_detail_GraphCutSeamFinderGpu_GraphCutSeamFinderGpu_int_float_float(int cost_type, float terminal_cost, float bad_region_penalty) {
warning: | ^~~~~~~~~~~~~~~~~~~~~
warning: | GraphCutSeamFinder
warning: /target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/stitching.cpp:1855:43: error: template argument 1 is invalid
warning: 1855 | Result<cv::detail::GraphCutSeamFinderGpu*> cv_detail_GraphCutSeamFinderGpu_GraphCutSeamFinderGpu_int_float_float(int cost_type, float terminal_cost, float bad_region_penalty) {
warning: | ^
warning: /target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/stitching.cpp: In function ‘int cv_detail_GraphCutSeamFinderGpu_GraphCutSeamFinderGpu_int_float_float(int, float, float)’:
warning: /target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/stitching.cpp:1857:16: error: ‘GraphCutSeamFinderGpu’ is not a member of ‘cv::detail’; did you mean ‘GraphCutSeamFinder’?
warning: 1857 | cv::detail::GraphCutSeamFinderGpu* ret = new cv::detail::GraphCutSeamFinderGpu(cost_type, terminal_cost, bad_region_penalty);
warning: | ^~~~~~~~~~~~~~~~~~~~~
warning: | GraphCutSeamFinder
warning: /target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/stitching.cpp:1857:39: error: ‘ret’ was not declared in this scope
warning: 1857 | cv::detail::GraphCutSeamFinderGpu* ret = new cv::detail::GraphCutSeamFinderGpu(cost_type, terminal_cost, bad_region_penalty);
warning: | ^~~
warning: /target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/stitching.cpp:1857:49: error: expected type-specifier
warning: 1857 | cv::detail::GraphCutSeamFinderGpu* ret = new cv::detail::GraphCutSeamFinderGpu(cost_type, terminal_cost, bad_region_penalty);
warning: | ^~
warning: /target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/stitching.cpp:1858:26: error: ‘GraphCutSeamFinderGpu’ is not a member of ‘cv::detail’; did you mean ‘GraphCutSeamFinder’?
warning: 1858 | return Ok<cv::detail::GraphCutSeamFinderGpu*>(ret);
warning: | ^~~~~~~~~~~~~~~~~~~~~
warning: | GraphCutSeamFinder
warning: /target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/stitching.cpp:1858:26: error: ‘GraphCutSeamFinderGpu’ is not a member of ‘cv::detail’; did you mean ‘GraphCutSeamFinder’?
warning: 1858 | return Ok<cv::detail::GraphCutSeamFinderGpu*>(ret);
warning: | ^~~~~~~~~~~~~~~~~~~~~
warning: | GraphCutSeamFinder
warning: /target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/stitching.cpp:1858:11: error: parse error in template argument list
warning: 1858 | return Ok<cv::detail::GraphCutSeamFinderGpu*>(ret);
warning: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
warning: In file included from /target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/stitching.cpp:1:
warning: /target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/stitching.cpp:1859:47: error: ‘GraphCutSeamFinderGpu’ is not a member of ‘cv::detail’; did you mean ‘GraphCutSeamFinder’?
warning: 1859 | } OCVRS_CATCH(OCVRS_TYPE(Result<cv::detail::GraphCutSeamFinderGpu*>))
warning: | ^~~~~~~~~~~~~~~~~~~~~
warning: /build/dev/opencv-rust/src_cpp/ocvrs_common.hpp:23:13: note: in definition of macro ‘CODE_CATCH’
warning: 23 | return Err<return_type>(code, msg); \
warning: | ^~~~~~~~~~~
warning: /build/dev/opencv-rust/src_cpp/ocvrs_common.hpp:27:12: note: in expansion of macro ‘OCVRS_TYPE’
warning: 27 | CODE_CATCH(OCVRS_TYPE(return_type), cv::Exception& e, e.code, e.what()) \
warning: | ^~~~~~~~~~
warning: /target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/stitching.cpp:1859:5: note: in expansion of macro ‘OCVRS_CATCH’
warning: 1859 | } OCVRS_CATCH(OCVRS_TYPE(Result<cv::detail::GraphCutSeamFinderGpu*>))
warning: | ^~~~~~~~~~~
warning: /target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/stitching.cpp:1859:17: note: in expansion of macro ‘OCVRS_TYPE’
warning: 1859 | } OCVRS_CATCH(OCVRS_TYPE(Result<cv::detail::GraphCutSeamFinderGpu*>))
warning: | ^~~~~~~~~~
warning: /target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/stitching.cpp:1859:47: error: ‘GraphCutSeamFinderGpu’ is not a member of ‘cv::detail’; did you mean ‘GraphCutSeamFinder’?
warning: 1859 | } OCVRS_CATCH(OCVRS_TYPE(Result<cv::detail::GraphCutSeamFinderGpu*>))
warning: | ^~~~~~~~~~~~~~~~~~~~~
warning: /build/dev/opencv-rust/src_cpp/ocvrs_common.hpp:23:13: note: in definition of macro ‘CODE_CATCH’
warning: 23 | return Err<return_type>(code, msg); \
warning: | ^~~~~~~~~~~
warning: /build/dev/opencv-rust/src_cpp/ocvrs_common.hpp:27:12: note: in expansion of macro ‘OCVRS_TYPE’
warning: 27 | CODE_CATCH(OCVRS_TYPE(return_type), cv::Exception& e, e.code, e.what()) \
warning: | ^~~~~~~~~~
warning: /target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/stitching.cpp:1859:5: note: in expansion of macro ‘OCVRS_CATCH’
warning: 1859 | } OCVRS_CATCH(OCVRS_TYPE(Result<cv::detail::GraphCutSeamFinderGpu*>))
warning: | ^~~~~~~~~~~
warning: /target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/stitching.cpp:1859:17: note: in expansion of macro ‘OCVRS_TYPE’
warning: 1859 | } OCVRS_CATCH(OCVRS_TYPE(Result<cv::detail::GraphCutSeamFinderGpu*>))
warning: | ^~~~~~~~~~
warning: /target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/stitching.cpp:1859:69: error: template argument 1 is invalid
warning: 1859 | } OCVRS_CATCH(OCVRS_TYPE(Result<cv::detail::GraphCutSeamFinderGpu*>))
warning: | ^
warning: /build/dev/opencv-rust/src_cpp/ocvrs_common.hpp:23:13: note: in definition of macro ‘CODE_CATCH’
warning: 23 | return Err<return_type>(code, msg); \
warning: | ^~~~~~~~~~~
warning: /build/dev/opencv-rust/src_cpp/ocvrs_common.hpp:27:12: note: in expansion of macro ‘OCVRS_TYPE’
warning: 27 | CODE_CATCH(OCVRS_TYPE(return_type), cv::Exception& e, e.code, e.what()) \
warning: | ^~~~~~~~~~
warning: /target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/stitching.cpp:1859:5: note: in expansion of macro ‘OCVRS_CATCH’
warning: 1859 | } OCVRS_CATCH(OCVRS_TYPE(Result<cv::detail::GraphCutSeamFinderGpu*>))
warning: | ^~~~~~~~~~~
warning: /target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/stitching.cpp:1859:17: note: in expansion of macro ‘OCVRS_TYPE’
warning: 1859 | } OCVRS_CATCH(OCVRS_TYPE(Result<cv::detail::GraphCutSeamFinderGpu*>))
warning: | ^~~~~~~~~~
warning: /build/dev/opencv-rust/src_cpp/ocvrs_common.hpp:23:35: error: no matching function for call to ‘Err<<expression error> >(int&, const char*)’
warning: 23 | return Err<return_type>(code, msg); \
warning: | ^
warning: /build/dev/opencv-rust/src_cpp/ocvrs_common.hpp:27:1: note: in expansion of macro ‘CODE_CATCH’
warning: 27 | CODE_CATCH(OCVRS_TYPE(return_type), cv::Exception& e, e.code, e.what()) \
warning: | ^~~~~~~~~~
warning: /target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/stitching.cpp:1859:5: note: in expansion of macro ‘OCVRS_CATCH’
warning: 1859 | } OCVRS_CATCH(OCVRS_TYPE(Result<cv::detail::GraphCutSeamFinderGpu*>))
warning: | ^~~~~~~~~~~
warning: /build/dev/opencv-rust/src_cpp/ocvrs_common.hpp:55:31: note: candidate: ‘template<class T> T Err(int, const char*)’
warning: 55 | template<typename T> inline T Err(int code, const char* msg) {
warning: | ^~~
warning: /build/dev/opencv-rust/src_cpp/ocvrs_common.hpp:55:31: note: template argument deduction/substitution failed:
warning: /build/dev/opencv-rust/src_cpp/ocvrs_common.hpp:23:35: error: template argument 1 is invalid
warning: 23 | return Err<return_type>(code, msg); \
warning: | ^
warning: /build/dev/opencv-rust/src_cpp/ocvrs_common.hpp:27:1: note: in expansion of macro ‘CODE_CATCH’
warning: 27 | CODE_CATCH(OCVRS_TYPE(return_type), cv::Exception& e, e.code, e.what()) \
warning: | ^~~~~~~~~~
warning: /target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/stitching.cpp:1859:5: note: in expansion of macro ‘OCVRS_CATCH’
warning: 1859 | } OCVRS_CATCH(OCVRS_TYPE(Result<cv::detail::GraphCutSeamFinderGpu*>))
warning: | ^~~~~~~~~~~
warning: /target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/stitching.cpp:1859:47: error: ‘GraphCutSeamFinderGpu’ is not a member of ‘cv::detail’; did you mean ‘GraphCutSeamFinder’?
warning: 1859 | } OCVRS_CATCH(OCVRS_TYPE(Result<cv::detail::GraphCutSeamFinderGpu*>))
warning: | ^~~~~~~~~~~~~~~~~~~~~
warning: /build/dev/opencv-rust/src_cpp/ocvrs_common.hpp:23:13: note: in definition of macro ‘CODE_CATCH’
warning: 23 | return Err<return_type>(code, msg); \
warning: | ^~~~~~~~~~~
warning: /build/dev/opencv-rust/src_cpp/ocvrs_common.hpp:28:12: note: in expansion of macro ‘OCVRS_TYPE’
warning: 28 | CODE_CATCH(OCVRS_TYPE(return_type), ..., -99999, "unspecified error in OpenCV guts")
warning: | ^~~~~~~~~~
warning: /target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/stitching.cpp:1859:5: note: in expansion of macro ‘OCVRS_CATCH’
warning: 1859 | } OCVRS_CATCH(OCVRS_TYPE(Result<cv::detail::GraphCutSeamFinderGpu*>))
warning: | ^~~~~~~~~~~
warning: /target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/stitching.cpp:1859:17: note: in expansion of macro ‘OCVRS_TYPE’
warning: 1859 | } OCVRS_CATCH(OCVRS_TYPE(Result<cv::detail::GraphCutSeamFinderGpu*>))
warning: | ^~~~~~~~~~
warning: /target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/stitching.cpp:1859:47: error: ‘GraphCutSeamFinderGpu’ is not a member of ‘cv::detail’; did you mean ‘GraphCutSeamFinder’?
warning: 1859 | } OCVRS_CATCH(OCVRS_TYPE(Result<cv::detail::GraphCutSeamFinderGpu*>))
warning: | ^~~~~~~~~~~~~~~~~~~~~
warning: /build/dev/opencv-rust/src_cpp/ocvrs_common.hpp:23:13: note: in definition of macro ‘CODE_CATCH’
warning: 23 | return Err<return_type>(code, msg); \
warning: | ^~~~~~~~~~~
warning: /build/dev/opencv-rust/src_cpp/ocvrs_common.hpp:28:12: note: in expansion of macro ‘OCVRS_TYPE’
warning: 28 | CODE_CATCH(OCVRS_TYPE(return_type), ..., -99999, "unspecified error in OpenCV guts")
warning: | ^~~~~~~~~~
warning: /target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/stitching.cpp:1859:5: note: in expansion of macro ‘OCVRS_CATCH’
warning: 1859 | } OCVRS_CATCH(OCVRS_TYPE(Result<cv::detail::GraphCutSeamFinderGpu*>))
warning: | ^~~~~~~~~~~
warning: /target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/stitching.cpp:1859:17: note: in expansion of macro ‘OCVRS_TYPE’
warning: 1859 | } OCVRS_CATCH(OCVRS_TYPE(Result<cv::detail::GraphCutSeamFinderGpu*>))
warning: | ^~~~~~~~~~
warning: /target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/stitching.cpp:1859:69: error: template argument 1 is invalid
warning: 1859 | } OCVRS_CATCH(OCVRS_TYPE(Result<cv::detail::GraphCutSeamFinderGpu*>))
warning: | ^
warning: /build/dev/opencv-rust/src_cpp/ocvrs_common.hpp:23:13: note: in definition of macro ‘CODE_CATCH’
warning: 23 | return Err<return_type>(code, msg); \
warning: | ^~~~~~~~~~~
warning: /build/dev/opencv-rust/src_cpp/ocvrs_common.hpp:28:12: note: in expansion of macro ‘OCVRS_TYPE’
warning: 28 | CODE_CATCH(OCVRS_TYPE(return_type), ..., -99999, "unspecified error in OpenCV guts")
warning: | ^~~~~~~~~~
warning: /target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/stitching.cpp:1859:5: note: in expansion of macro ‘OCVRS_CATCH’
warning: 1859 | } OCVRS_CATCH(OCVRS_TYPE(Result<cv::detail::GraphCutSeamFinderGpu*>))
warning: | ^~~~~~~~~~~
warning: /target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/stitching.cpp:1859:17: note: in expansion of macro ‘OCVRS_TYPE’
warning: 1859 | } OCVRS_CATCH(OCVRS_TYPE(Result<cv::detail::GraphCutSeamFinderGpu*>))
warning: | ^~~~~~~~~~
warning: /build/dev/opencv-rust/src_cpp/ocvrs_common.hpp:23:35: error: no matching function for call to ‘Err<<expression error> >(int, const char [33])’
warning: 23 | return Err<return_type>(code, msg); \
warning: | ^
warning: /build/dev/opencv-rust/src_cpp/ocvrs_common.hpp:28:1: note: in expansion of macro ‘CODE_CATCH’
warning: 28 | CODE_CATCH(OCVRS_TYPE(return_type), ..., -99999, "unspecified error in OpenCV guts")
warning: | ^~~~~~~~~~
warning: /target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/stitching.cpp:1859:5: note: in expansion of macro ‘OCVRS_CATCH’
warning: 1859 | } OCVRS_CATCH(OCVRS_TYPE(Result<cv::detail::GraphCutSeamFinderGpu*>))
warning: | ^~~~~~~~~~~
warning: /build/dev/opencv-rust/src_cpp/ocvrs_common.hpp:55:31: note: candidate: ‘template<class T> T Err(int, const char*)’
warning: 55 | template<typename T> inline T Err(int code, const char* msg) {
warning: | ^~~
warning: /build/dev/opencv-rust/src_cpp/ocvrs_common.hpp:55:31: note: template argument deduction/substitution failed:
warning: /build/dev/opencv-rust/src_cpp/ocvrs_common.hpp:23:35: error: template argument 1 is invalid
warning: 23 | return Err<return_type>(code, msg); \
warning: | ^
warning: /build/dev/opencv-rust/src_cpp/ocvrs_common.hpp:28:1: note: in expansion of macro ‘CODE_CATCH’
warning: 28 | CODE_CATCH(OCVRS_TYPE(return_type), ..., -99999, "unspecified error in OpenCV guts")
warning: | ^~~~~~~~~~
warning: /target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/stitching.cpp:1859:5: note: in expansion of macro ‘OCVRS_CATCH’
warning: 1859 | } OCVRS_CATCH(OCVRS_TYPE(Result<cv::detail::GraphCutSeamFinderGpu*>))
warning: | ^~~~~~~~~~~
warning: /target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/stitching.cpp:1855:119: warning: unused parameter ‘cost_type’ [-Wunused-parameter]
warning: 1855 | Result<cv::detail::GraphCutSeamFinderGpu*> cv_detail_GraphCutSeamFinderGpu_GraphCutSeamFinderGpu_int_float_float(int cost_type, float terminal_cost, float bad_region_penalty) {
warning: | ~~~~^~~~~~~~~
warning: /target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/stitching.cpp:1855:136: warning: unused parameter ‘terminal_cost’ [-Wunused-parameter]
warning: 1855 | Result<cv::detail::GraphCutSeamFinderGpu*> cv_detail_GraphCutSeamFinderGpu_GraphCutSeamFinderGpu_int_float_float(int cost_type, float terminal_cost, float bad_region_penalty) {
warning: | ~~~~~~^~~~~~~~~~~~~
warning: /target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/stitching.cpp:1855:157: warning: unused parameter ‘bad_region_penalty’ [-Wunused-parameter]
warning: 1855 | Result<cv::detail::GraphCutSeamFinderGpu*> cv_detail_GraphCutSeamFinderGpu_GraphCutSeamFinderGpu_int_float_float(int cost_type, float terminal_cost, float bad_region_penalty) {
warning: | ~~~~~~^~~~~~~~~~~~~~~~~~
warning: /target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/stitching.cpp: At global scope:
warning: /target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/stitching.cpp:1862:118: error: ‘GraphCutSeamFinderGpu’ is not a member of ‘cv::detail’; did you mean ‘GraphCutSeamFinder’?
warning: 1862 | Result_void cv_detail_GraphCutSeamFinderGpu_find_const_vector_UMat_R_const_vector_Point_R_vector_UMat_R(cv::detail::GraphCutSeamFinderGpu* instance, const std::vector<cv::UMat>* src, const std::vector<cv::Point>* corners, std::vector<cv::UMat>* masks) {
warning: | ^~~~~~~~~~~~~~~~~~~~~
warning: | GraphCutSeamFinder
warning: /target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/stitching.cpp:1862:141: error: ‘instance’ was not declared in this scope
warning: 1862 | Result_void cv_detail_GraphCutSeamFinderGpu_find_const_vector_UMat_R_const_vector_Point_R_vector_UMat_R(cv::detail::GraphCutSeamFinderGpu* instance, const std::vector<cv::UMat>* src, const std::vector<cv::Point>* corners, std::vector<cv::UMat>* masks) {
warning: | ^~~~~~~~
warning: /target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/stitching.cpp:1862:151: error: expected primary-expression before ‘const’
warning: 1862 | Result_void cv_detail_GraphCutSeamFinderGpu_find_const_vector_UMat_R_const_vector_Point_R_vector_UMat_R(cv::detail::GraphCutSeamFinderGpu* instance, const std::vector<cv::UMat>* src, const std::vector<cv::Point>* corners, std::vector<cv::UMat>* masks) {
warning: | ^~~~~
warning: /target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/stitching.cpp:1862:185: error: expected primary-expression before ‘const’
warning: 1862 | Result_void cv_detail_GraphCutSeamFinderGpu_find_const_vector_UMat_R_const_vector_Point_R_vector_UMat_R(cv::detail::GraphCutSeamFinderGpu* instance, const std::vector<cv::UMat>* src, const std::vector<cv::Point>* corners, std::vector<cv::UMat>* masks) {
warning: | ^~~~~
warning: /target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/stitching.cpp:1862:245: error: expected primary-expression before ‘*’ token
warning: 1862 | Result_void cv_detail_GraphCutSeamFinderGpu_find_const_vector_UMat_R_const_vector_Point_R_vector_UMat_R(cv::detail::GraphCutSeamFinderGpu* instance, const std::vector<cv::UMat>* src, const std::vector<cv::Point>* corners, std::vector<cv::UMat>* masks) {
warning: | ^
warning: /target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/stitching.cpp:1862:247: error: ‘masks’ was not declared in this scope
warning: 1862 | Result_void cv_detail_GraphCutSeamFinderGpu_find_const_vector_UMat_R_const_vector_Point_R_vector_UMat_R(cv::detail::GraphCutSeamFinderGpu* instance, const std::vector<cv::UMat>* src, const std::vector<cv::Point>* corners, std::vector<cv::UMat>* masks) {
warning: | ^~~~~
warning: /target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/stitching.cpp:1862:254: error: expected ‘,’ or ‘;’ before ‘{’ token
warning: 1862 | Result_void cv_detail_GraphCutSeamFinderGpu_find_const_vector_UMat_R_const_vector_Point_R_vector_UMat_R(cv::detail::GraphCutSeamFinderGpu* instance, const std::vector<cv::UMat>* src, const std::vector<cv::Point>* corners, std::vector<cv::UMat>* masks) {
warning: | ^
warning: /target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/stitching.cpp:1869:88: error: ‘GraphCutSeamFinderGpu’ is not a member of ‘cv::detail’; did you mean ‘GraphCutSeamFinder’?
warning: 1869 | Result_void cv_detail_GraphCutSeamFinderGpu_findInPair_size_t_size_t_Rect(cv::detail::GraphCutSeamFinderGpu* instance, size_t first, size_t second, cv::Rect* roi) {
warning: | ^~~~~~~~~~~~~~~~~~~~~
warning: | GraphCutSeamFinder
warning: /target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/stitching.cpp:1869:111: error: ‘instance’ was not declared in this scope
warning: 1869 | Result_void cv_detail_GraphCutSeamFinderGpu_findInPair_size_t_size_t_Rect(cv::detail::GraphCutSeamFinderGpu* instance, size_t first, size_t second, cv::Rect* roi) {
warning: | ^~~~~~~~
warning: /target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/stitching.cpp:1869:128: error: expected primary-expression before ‘first’
warning: 1869 | Result_void cv_detail_GraphCutSeamFinderGpu_findInPair_size_t_size_t_Rect(cv::detail::GraphCutSeamFinderGpu* instance, size_t first, size_t second, cv::Rect* roi) {
warning: | ^~~~~
warning: /target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/stitching.cpp:1869:142: error: expected primary-expression before ‘second’
warning: 1869 | Result_void cv_detail_GraphCutSeamFinderGpu_findInPair_size_t_size_t_Rect(cv::detail::GraphCutSeamFinderGpu* instance, size_t first, size_t second, cv::Rect* roi) {
warning: | ^~~~~~
warning: /target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/stitching.cpp:1869:158: error: expected primary-expression before ‘*’ token
warning: 1869 | Result_void cv_detail_GraphCutSeamFinderGpu_findInPair_size_t_size_t_Rect(cv::detail::GraphCutSeamFinderGpu* instance, size_t first, size_t second, cv::Rect* roi) {
warning: | ^
warning: /target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/stitching.cpp:1869:160: error: ‘roi’ was not declared in this scope
warning: 1869 | Result_void cv_detail_GraphCutSeamFinderGpu_findInPair_size_t_size_t_Rect(cv::detail::GraphCutSeamFinderGpu* instance, size_t first, size_t second, cv::Rect* roi) {
warning: | ^~~
warning: /target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/stitching.cpp:1869:165: error: expected ‘,’ or ‘;’ before ‘{’ token
warning: 1869 | Result_void cv_detail_GraphCutSeamFinderGpu_findInPair_size_t_size_t_Rect(cv::detail::GraphCutSeamFinderGpu* instance, size_t first, size_t second, cv::Rect* roi) {
warning: | ^
warning: cc1plus: note: unrecognized command-line option ‘-Wno-return-type-c-linkage’ may have been intended to silence earlier diagnostics
error: failed to run custom build command for `opencv v0.47.0 (/build/dev/opencv-rust)`
Caused by:
process didn't exit successfully: `/target/debug/build/opencv-c7ef7ff91969b993/build-script-build` (exit code: 1)
--- stdout
cargo:rerun-if-env-changed=OPENCV4_NO_PKG_CONFIG
cargo:rerun-if-env-changed=PKG_CONFIG
cargo:rerun-if-env-changed=OPENCV4_STATIC
cargo:rerun-if-env-changed=OPENCV4_DYNAMIC
cargo:rerun-if-env-changed=PKG_CONFIG_ALL_STATIC
cargo:rerun-if-env-changed=PKG_CONFIG_ALL_DYNAMIC
cargo:rerun-if-env-changed=PKG_CONFIG_PATH_x86_64-unknown-linux-gnu
cargo:rerun-if-env-changed=PKG_CONFIG_PATH_x86_64_unknown_linux_gnu
cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_x86_64-unknown-linux-gnu
cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_x86_64_unknown_linux_gnu
cargo:rerun-if-env-changed=HOST_PKG_CONFIG_LIBDIR
cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR
cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_x86_64-unknown-linux-gnu
cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_x86_64_unknown_linux_gnu
cargo:rerun-if-env-changed=HOST_PKG_CONFIG_SYSROOT_DIR
cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR
cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR
cargo:rerun-if-env-changed=SYSROOT
cargo:rerun-if-env-changed=OPENCV4_STATIC
cargo:rerun-if-env-changed=OPENCV4_DYNAMIC
cargo:rerun-if-env-changed=PKG_CONFIG_ALL_STATIC
cargo:rerun-if-env-changed=PKG_CONFIG_ALL_DYNAMIC
cargo:rerun-if-env-changed=PKG_CONFIG
cargo:rerun-if-env-changed=OPENCV4_STATIC
cargo:rerun-if-env-changed=OPENCV4_DYNAMIC
cargo:rerun-if-env-changed=PKG_CONFIG_ALL_STATIC
cargo:rerun-if-env-changed=PKG_CONFIG_ALL_DYNAMIC
cargo:rerun-if-env-changed=PKG_CONFIG_PATH_x86_64-unknown-linux-gnu
cargo:rerun-if-env-changed=PKG_CONFIG_PATH_x86_64_unknown_linux_gnu
cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_x86_64-unknown-linux-gnu
cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_x86_64_unknown_linux_gnu
cargo:rerun-if-env-changed=HOST_PKG_CONFIG_LIBDIR
cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR
cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_x86_64-unknown-linux-gnu
cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_x86_64_unknown_linux_gnu
cargo:rerun-if-env-changed=HOST_PKG_CONFIG_SYSROOT_DIR
cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR
Modules: OnceCell(["alphamat", "aruco", "bgsegm", "bioinspired", "calib3d", "ccalib", "core", "cudaarithm", "cudabgsegm", "cudacodec", "cudafeatures2d", "cudafilters", "cudaimgproc", "cudaobjdetect", "cudaoptflow", "cudastereo", "cudawarping", "cvv", "dnn", "dnn_superres", "dpm", "face", "features2d", "flann", "freetype", "fuzzy", "hdf", "hfs", "highgui", "img_hash", "imgcodecs", "imgproc", "intensity_transform", "line_descriptor", "mcc", "ml", "objdetect", "optflow", "ovis", "phase_unwrapping", "photo", "plot", "quality", "rapid", "rgbd", "saliency", "sfm", "shape", "stereo", "stitching", "structured_light", "superres", "surface_matching", "text", "tracking", "video", "videoio", "videostab", "viz", "xfeatures2d", "ximgproc", "xobjdetect", "xphoto"])
cargo:rerun-if-env-changed=OPENCV_HEADER_DIR
cargo:rerun-if-env-changed=OPENCV_PACKAGE_NAME
cargo:rerun-if-env-changed=OPENCV_PKGCONFIG_NAME
cargo:rerun-if-env-changed=OPENCV_CMAKE_NAME
cargo:rerun-if-env-changed=OPENCV_CMAKE_BIN
cargo:rerun-if-env-changed=OPENCV_VCPKG_NAME
cargo:rerun-if-env-changed=OPENCV_LINK_LIBS
cargo:rerun-if-env-changed=OPENCV_LINK_PATHS
cargo:rerun-if-env-changed=OPENCV_INCLUDE_PATHS
cargo:rerun-if-env-changed=OPENCV_DISABLE_PROBES
cargo:rerun-if-env-changed=OPENCV_CLANG_STDLIB_PATH
cargo:rerun-if-env-changed=OPENCV_MODULE_WHITELIST
cargo:rerun-if-env-changed=OPENCV_MODULE_BLACKLIST
cargo:rerun-if-env-changed=CMAKE_PREFIX_PATH
cargo:rerun-if-env-changed=OpenCV_DIR
cargo:rerun-if-env-changed=PKG_CONFIG_PATH
cargo:rerun-if-env-changed=VCPKG_ROOT
cargo:rerun-if-env-changed=VCPKGRS_DYNAMIC
cargo:rerun-if-changed=/build/dev/opencv-rust/src_cpp/imgproc.hpp
cargo:rerun-if-changed=/build/dev/opencv-rust/src_cpp/bioinspired.hpp
cargo:rerun-if-changed=/build/dev/opencv-rust/src_cpp/ocvrs_resolve_types.hpp
cargo:rerun-if-changed=/build/dev/opencv-rust/src_cpp/manual-features2d.cpp
cargo:rerun-if-changed=/build/dev/opencv-rust/src_cpp/calib3d.hpp
cargo:rerun-if-changed=/build/dev/opencv-rust/src_cpp/gapi.hpp
cargo:rerun-if-changed=/build/dev/opencv-rust/src_cpp/face.hpp
cargo:rerun-if-changed=/build/dev/opencv-rust/src_cpp/manual-dnn.cpp
cargo:rerun-if-changed=/build/dev/opencv-rust/src_cpp/sfm.hpp
cargo:rerun-if-changed=/build/dev/opencv-rust/src_cpp/xfeatures2d.hpp
cargo:rerun-if-changed=/build/dev/opencv-rust/src_cpp/photo.hpp
cargo:rerun-if-changed=/build/dev/opencv-rust/src_cpp/ccalib.hpp
cargo:rerun-if-changed=/build/dev/opencv-rust/src_cpp/dnn.hpp
cargo:rerun-if-changed=/build/dev/opencv-rust/src_cpp/videoio.hpp
cargo:rerun-if-changed=/build/dev/opencv-rust/src_cpp/manual-core.cpp
cargo:rerun-if-changed=/build/dev/opencv-rust/src_cpp/core.hpp
cargo:rerun-if-changed=/build/dev/opencv-rust/src_cpp/ocvrs_common.hpp
cargo:rerun-if-changed=/build/dev/opencv-rust/src_cpp/aruco.hpp
cc = Build { include_directories: ["/build/dev/opencv-rust/src_cpp", "/target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out", ".", "/opt/opencv/include/opencv4"], definitions: [], objects: [], flags: ["-std=c++11"], flags_supported: ["-Wno-class-memaccess", "-Wno-deprecated-declarations", "-Wno-deprecated-copy", "-Wno-unused-variable", "-Wno-return-type-c-linkage", "-Wa,-mbig-obj"], known_flag_support_status: Mutex { data: {} }, ar_flags: [], no_default_flags: false, files: ["/target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/calib3d.cpp", "/target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/core.cpp", "/build/dev/opencv-rust/src_cpp/manual-core.cpp", "/target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/dnn.cpp", "/build/dev/opencv-rust/src_cpp/manual-dnn.cpp", "/target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/features2d.cpp", "/build/dev/opencv-rust/src_cpp/manual-features2d.cpp", "/target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/flann.cpp", "/target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/highgui.cpp", "/target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/imgcodecs.cpp", "/target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/imgproc.cpp", "/target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/ml.cpp", "/target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/objdetect.cpp", "/target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/photo.cpp", "/target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/stitching.cpp", "/target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/video.cpp", "/target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/videoio.cpp", "/target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/viz.cpp"], cpp: true, cpp_link_stdlib: None, cpp_set_stdlib: None, cuda: false, target: None, host: None, out_dir: None, opt_level: None, debug: None, force_frame_pointer: None, env: [], compiler: None, archiver: None, cargo_metadata: true, pic: None, use_plt: None, static_crt: None, shared_flag: None, static_flag: None, warnings_into_errors: false, warnings: None, extra_warnings: None, env_cache: Mutex { data: {} }, apple_sdk_root_cache: Mutex { data: {} } }
TARGET = Some("x86_64-unknown-linux-gnu")
OPT_LEVEL = Some("1")
HOST = Some("x86_64-unknown-linux-gnu")
CXX_x86_64-unknown-linux-gnu = None
CXX_x86_64_unknown_linux_gnu = None
HOST_CXX = None
CXX = None
CXXFLAGS_x86_64-unknown-linux-gnu = None
CXXFLAGS_x86_64_unknown_linux_gnu = None
HOST_CXXFLAGS = None
CXXFLAGS = None
CRATE_CC_NO_DEFAULTS = None
DEBUG = Some("true")
CARGO_CFG_TARGET_FEATURE = Some("fxsr,sse,sse2")
CXX_x86_64-unknown-linux-gnu = None
CXX_x86_64_unknown_linux_gnu = None
HOST_CXX = None
CXX = None
CXXFLAGS_x86_64-unknown-linux-gnu = None
CXXFLAGS_x86_64_unknown_linux_gnu = None
HOST_CXXFLAGS = None
CXXFLAGS = None
CRATE_CC_NO_DEFAULTS = None
CARGO_CFG_TARGET_FEATURE = Some("fxsr,sse,sse2")
CXX_x86_64-unknown-linux-gnu = None
CXX_x86_64_unknown_linux_gnu = None
HOST_CXX = None
CXX = None
CXXFLAGS_x86_64-unknown-linux-gnu = None
CXXFLAGS_x86_64_unknown_linux_gnu = None
HOST_CXXFLAGS = None
CXXFLAGS = None
CRATE_CC_NO_DEFAULTS = None
CARGO_CFG_TARGET_FEATURE = Some("fxsr,sse,sse2")
CXX_x86_64-unknown-linux-gnu = None
CXX_x86_64_unknown_linux_gnu = None
HOST_CXX = None
CXX = None
CXXFLAGS_x86_64-unknown-linux-gnu = None
CXXFLAGS_x86_64_unknown_linux_gnu = None
HOST_CXXFLAGS = None
CXXFLAGS = None
CRATE_CC_NO_DEFAULTS = None
CARGO_CFG_TARGET_FEATURE = Some("fxsr,sse,sse2")
CXX_x86_64-unknown-linux-gnu = None
CXX_x86_64_unknown_linux_gnu = None
HOST_CXX = None
CXX = None
CXXFLAGS_x86_64-unknown-linux-gnu = None
CXXFLAGS_x86_64_unknown_linux_gnu = None
HOST_CXXFLAGS = None
CXXFLAGS = None
CRATE_CC_NO_DEFAULTS = None
CARGO_CFG_TARGET_FEATURE = Some("fxsr,sse,sse2")
CXX_x86_64-unknown-linux-gnu = None
CXX_x86_64_unknown_linux_gnu = None
HOST_CXX = None
CXX = None
CXXFLAGS_x86_64-unknown-linux-gnu = None
CXXFLAGS_x86_64_unknown_linux_gnu = None
HOST_CXXFLAGS = None
CXXFLAGS = None
CRATE_CC_NO_DEFAULTS = None
CARGO_CFG_TARGET_FEATURE = Some("fxsr,sse,sse2")
CXX_x86_64-unknown-linux-gnu = None
CXX_x86_64_unknown_linux_gnu = None
HOST_CXX = None
CXX = None
CXXFLAGS_x86_64-unknown-linux-gnu = None
CXXFLAGS_x86_64_unknown_linux_gnu = None
HOST_CXXFLAGS = None
CXXFLAGS = None
CRATE_CC_NO_DEFAULTS = None
CARGO_CFG_TARGET_FEATURE = Some("fxsr,sse,sse2")
running: "c++" "-O1" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "/build/dev/opencv-rust/src_cpp" "-I" "/target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out" "-I" "." "-I" "/opt/opencv/include/opencv4" "-Wall" "-Wextra" "-std=c++11" "-Wno-class-memaccess" "-Wno-deprecated-declarations" "-Wno-deprecated-copy" "-Wno-unused-variable" "-Wno-return-type-c-linkage" "-o" "/target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/calib3d.o" "-c" "/target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/calib3d.cpp"
running: "c++" "-O1" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "/build/dev/opencv-rust/src_cpp" "-I" "/target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out" "-I" "." "-I" "/opt/opencv/include/opencv4" "-Wall" "-Wextra" "-std=c++11" "-Wno-class-memaccess" "-Wno-deprecated-declarations" "-Wno-deprecated-copy" "-Wno-unused-variable" "-Wno-return-type-c-linkage" "-o" "/target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/core.o" "-c" "/target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/core.cpp"
running: "c++" "-O1" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "/build/dev/opencv-rust/src_cpp" "-I" "/target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out" "-I" "." "-I" "/opt/opencv/include/opencv4" "-Wall" "-Wextra" "-std=c++11" "-Wno-class-memaccess" "-Wno-deprecated-declarations" "-Wno-deprecated-copy" "-Wno-unused-variable" "-Wno-return-type-c-linkage" "-o" "/target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/manual-core.o" "-c" "/build/dev/opencv-rust/src_cpp/manual-core.cpp"
running: "c++" "-O1" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "/build/dev/opencv-rust/src_cpp" "-I" "/target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out" "-I" "." "-I" "/opt/opencv/include/opencv4" "-Wall" "-Wextra" "-std=c++11" "-Wno-class-memaccess" "-Wno-deprecated-declarations" "-Wno-deprecated-copy" "-Wno-unused-variable" "-Wno-return-type-c-linkage" "-o" "/target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/dnn.o" "-c" "/target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/dnn.cpp"
running: "c++" "-O1" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "/build/dev/opencv-rust/src_cpp" "-I" "/target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out" "-I" "." "-I" "/opt/opencv/include/opencv4" "-Wall" "-Wextra" "-std=c++11" "-Wno-class-memaccess" "-Wno-deprecated-declarations" "-Wno-deprecated-copy" "-Wno-unused-variable" "-Wno-return-type-c-linkage" "-o" "/target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/manual-dnn.o" "-c" "/build/dev/opencv-rust/src_cpp/manual-dnn.cpp"
running: "c++" "-O1" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "/build/dev/opencv-rust/src_cpp" "-I" "/target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out" "-I" "." "-I" "/opt/opencv/include/opencv4" "-Wall" "-Wextra" "-std=c++11" "-Wno-class-memaccess" "-Wno-deprecated-declarations" "-Wno-deprecated-copy" "-Wno-unused-variable" "-Wno-return-type-c-linkage" "-o" "/target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/features2d.o" "-c" "/target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/features2d.cpp"
running: "c++" "-O1" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "/build/dev/opencv-rust/src_cpp" "-I" "/target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out" "-I" "." "-I" "/opt/opencv/include/opencv4" "-Wall" "-Wextra" "-std=c++11" "-Wno-class-memaccess" "-Wno-deprecated-declarations" "-Wno-deprecated-copy" "-Wno-unused-variable" "-Wno-return-type-c-linkage" "-o" "/target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/manual-features2d.o" "-c" "/build/dev/opencv-rust/src_cpp/manual-features2d.cpp"
exit code: 0
running: "c++" "-O1" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "/build/dev/opencv-rust/src_cpp" "-I" "/target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out" "-I" "." "-I" "/opt/opencv/include/opencv4" "-Wall" "-Wextra" "-std=c++11" "-Wno-class-memaccess" "-Wno-deprecated-declarations" "-Wno-deprecated-copy" "-Wno-unused-variable" "-Wno-return-type-c-linkage" "-o" "/target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/flann.o" "-c" "/target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/flann.cpp"
exit code: 0
running: "c++" "-O1" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "/build/dev/opencv-rust/src_cpp" "-I" "/target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out" "-I" "." "-I" "/opt/opencv/include/opencv4" "-Wall" "-Wextra" "-std=c++11" "-Wno-class-memaccess" "-Wno-deprecated-declarations" "-Wno-deprecated-copy" "-Wno-unused-variable" "-Wno-return-type-c-linkage" "-o" "/target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/highgui.o" "-c" "/target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/highgui.cpp"
exit code: 0
running: "c++" "-O1" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "/build/dev/opencv-rust/src_cpp" "-I" "/target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out" "-I" "." "-I" "/opt/opencv/include/opencv4" "-Wall" "-Wextra" "-std=c++11" "-Wno-class-memaccess" "-Wno-deprecated-declarations" "-Wno-deprecated-copy" "-Wno-unused-variable" "-Wno-return-type-c-linkage" "-o" "/target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/imgcodecs.o" "-c" "/target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/imgcodecs.cpp"
exit code: 0
running: "c++" "-O1" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "/build/dev/opencv-rust/src_cpp" "-I" "/target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out" "-I" "." "-I" "/opt/opencv/include/opencv4" "-Wall" "-Wextra" "-std=c++11" "-Wno-class-memaccess" "-Wno-deprecated-declarations" "-Wno-deprecated-copy" "-Wno-unused-variable" "-Wno-return-type-c-linkage" "-o" "/target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/imgproc.o" "-c" "/target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/imgproc.cpp"
exit code: 0
running: "c++" "-O1" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "/build/dev/opencv-rust/src_cpp" "-I" "/target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out" "-I" "." "-I" "/opt/opencv/include/opencv4" "-Wall" "-Wextra" "-std=c++11" "-Wno-class-memaccess" "-Wno-deprecated-declarations" "-Wno-deprecated-copy" "-Wno-unused-variable" "-Wno-return-type-c-linkage" "-o" "/target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/ml.o" "-c" "/target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/ml.cpp"
exit code: 0
running: "c++" "-O1" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "/build/dev/opencv-rust/src_cpp" "-I" "/target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out" "-I" "." "-I" "/opt/opencv/include/opencv4" "-Wall" "-Wextra" "-std=c++11" "-Wno-class-memaccess" "-Wno-deprecated-declarations" "-Wno-deprecated-copy" "-Wno-unused-variable" "-Wno-return-type-c-linkage" "-o" "/target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/objdetect.o" "-c" "/target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/objdetect.cpp"
exit code: 0
running: "c++" "-O1" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "/build/dev/opencv-rust/src_cpp" "-I" "/target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out" "-I" "." "-I" "/opt/opencv/include/opencv4" "-Wall" "-Wextra" "-std=c++11" "-Wno-class-memaccess" "-Wno-deprecated-declarations" "-Wno-deprecated-copy" "-Wno-unused-variable" "-Wno-return-type-c-linkage" "-o" "/target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/photo.o" "-c" "/target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/photo.cpp"
exit code: 0
running: "c++" "-O1" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "/build/dev/opencv-rust/src_cpp" "-I" "/target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out" "-I" "." "-I" "/opt/opencv/include/opencv4" "-Wall" "-Wextra" "-std=c++11" "-Wno-class-memaccess" "-Wno-deprecated-declarations" "-Wno-deprecated-copy" "-Wno-unused-variable" "-Wno-return-type-c-linkage" "-o" "/target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/stitching.o" "-c" "/target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/stitching.cpp"
exit code: 0
running: "c++" "-O1" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "/build/dev/opencv-rust/src_cpp" "-I" "/target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out" "-I" "." "-I" "/opt/opencv/include/opencv4" "-Wall" "-Wextra" "-std=c++11" "-Wno-class-memaccess" "-Wno-deprecated-declarations" "-Wno-deprecated-copy" "-Wno-unused-variable" "-Wno-return-type-c-linkage" "-o" "/target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/video.o" "-c" "/target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/video.cpp"
exit code: 0
running: "c++" "-O1" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "/build/dev/opencv-rust/src_cpp" "-I" "/target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out" "-I" "." "-I" "/opt/opencv/include/opencv4" "-Wall" "-Wextra" "-std=c++11" "-Wno-class-memaccess" "-Wno-deprecated-declarations" "-Wno-deprecated-copy" "-Wno-unused-variable" "-Wno-return-type-c-linkage" "-o" "/target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/videoio.o" "-c" "/target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/videoio.cpp"
cargo:warning=In file included from /target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/stitching.cpp:3:
cargo:warning=/target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/stitching_types.hpp:64:36: error: ‘GraphCutSeamFinderGpu’ is not a member of ‘cv::detail’; did you mean ‘GraphCutSeamFinder’?
cargo:warning= 64 | template struct Result<cv::detail::GraphCutSeamFinderGpu*>;
cargo:warning= | ^~~~~~~~~~~~~~~~~~~~~
cargo:warning= | GraphCutSeamFinder
cargo:warning=/target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/stitching_types.hpp:64:36: error: ‘GraphCutSeamFinderGpu’ is not a member of ‘cv::detail’; did you mean ‘GraphCutSeamFinder’?
cargo:warning= 64 | template struct Result<cv::detail::GraphCutSeamFinderGpu*>;
cargo:warning= | ^~~~~~~~~~~~~~~~~~~~~
cargo:warning= | GraphCutSeamFinder
cargo:warning=/target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/stitching_types.hpp:64:58: error: template argument 1 is invalid
cargo:warning= 64 | template struct Result<cv::detail::GraphCutSeamFinderGpu*>;
cargo:warning= | ^
cargo:warning=/target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/stitching.cpp:1852:7: error: variable or field ‘cv_Detail_GraphCutSeamFinderGpu_delete’ declared void
cargo:warning= 1852 | void cv_Detail_GraphCutSeamFinderGpu_delete(cv::detail::GraphCutSeamFinderGpu* instance) {
cargo:warning= | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cargo:warning=/target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/stitching.cpp:1852:58: error: ‘GraphCutSeamFinderGpu’ is not a member of ‘cv::detail’; did you mean ‘GraphCutSeamFinder’?
cargo:warning= 1852 | void cv_Detail_GraphCutSeamFinderGpu_delete(cv::detail::GraphCutSeamFinderGpu* instance) {
cargo:warning= | ^~~~~~~~~~~~~~~~~~~~~
cargo:warning= | GraphCutSeamFinder
cargo:warning=/target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/stitching.cpp:1852:81: error: ‘instance’ was not declared in this scope
cargo:warning= 1852 | void cv_Detail_GraphCutSeamFinderGpu_delete(cv::detail::GraphCutSeamFinderGpu* instance) {
cargo:warning= | ^~~~~~~~
cargo:warning=/target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/stitching.cpp:1855:21: error: ‘GraphCutSeamFinderGpu’ is not a member of ‘cv::detail’; did you mean ‘GraphCutSeamFinder’?
cargo:warning= 1855 | Result<cv::detail::GraphCutSeamFinderGpu*> cv_detail_GraphCutSeamFinderGpu_GraphCutSeamFinderGpu_int_float_float(int cost_type, float terminal_cost, float bad_region_penalty) {
cargo:warning= | ^~~~~~~~~~~~~~~~~~~~~
cargo:warning= | GraphCutSeamFinder
cargo:warning=/target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/stitching.cpp:1855:21: error: ‘GraphCutSeamFinderGpu’ is not a member of ‘cv::detail’; did you mean ‘GraphCutSeamFinder’?
cargo:warning= 1855 | Result<cv::detail::GraphCutSeamFinderGpu*> cv_detail_GraphCutSeamFinderGpu_GraphCutSeamFinderGpu_int_float_float(int cost_type, float terminal_cost, float bad_region_penalty) {
cargo:warning= | ^~~~~~~~~~~~~~~~~~~~~
cargo:warning= | GraphCutSeamFinder
cargo:warning=/target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/stitching.cpp:1855:43: error: template argument 1 is invalid
cargo:warning= 1855 | Result<cv::detail::GraphCutSeamFinderGpu*> cv_detail_GraphCutSeamFinderGpu_GraphCutSeamFinderGpu_int_float_float(int cost_type, float terminal_cost, float bad_region_penalty) {
cargo:warning= | ^
cargo:warning=/target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/stitching.cpp: In function ‘int cv_detail_GraphCutSeamFinderGpu_GraphCutSeamFinderGpu_int_float_float(int, float, float)’:
cargo:warning=/target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/stitching.cpp:1857:16: error: ‘GraphCutSeamFinderGpu’ is not a member of ‘cv::detail’; did you mean ‘GraphCutSeamFinder’?
cargo:warning= 1857 | cv::detail::GraphCutSeamFinderGpu* ret = new cv::detail::GraphCutSeamFinderGpu(cost_type, terminal_cost, bad_region_penalty);
cargo:warning= | ^~~~~~~~~~~~~~~~~~~~~
cargo:warning= | GraphCutSeamFinder
cargo:warning=/target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/stitching.cpp:1857:39: error: ‘ret’ was not declared in this scope
cargo:warning= 1857 | cv::detail::GraphCutSeamFinderGpu* ret = new cv::detail::GraphCutSeamFinderGpu(cost_type, terminal_cost, bad_region_penalty);
cargo:warning= | ^~~
cargo:warning=/target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/stitching.cpp:1857:49: error: expected type-specifier
cargo:warning= 1857 | cv::detail::GraphCutSeamFinderGpu* ret = new cv::detail::GraphCutSeamFinderGpu(cost_type, terminal_cost, bad_region_penalty);
cargo:warning= | ^~
cargo:warning=/target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/stitching.cpp:1858:26: error: ‘GraphCutSeamFinderGpu’ is not a member of ‘cv::detail’; did you mean ‘GraphCutSeamFinder’?
cargo:warning= 1858 | return Ok<cv::detail::GraphCutSeamFinderGpu*>(ret);
cargo:warning= | ^~~~~~~~~~~~~~~~~~~~~
cargo:warning= | GraphCutSeamFinder
cargo:warning=/target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/stitching.cpp:1858:26: error: ‘GraphCutSeamFinderGpu’ is not a member of ‘cv::detail’; did you mean ‘GraphCutSeamFinder’?
cargo:warning= 1858 | return Ok<cv::detail::GraphCutSeamFinderGpu*>(ret);
cargo:warning= | ^~~~~~~~~~~~~~~~~~~~~
cargo:warning= | GraphCutSeamFinder
cargo:warning=/target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/stitching.cpp:1858:11: error: parse error in template argument list
cargo:warning= 1858 | return Ok<cv::detail::GraphCutSeamFinderGpu*>(ret);
cargo:warning= | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cargo:warning=In file included from /target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/stitching.cpp:1:
cargo:warning=/target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/stitching.cpp:1859:47: error: ‘GraphCutSeamFinderGpu’ is not a member of ‘cv::detail’; did you mean ‘GraphCutSeamFinder’?
cargo:warning= 1859 | } OCVRS_CATCH(OCVRS_TYPE(Result<cv::detail::GraphCutSeamFinderGpu*>))
cargo:warning= | ^~~~~~~~~~~~~~~~~~~~~
cargo:warning=/build/dev/opencv-rust/src_cpp/ocvrs_common.hpp:23:13: note: in definition of macro ‘CODE_CATCH’
cargo:warning= 23 | return Err<return_type>(code, msg); \
cargo:warning= | ^~~~~~~~~~~
cargo:warning=/build/dev/opencv-rust/src_cpp/ocvrs_common.hpp:27:12: note: in expansion of macro ‘OCVRS_TYPE’
cargo:warning= 27 | CODE_CATCH(OCVRS_TYPE(return_type), cv::Exception& e, e.code, e.what()) \
cargo:warning= | ^~~~~~~~~~
cargo:warning=/target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/stitching.cpp:1859:5: note: in expansion of macro ‘OCVRS_CATCH’
cargo:warning= 1859 | } OCVRS_CATCH(OCVRS_TYPE(Result<cv::detail::GraphCutSeamFinderGpu*>))
cargo:warning= | ^~~~~~~~~~~
cargo:warning=/target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/stitching.cpp:1859:17: note: in expansion of macro ‘OCVRS_TYPE’
cargo:warning= 1859 | } OCVRS_CATCH(OCVRS_TYPE(Result<cv::detail::GraphCutSeamFinderGpu*>))
cargo:warning= | ^~~~~~~~~~
cargo:warning=/target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/stitching.cpp:1859:47: error: ‘GraphCutSeamFinderGpu’ is not a member of ‘cv::detail’; did you mean ‘GraphCutSeamFinder’?
cargo:warning= 1859 | } OCVRS_CATCH(OCVRS_TYPE(Result<cv::detail::GraphCutSeamFinderGpu*>))
cargo:warning= | ^~~~~~~~~~~~~~~~~~~~~
cargo:warning=/build/dev/opencv-rust/src_cpp/ocvrs_common.hpp:23:13: note: in definition of macro ‘CODE_CATCH’
cargo:warning= 23 | return Err<return_type>(code, msg); \
cargo:warning= | ^~~~~~~~~~~
cargo:warning=/build/dev/opencv-rust/src_cpp/ocvrs_common.hpp:27:12: note: in expansion of macro ‘OCVRS_TYPE’
cargo:warning= 27 | CODE_CATCH(OCVRS_TYPE(return_type), cv::Exception& e, e.code, e.what()) \
cargo:warning= | ^~~~~~~~~~
cargo:warning=/target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/stitching.cpp:1859:5: note: in expansion of macro ‘OCVRS_CATCH’
cargo:warning= 1859 | } OCVRS_CATCH(OCVRS_TYPE(Result<cv::detail::GraphCutSeamFinderGpu*>))
cargo:warning= | ^~~~~~~~~~~
cargo:warning=/target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/stitching.cpp:1859:17: note: in expansion of macro ‘OCVRS_TYPE’
cargo:warning= 1859 | } OCVRS_CATCH(OCVRS_TYPE(Result<cv::detail::GraphCutSeamFinderGpu*>))
cargo:warning= | ^~~~~~~~~~
cargo:warning=/target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/stitching.cpp:1859:69: error: template argument 1 is invalid
cargo:warning= 1859 | } OCVRS_CATCH(OCVRS_TYPE(Result<cv::detail::GraphCutSeamFinderGpu*>))
cargo:warning= | ^
cargo:warning=/build/dev/opencv-rust/src_cpp/ocvrs_common.hpp:23:13: note: in definition of macro ‘CODE_CATCH’
cargo:warning= 23 | return Err<return_type>(code, msg); \
cargo:warning= | ^~~~~~~~~~~
cargo:warning=/build/dev/opencv-rust/src_cpp/ocvrs_common.hpp:27:12: note: in expansion of macro ‘OCVRS_TYPE’
cargo:warning= 27 | CODE_CATCH(OCVRS_TYPE(return_type), cv::Exception& e, e.code, e.what()) \
cargo:warning= | ^~~~~~~~~~
cargo:warning=/target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/stitching.cpp:1859:5: note: in expansion of macro ‘OCVRS_CATCH’
cargo:warning= 1859 | } OCVRS_CATCH(OCVRS_TYPE(Result<cv::detail::GraphCutSeamFinderGpu*>))
cargo:warning= | ^~~~~~~~~~~
cargo:warning=/target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/stitching.cpp:1859:17: note: in expansion of macro ‘OCVRS_TYPE’
cargo:warning= 1859 | } OCVRS_CATCH(OCVRS_TYPE(Result<cv::detail::GraphCutSeamFinderGpu*>))
cargo:warning= | ^~~~~~~~~~
cargo:warning=/build/dev/opencv-rust/src_cpp/ocvrs_common.hpp:23:35: error: no matching function for call to ‘Err<<expression error> >(int&, const char*)’
cargo:warning= 23 | return Err<return_type>(code, msg); \
cargo:warning= | ^
cargo:warning=/build/dev/opencv-rust/src_cpp/ocvrs_common.hpp:27:1: note: in expansion of macro ‘CODE_CATCH’
cargo:warning= 27 | CODE_CATCH(OCVRS_TYPE(return_type), cv::Exception& e, e.code, e.what()) \
cargo:warning= | ^~~~~~~~~~
cargo:warning=/target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/stitching.cpp:1859:5: note: in expansion of macro ‘OCVRS_CATCH’
cargo:warning= 1859 | } OCVRS_CATCH(OCVRS_TYPE(Result<cv::detail::GraphCutSeamFinderGpu*>))
cargo:warning= | ^~~~~~~~~~~
cargo:warning=/build/dev/opencv-rust/src_cpp/ocvrs_common.hpp:55:31: note: candidate: ‘template<class T> T Err(int, const char*)’
cargo:warning= 55 | template<typename T> inline T Err(int code, const char* msg) {
cargo:warning= | ^~~
cargo:warning=/build/dev/opencv-rust/src_cpp/ocvrs_common.hpp:55:31: note: template argument deduction/substitution failed:
cargo:warning=/build/dev/opencv-rust/src_cpp/ocvrs_common.hpp:23:35: error: template argument 1 is invalid
cargo:warning= 23 | return Err<return_type>(code, msg); \
cargo:warning= | ^
cargo:warning=/build/dev/opencv-rust/src_cpp/ocvrs_common.hpp:27:1: note: in expansion of macro ‘CODE_CATCH’
cargo:warning= 27 | CODE_CATCH(OCVRS_TYPE(return_type), cv::Exception& e, e.code, e.what()) \
cargo:warning= | ^~~~~~~~~~
cargo:warning=/target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/stitching.cpp:1859:5: note: in expansion of macro ‘OCVRS_CATCH’
cargo:warning= 1859 | } OCVRS_CATCH(OCVRS_TYPE(Result<cv::detail::GraphCutSeamFinderGpu*>))
cargo:warning= | ^~~~~~~~~~~
cargo:warning=/target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/stitching.cpp:1859:47: error: ‘GraphCutSeamFinderGpu’ is not a member of ‘cv::detail’; did you mean ‘GraphCutSeamFinder’?
cargo:warning= 1859 | } OCVRS_CATCH(OCVRS_TYPE(Result<cv::detail::GraphCutSeamFinderGpu*>))
cargo:warning= | ^~~~~~~~~~~~~~~~~~~~~
cargo:warning=/build/dev/opencv-rust/src_cpp/ocvrs_common.hpp:23:13: note: in definition of macro ‘CODE_CATCH’
cargo:warning= 23 | return Err<return_type>(code, msg); \
cargo:warning= | ^~~~~~~~~~~
cargo:warning=/build/dev/opencv-rust/src_cpp/ocvrs_common.hpp:28:12: note: in expansion of macro ‘OCVRS_TYPE’
cargo:warning= 28 | CODE_CATCH(OCVRS_TYPE(return_type), ..., -99999, "unspecified error in OpenCV guts")
cargo:warning= | ^~~~~~~~~~
cargo:warning=/target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/stitching.cpp:1859:5: note: in expansion of macro ‘OCVRS_CATCH’
cargo:warning= 1859 | } OCVRS_CATCH(OCVRS_TYPE(Result<cv::detail::GraphCutSeamFinderGpu*>))
cargo:warning= | ^~~~~~~~~~~
cargo:warning=/target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/stitching.cpp:1859:17: note: in expansion of macro ‘OCVRS_TYPE’
cargo:warning= 1859 | } OCVRS_CATCH(OCVRS_TYPE(Result<cv::detail::GraphCutSeamFinderGpu*>))
cargo:warning= | ^~~~~~~~~~
cargo:warning=/target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/stitching.cpp:1859:47: error: ‘GraphCutSeamFinderGpu’ is not a member of ‘cv::detail’; did you mean ‘GraphCutSeamFinder’?
cargo:warning= 1859 | } OCVRS_CATCH(OCVRS_TYPE(Result<cv::detail::GraphCutSeamFinderGpu*>))
cargo:warning= | ^~~~~~~~~~~~~~~~~~~~~
cargo:warning=/build/dev/opencv-rust/src_cpp/ocvrs_common.hpp:23:13: note: in definition of macro ‘CODE_CATCH’
cargo:warning= 23 | return Err<return_type>(code, msg); \
cargo:warning= | ^~~~~~~~~~~
cargo:warning=/build/dev/opencv-rust/src_cpp/ocvrs_common.hpp:28:12: note: in expansion of macro ‘OCVRS_TYPE’
cargo:warning= 28 | CODE_CATCH(OCVRS_TYPE(return_type), ..., -99999, "unspecified error in OpenCV guts")
cargo:warning= | ^~~~~~~~~~
cargo:warning=/target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/stitching.cpp:1859:5: note: in expansion of macro ‘OCVRS_CATCH’
cargo:warning= 1859 | } OCVRS_CATCH(OCVRS_TYPE(Result<cv::detail::GraphCutSeamFinderGpu*>))
cargo:warning= | ^~~~~~~~~~~
cargo:warning=/target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/stitching.cpp:1859:17: note: in expansion of macro ‘OCVRS_TYPE’
cargo:warning= 1859 | } OCVRS_CATCH(OCVRS_TYPE(Result<cv::detail::GraphCutSeamFinderGpu*>))
cargo:warning= | ^~~~~~~~~~
cargo:warning=/target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/stitching.cpp:1859:69: error: template argument 1 is invalid
cargo:warning= 1859 | } OCVRS_CATCH(OCVRS_TYPE(Result<cv::detail::GraphCutSeamFinderGpu*>))
cargo:warning= | ^
cargo:warning=/build/dev/opencv-rust/src_cpp/ocvrs_common.hpp:23:13: note: in definition of macro ‘CODE_CATCH’
cargo:warning= 23 | return Err<return_type>(code, msg); \
cargo:warning= | ^~~~~~~~~~~
cargo:warning=/build/dev/opencv-rust/src_cpp/ocvrs_common.hpp:28:12: note: in expansion of macro ‘OCVRS_TYPE’
cargo:warning= 28 | CODE_CATCH(OCVRS_TYPE(return_type), ..., -99999, "unspecified error in OpenCV guts")
cargo:warning= | ^~~~~~~~~~
cargo:warning=/target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/stitching.cpp:1859:5: note: in expansion of macro ‘OCVRS_CATCH’
cargo:warning= 1859 | } OCVRS_CATCH(OCVRS_TYPE(Result<cv::detail::GraphCutSeamFinderGpu*>))
cargo:warning= | ^~~~~~~~~~~
cargo:warning=/target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/stitching.cpp:1859:17: note: in expansion of macro ‘OCVRS_TYPE’
cargo:warning= 1859 | } OCVRS_CATCH(OCVRS_TYPE(Result<cv::detail::GraphCutSeamFinderGpu*>))
cargo:warning= | ^~~~~~~~~~
cargo:warning=/build/dev/opencv-rust/src_cpp/ocvrs_common.hpp:23:35: error: no matching function for call to ‘Err<<expression error> >(int, const char [33])’
cargo:warning= 23 | return Err<return_type>(code, msg); \
cargo:warning= | ^
cargo:warning=/build/dev/opencv-rust/src_cpp/ocvrs_common.hpp:28:1: note: in expansion of macro ‘CODE_CATCH’
cargo:warning= 28 | CODE_CATCH(OCVRS_TYPE(return_type), ..., -99999, "unspecified error in OpenCV guts")
cargo:warning= | ^~~~~~~~~~
cargo:warning=/target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/stitching.cpp:1859:5: note: in expansion of macro ‘OCVRS_CATCH’
cargo:warning= 1859 | } OCVRS_CATCH(OCVRS_TYPE(Result<cv::detail::GraphCutSeamFinderGpu*>))
cargo:warning= | ^~~~~~~~~~~
cargo:warning=/build/dev/opencv-rust/src_cpp/ocvrs_common.hpp:55:31: note: candidate: ‘template<class T> T Err(int, const char*)’
cargo:warning= 55 | template<typename T> inline T Err(int code, const char* msg) {
cargo:warning= | ^~~
cargo:warning=/build/dev/opencv-rust/src_cpp/ocvrs_common.hpp:55:31: note: template argument deduction/substitution failed:
cargo:warning=/build/dev/opencv-rust/src_cpp/ocvrs_common.hpp:23:35: error: template argument 1 is invalid
cargo:warning= 23 | return Err<return_type>(code, msg); \
cargo:warning= | ^
cargo:warning=/build/dev/opencv-rust/src_cpp/ocvrs_common.hpp:28:1: note: in expansion of macro ‘CODE_CATCH’
cargo:warning= 28 | CODE_CATCH(OCVRS_TYPE(return_type), ..., -99999, "unspecified error in OpenCV guts")
cargo:warning= | ^~~~~~~~~~
cargo:warning=/target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/stitching.cpp:1859:5: note: in expansion of macro ‘OCVRS_CATCH’
cargo:warning= 1859 | } OCVRS_CATCH(OCVRS_TYPE(Result<cv::detail::GraphCutSeamFinderGpu*>))
cargo:warning= | ^~~~~~~~~~~
cargo:warning=/target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/stitching.cpp:1855:119: warning: unused parameter ‘cost_type’ [-Wunused-parameter]
cargo:warning= 1855 | Result<cv::detail::GraphCutSeamFinderGpu*> cv_detail_GraphCutSeamFinderGpu_GraphCutSeamFinderGpu_int_float_float(int cost_type, float terminal_cost, float bad_region_penalty) {
cargo:warning= | ~~~~^~~~~~~~~
cargo:warning=/target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/stitching.cpp:1855:136: warning: unused parameter ‘terminal_cost’ [-Wunused-parameter]
cargo:warning= 1855 | Result<cv::detail::GraphCutSeamFinderGpu*> cv_detail_GraphCutSeamFinderGpu_GraphCutSeamFinderGpu_int_float_float(int cost_type, float terminal_cost, float bad_region_penalty) {
cargo:warning= | ~~~~~~^~~~~~~~~~~~~
cargo:warning=/target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/stitching.cpp:1855:157: warning: unused parameter ‘bad_region_penalty’ [-Wunused-parameter]
cargo:warning= 1855 | Result<cv::detail::GraphCutSeamFinderGpu*> cv_detail_GraphCutSeamFinderGpu_GraphCutSeamFinderGpu_int_float_float(int cost_type, float terminal_cost, float bad_region_penalty) {
cargo:warning= | ~~~~~~^~~~~~~~~~~~~~~~~~
cargo:warning=/target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/stitching.cpp: At global scope:
cargo:warning=/target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/stitching.cpp:1862:118: error: ‘GraphCutSeamFinderGpu’ is not a member of ‘cv::detail’; did you mean ‘GraphCutSeamFinder’?
cargo:warning= 1862 | Result_void cv_detail_GraphCutSeamFinderGpu_find_const_vector_UMat_R_const_vector_Point_R_vector_UMat_R(cv::detail::GraphCutSeamFinderGpu* instance, const std::vector<cv::UMat>* src, const std::vector<cv::Point>* corners, std::vector<cv::UMat>* masks) {
cargo:warning= | ^~~~~~~~~~~~~~~~~~~~~
cargo:warning= | GraphCutSeamFinder
cargo:warning=/target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/stitching.cpp:1862:141: error: ‘instance’ was not declared in this scope
cargo:warning= 1862 | Result_void cv_detail_GraphCutSeamFinderGpu_find_const_vector_UMat_R_const_vector_Point_R_vector_UMat_R(cv::detail::GraphCutSeamFinderGpu* instance, const std::vector<cv::UMat>* src, const std::vector<cv::Point>* corners, std::vector<cv::UMat>* masks) {
cargo:warning= | ^~~~~~~~
cargo:warning=/target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/stitching.cpp:1862:151: error: expected primary-expression before ‘const’
cargo:warning= 1862 | Result_void cv_detail_GraphCutSeamFinderGpu_find_const_vector_UMat_R_const_vector_Point_R_vector_UMat_R(cv::detail::GraphCutSeamFinderGpu* instance, const std::vector<cv::UMat>* src, const std::vector<cv::Point>* corners, std::vector<cv::UMat>* masks) {
cargo:warning= | ^~~~~
cargo:warning=/target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/stitching.cpp:1862:185: error: expected primary-expression before ‘const’
cargo:warning= 1862 | Result_void cv_detail_GraphCutSeamFinderGpu_find_const_vector_UMat_R_const_vector_Point_R_vector_UMat_R(cv::detail::GraphCutSeamFinderGpu* instance, const std::vector<cv::UMat>* src, const std::vector<cv::Point>* corners, std::vector<cv::UMat>* masks) {
cargo:warning= | ^~~~~
cargo:warning=/target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/stitching.cpp:1862:245: error: expected primary-expression before ‘*’ token
cargo:warning= 1862 | Result_void cv_detail_GraphCutSeamFinderGpu_find_const_vector_UMat_R_const_vector_Point_R_vector_UMat_R(cv::detail::GraphCutSeamFinderGpu* instance, const std::vector<cv::UMat>* src, const std::vector<cv::Point>* corners, std::vector<cv::UMat>* masks) {
cargo:warning= | ^
cargo:warning=/target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/stitching.cpp:1862:247: error: ‘masks’ was not declared in this scope
cargo:warning= 1862 | Result_void cv_detail_GraphCutSeamFinderGpu_find_const_vector_UMat_R_const_vector_Point_R_vector_UMat_R(cv::detail::GraphCutSeamFinderGpu* instance, const std::vector<cv::UMat>* src, const std::vector<cv::Point>* corners, std::vector<cv::UMat>* masks) {
cargo:warning= | ^~~~~
cargo:warning=/target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/stitching.cpp:1862:254: error: expected ‘,’ or ‘;’ before ‘{’ token
cargo:warning= 1862 | Result_void cv_detail_GraphCutSeamFinderGpu_find_const_vector_UMat_R_const_vector_Point_R_vector_UMat_R(cv::detail::GraphCutSeamFinderGpu* instance, const std::vector<cv::UMat>* src, const std::vector<cv::Point>* corners, std::vector<cv::UMat>* masks) {
cargo:warning= | ^
cargo:warning=/target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/stitching.cpp:1869:88: error: ‘GraphCutSeamFinderGpu’ is not a member of ‘cv::detail’; did you mean ‘GraphCutSeamFinder’?
cargo:warning= 1869 | Result_void cv_detail_GraphCutSeamFinderGpu_findInPair_size_t_size_t_Rect(cv::detail::GraphCutSeamFinderGpu* instance, size_t first, size_t second, cv::Rect* roi) {
cargo:warning= | ^~~~~~~~~~~~~~~~~~~~~
cargo:warning= | GraphCutSeamFinder
cargo:warning=/target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/stitching.cpp:1869:111: error: ‘instance’ was not declared in this scope
cargo:warning= 1869 | Result_void cv_detail_GraphCutSeamFinderGpu_findInPair_size_t_size_t_Rect(cv::detail::GraphCutSeamFinderGpu* instance, size_t first, size_t second, cv::Rect* roi) {
cargo:warning= | ^~~~~~~~
cargo:warning=/target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/stitching.cpp:1869:128: error: expected primary-expression before ‘first’
cargo:warning= 1869 | Result_void cv_detail_GraphCutSeamFinderGpu_findInPair_size_t_size_t_Rect(cv::detail::GraphCutSeamFinderGpu* instance, size_t first, size_t second, cv::Rect* roi) {
cargo:warning= | ^~~~~
cargo:warning=/target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/stitching.cpp:1869:142: error: expected primary-expression before ‘second’
cargo:warning= 1869 | Result_void cv_detail_GraphCutSeamFinderGpu_findInPair_size_t_size_t_Rect(cv::detail::GraphCutSeamFinderGpu* instance, size_t first, size_t second, cv::Rect* roi) {
cargo:warning= | ^~~~~~
cargo:warning=/target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/stitching.cpp:1869:158: error: expected primary-expression before ‘*’ token
cargo:warning= 1869 | Result_void cv_detail_GraphCutSeamFinderGpu_findInPair_size_t_size_t_Rect(cv::detail::GraphCutSeamFinderGpu* instance, size_t first, size_t second, cv::Rect* roi) {
cargo:warning= | ^
cargo:warning=/target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/stitching.cpp:1869:160: error: ‘roi’ was not declared in this scope
cargo:warning= 1869 | Result_void cv_detail_GraphCutSeamFinderGpu_findInPair_size_t_size_t_Rect(cv::detail::GraphCutSeamFinderGpu* instance, size_t first, size_t second, cv::Rect* roi) {
cargo:warning= | ^~~
cargo:warning=/target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/stitching.cpp:1869:165: error: expected ‘,’ or ‘;’ before ‘{’ token
cargo:warning= 1869 | Result_void cv_detail_GraphCutSeamFinderGpu_findInPair_size_t_size_t_Rect(cv::detail::GraphCutSeamFinderGpu* instance, size_t first, size_t second, cv::Rect* roi) {
cargo:warning= | ^
cargo:warning=cc1plus: note: unrecognized command-line option ‘-Wno-return-type-c-linkage’ may have been intended to silence earlier diagnostics
exit code: 0
running: "c++" "-O1" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "/build/dev/opencv-rust/src_cpp" "-I" "/target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out" "-I" "." "-I" "/opt/opencv/include/opencv4" "-Wall" "-Wextra" "-std=c++11" "-Wno-class-memaccess" "-Wno-deprecated-declarations" "-Wno-deprecated-copy" "-Wno-unused-variable" "-Wno-return-type-c-linkage" "-o" "/target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/viz.o" "-c" "/target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/viz.cpp"
exit code: 0
cargo:warning=/target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/viz.cpp:2:10: fatal error: opencv2/viz.hpp: No such file or directory
cargo:warning= 2 | #include <opencv2/viz.hpp>
cargo:warning= | ^~~~~~~~~~~~~~~~~
cargo:warning=compilation terminated.
cargo:warning=/target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/viz.cpp:2:10: fatal error: opencv2/viz.hpp: No such file or directory
cargo:warning= 2 | #include <opencv2/viz.hpp>
cargo:warning= | ^~~~~~~~~~~~~~~~~
cargo:warning=compilation terminated.
exit code: 1
exit code: 0
cargo:warning=In file included from /target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/stitching.cpp:3:
cargo:warning=/target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/stitching_types.hpp:64:36: error: ‘GraphCutSeamFinderGpu’ is not a member of ‘cv::detail’; did you mean ‘GraphCutSeamFinder’?
cargo:warning= 64 | template struct Result<cv::detail::GraphCutSeamFinderGpu*>;
cargo:warning= | ^~~~~~~~~~~~~~~~~~~~~
cargo:warning= | GraphCutSeamFinder
cargo:warning=/target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/stitching_types.hpp:64:36: error: ‘GraphCutSeamFinderGpu’ is not a member of ‘cv::detail’; did you mean ‘GraphCutSeamFinder’?
cargo:warning= 64 | template struct Result<cv::detail::GraphCutSeamFinderGpu*>;
cargo:warning= | ^~~~~~~~~~~~~~~~~~~~~
cargo:warning= | GraphCutSeamFinder
cargo:warning=/target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/stitching_types.hpp:64:58: error: template argument 1 is invalid
cargo:warning= 64 | template struct Result<cv::detail::GraphCutSeamFinderGpu*>;
cargo:warning= | ^
cargo:warning=/target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/stitching.cpp:1852:7: error: variable or field ‘cv_Detail_GraphCutSeamFinderGpu_delete’ declared void
cargo:warning= 1852 | void cv_Detail_GraphCutSeamFinderGpu_delete(cv::detail::GraphCutSeamFinderGpu* instance) {
cargo:warning= | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cargo:warning=/target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/stitching.cpp:1852:58: error: ‘GraphCutSeamFinderGpu’ is not a member of ‘cv::detail’; did you mean ‘GraphCutSeamFinder’?
cargo:warning= 1852 | void cv_Detail_GraphCutSeamFinderGpu_delete(cv::detail::GraphCutSeamFinderGpu* instance) {
cargo:warning= | ^~~~~~~~~~~~~~~~~~~~~
cargo:warning= | GraphCutSeamFinder
cargo:warning=/target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/stitching.cpp:1852:81: error: ‘instance’ was not declared in this scope
cargo:warning= 1852 | void cv_Detail_GraphCutSeamFinderGpu_delete(cv::detail::GraphCutSeamFinderGpu* instance) {
cargo:warning= | ^~~~~~~~
cargo:warning=/target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/stitching.cpp:1855:21: error: ‘GraphCutSeamFinderGpu’ is not a member of ‘cv::detail’; did you mean ‘GraphCutSeamFinder’?
cargo:warning= 1855 | Result<cv::detail::GraphCutSeamFinderGpu*> cv_detail_GraphCutSeamFinderGpu_GraphCutSeamFinderGpu_int_float_float(int cost_type, float terminal_cost, float bad_region_penalty) {
cargo:warning= | ^~~~~~~~~~~~~~~~~~~~~
cargo:warning= | GraphCutSeamFinder
cargo:warning=/target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/stitching.cpp:1855:21: error: ‘GraphCutSeamFinderGpu’ is not a member of ‘cv::detail’; did you mean ‘GraphCutSeamFinder’?
cargo:warning= 1855 | Result<cv::detail::GraphCutSeamFinderGpu*> cv_detail_GraphCutSeamFinderGpu_GraphCutSeamFinderGpu_int_float_float(int cost_type, float terminal_cost, float bad_region_penalty) {
cargo:warning= | ^~~~~~~~~~~~~~~~~~~~~
cargo:warning= | GraphCutSeamFinder
cargo:warning=/target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/stitching.cpp:1855:43: error: template argument 1 is invalid
cargo:warning= 1855 | Result<cv::detail::GraphCutSeamFinderGpu*> cv_detail_GraphCutSeamFinderGpu_GraphCutSeamFinderGpu_int_float_float(int cost_type, float terminal_cost, float bad_region_penalty) {
cargo:warning= | ^
cargo:warning=/target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/stitching.cpp: In function ‘int cv_detail_GraphCutSeamFinderGpu_GraphCutSeamFinderGpu_int_float_float(int, float, float)’:
cargo:warning=/target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/stitching.cpp:1857:16: error: ‘GraphCutSeamFinderGpu’ is not a member of ‘cv::detail’; did you mean ‘GraphCutSeamFinder’?
cargo:warning= 1857 | cv::detail::GraphCutSeamFinderGpu* ret = new cv::detail::GraphCutSeamFinderGpu(cost_type, terminal_cost, bad_region_penalty);
cargo:warning= | ^~~~~~~~~~~~~~~~~~~~~
cargo:warning= | GraphCutSeamFinder
cargo:warning=/target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/stitching.cpp:1857:39: error: ‘ret’ was not declared in this scope
cargo:warning= 1857 | cv::detail::GraphCutSeamFinderGpu* ret = new cv::detail::GraphCutSeamFinderGpu(cost_type, terminal_cost, bad_region_penalty);
cargo:warning= | ^~~
cargo:warning=/target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/stitching.cpp:1857:49: error: expected type-specifier
cargo:warning= 1857 | cv::detail::GraphCutSeamFinderGpu* ret = new cv::detail::GraphCutSeamFinderGpu(cost_type, terminal_cost, bad_region_penalty);
cargo:warning= | ^~
cargo:warning=/target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/stitching.cpp:1858:26: error: ‘GraphCutSeamFinderGpu’ is not a member of ‘cv::detail’; did you mean ‘GraphCutSeamFinder’?
cargo:warning= 1858 | return Ok<cv::detail::GraphCutSeamFinderGpu*>(ret);
cargo:warning= | ^~~~~~~~~~~~~~~~~~~~~
cargo:warning= | GraphCutSeamFinder
cargo:warning=/target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/stitching.cpp:1858:26: error: ‘GraphCutSeamFinderGpu’ is not a member of ‘cv::detail’; did you mean ‘GraphCutSeamFinder’?
cargo:warning= 1858 | return Ok<cv::detail::GraphCutSeamFinderGpu*>(ret);
cargo:warning= | ^~~~~~~~~~~~~~~~~~~~~
cargo:warning= | GraphCutSeamFinder
cargo:warning=/target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/stitching.cpp:1858:11: error: parse error in template argument list
cargo:warning= 1858 | return Ok<cv::detail::GraphCutSeamFinderGpu*>(ret);
cargo:warning= | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cargo:warning=In file included from /target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/stitching.cpp:1:
cargo:warning=/target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/stitching.cpp:1859:47: error: ‘GraphCutSeamFinderGpu’ is not a member of ‘cv::detail’; did you mean ‘GraphCutSeamFinder’?
cargo:warning= 1859 | } OCVRS_CATCH(OCVRS_TYPE(Result<cv::detail::GraphCutSeamFinderGpu*>))
cargo:warning= | ^~~~~~~~~~~~~~~~~~~~~
cargo:warning=/build/dev/opencv-rust/src_cpp/ocvrs_common.hpp:23:13: note: in definition of macro ‘CODE_CATCH’
cargo:warning= 23 | return Err<return_type>(code, msg); \
cargo:warning= | ^~~~~~~~~~~
cargo:warning=/build/dev/opencv-rust/src_cpp/ocvrs_common.hpp:27:12: note: in expansion of macro ‘OCVRS_TYPE’
cargo:warning= 27 | CODE_CATCH(OCVRS_TYPE(return_type), cv::Exception& e, e.code, e.what()) \
cargo:warning= | ^~~~~~~~~~
cargo:warning=/target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/stitching.cpp:1859:5: note: in expansion of macro ‘OCVRS_CATCH’
cargo:warning= 1859 | } OCVRS_CATCH(OCVRS_TYPE(Result<cv::detail::GraphCutSeamFinderGpu*>))
cargo:warning= | ^~~~~~~~~~~
cargo:warning=/target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/stitching.cpp:1859:17: note: in expansion of macro ‘OCVRS_TYPE’
cargo:warning= 1859 | } OCVRS_CATCH(OCVRS_TYPE(Result<cv::detail::GraphCutSeamFinderGpu*>))
cargo:warning= | ^~~~~~~~~~
cargo:warning=/target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/stitching.cpp:1859:47: error: ‘GraphCutSeamFinderGpu’ is not a member of ‘cv::detail’; did you mean ‘GraphCutSeamFinder’?
cargo:warning= 1859 | } OCVRS_CATCH(OCVRS_TYPE(Result<cv::detail::GraphCutSeamFinderGpu*>))
cargo:warning= | ^~~~~~~~~~~~~~~~~~~~~
cargo:warning=/build/dev/opencv-rust/src_cpp/ocvrs_common.hpp:23:13: note: in definition of macro ‘CODE_CATCH’
cargo:warning= 23 | return Err<return_type>(code, msg); \
cargo:warning= | ^~~~~~~~~~~
cargo:warning=/build/dev/opencv-rust/src_cpp/ocvrs_common.hpp:27:12: note: in expansion of macro ‘OCVRS_TYPE’
cargo:warning= 27 | CODE_CATCH(OCVRS_TYPE(return_type), cv::Exception& e, e.code, e.what()) \
cargo:warning= | ^~~~~~~~~~
cargo:warning=/target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/stitching.cpp:1859:5: note: in expansion of macro ‘OCVRS_CATCH’
cargo:warning= 1859 | } OCVRS_CATCH(OCVRS_TYPE(Result<cv::detail::GraphCutSeamFinderGpu*>))
cargo:warning= | ^~~~~~~~~~~
cargo:warning=/target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/stitching.cpp:1859:17: note: in expansion of macro ‘OCVRS_TYPE’
cargo:warning= 1859 | } OCVRS_CATCH(OCVRS_TYPE(Result<cv::detail::GraphCutSeamFinderGpu*>))
cargo:warning= | ^~~~~~~~~~
cargo:warning=/target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/stitching.cpp:1859:69: error: template argument 1 is invalid
cargo:warning= 1859 | } OCVRS_CATCH(OCVRS_TYPE(Result<cv::detail::GraphCutSeamFinderGpu*>))
cargo:warning= | ^
cargo:warning=/build/dev/opencv-rust/src_cpp/ocvrs_common.hpp:23:13: note: in definition of macro ‘CODE_CATCH’
cargo:warning= 23 | return Err<return_type>(code, msg); \
cargo:warning= | ^~~~~~~~~~~
cargo:warning=/build/dev/opencv-rust/src_cpp/ocvrs_common.hpp:27:12: note: in expansion of macro ‘OCVRS_TYPE’
cargo:warning= 27 | CODE_CATCH(OCVRS_TYPE(return_type), cv::Exception& e, e.code, e.what()) \
cargo:warning= | ^~~~~~~~~~
cargo:warning=/target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/stitching.cpp:1859:5: note: in expansion of macro ‘OCVRS_CATCH’
cargo:warning= 1859 | } OCVRS_CATCH(OCVRS_TYPE(Result<cv::detail::GraphCutSeamFinderGpu*>))
cargo:warning= | ^~~~~~~~~~~
cargo:warning=/target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/stitching.cpp:1859:17: note: in expansion of macro ‘OCVRS_TYPE’
cargo:warning= 1859 | } OCVRS_CATCH(OCVRS_TYPE(Result<cv::detail::GraphCutSeamFinderGpu*>))
cargo:warning= | ^~~~~~~~~~
cargo:warning=/build/dev/opencv-rust/src_cpp/ocvrs_common.hpp:23:35: error: no matching function for call to ‘Err<<expression error> >(int&, const char*)’
cargo:warning= 23 | return Err<return_type>(code, msg); \
cargo:warning= | ^
cargo:warning=/build/dev/opencv-rust/src_cpp/ocvrs_common.hpp:27:1: note: in expansion of macro ‘CODE_CATCH’
cargo:warning= 27 | CODE_CATCH(OCVRS_TYPE(return_type), cv::Exception& e, e.code, e.what()) \
cargo:warning= | ^~~~~~~~~~
cargo:warning=/target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/stitching.cpp:1859:5: note: in expansion of macro ‘OCVRS_CATCH’
cargo:warning= 1859 | } OCVRS_CATCH(OCVRS_TYPE(Result<cv::detail::GraphCutSeamFinderGpu*>))
cargo:warning= | ^~~~~~~~~~~
cargo:warning=/build/dev/opencv-rust/src_cpp/ocvrs_common.hpp:55:31: note: candidate: ‘template<class T> T Err(int, const char*)’
cargo:warning= 55 | template<typename T> inline T Err(int code, const char* msg) {
cargo:warning= | ^~~
cargo:warning=/build/dev/opencv-rust/src_cpp/ocvrs_common.hpp:55:31: note: template argument deduction/substitution failed:
cargo:warning=/build/dev/opencv-rust/src_cpp/ocvrs_common.hpp:23:35: error: template argument 1 is invalid
cargo:warning= 23 | return Err<return_type>(code, msg); \
cargo:warning= | ^
cargo:warning=/build/dev/opencv-rust/src_cpp/ocvrs_common.hpp:27:1: note: in expansion of macro ‘CODE_CATCH’
cargo:warning= 27 | CODE_CATCH(OCVRS_TYPE(return_type), cv::Exception& e, e.code, e.what()) \
cargo:warning= | ^~~~~~~~~~
cargo:warning=/target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/stitching.cpp:1859:5: note: in expansion of macro ‘OCVRS_CATCH’
cargo:warning= 1859 | } OCVRS_CATCH(OCVRS_TYPE(Result<cv::detail::GraphCutSeamFinderGpu*>))
cargo:warning= | ^~~~~~~~~~~
cargo:warning=/target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/stitching.cpp:1859:47: error: ‘GraphCutSeamFinderGpu’ is not a member of ‘cv::detail’; did you mean ‘GraphCutSeamFinder’?
cargo:warning= 1859 | } OCVRS_CATCH(OCVRS_TYPE(Result<cv::detail::GraphCutSeamFinderGpu*>))
cargo:warning= | ^~~~~~~~~~~~~~~~~~~~~
cargo:warning=/build/dev/opencv-rust/src_cpp/ocvrs_common.hpp:23:13: note: in definition of macro ‘CODE_CATCH’
cargo:warning= 23 | return Err<return_type>(code, msg); \
cargo:warning= | ^~~~~~~~~~~
cargo:warning=/build/dev/opencv-rust/src_cpp/ocvrs_common.hpp:28:12: note: in expansion of macro ‘OCVRS_TYPE’
cargo:warning= 28 | CODE_CATCH(OCVRS_TYPE(return_type), ..., -99999, "unspecified error in OpenCV guts")
cargo:warning= | ^~~~~~~~~~
cargo:warning=/target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/stitching.cpp:1859:5: note: in expansion of macro ‘OCVRS_CATCH’
cargo:warning= 1859 | } OCVRS_CATCH(OCVRS_TYPE(Result<cv::detail::GraphCutSeamFinderGpu*>))
cargo:warning= | ^~~~~~~~~~~
cargo:warning=/target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/stitching.cpp:1859:17: note: in expansion of macro ‘OCVRS_TYPE’
cargo:warning= 1859 | } OCVRS_CATCH(OCVRS_TYPE(Result<cv::detail::GraphCutSeamFinderGpu*>))
cargo:warning= | ^~~~~~~~~~
cargo:warning=/target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/stitching.cpp:1859:47: error: ‘GraphCutSeamFinderGpu’ is not a member of ‘cv::detail’; did you mean ‘GraphCutSeamFinder’?
cargo:warning= 1859 | } OCVRS_CATCH(OCVRS_TYPE(Result<cv::detail::GraphCutSeamFinderGpu*>))
cargo:warning= | ^~~~~~~~~~~~~~~~~~~~~
cargo:warning=/build/dev/opencv-rust/src_cpp/ocvrs_common.hpp:23:13: note: in definition of macro ‘CODE_CATCH’
cargo:warning= 23 | return Err<return_type>(code, msg); \
cargo:warning= | ^~~~~~~~~~~
cargo:warning=/build/dev/opencv-rust/src_cpp/ocvrs_common.hpp:28:12: note: in expansion of macro ‘OCVRS_TYPE’
cargo:warning= 28 | CODE_CATCH(OCVRS_TYPE(return_type), ..., -99999, "unspecified error in OpenCV guts")
cargo:warning= | ^~~~~~~~~~
cargo:warning=/target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/stitching.cpp:1859:5: note: in expansion of macro ‘OCVRS_CATCH’
cargo:warning= 1859 | } OCVRS_CATCH(OCVRS_TYPE(Result<cv::detail::GraphCutSeamFinderGpu*>))
cargo:warning= | ^~~~~~~~~~~
cargo:warning=/target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/stitching.cpp:1859:17: note: in expansion of macro ‘OCVRS_TYPE’
cargo:warning= 1859 | } OCVRS_CATCH(OCVRS_TYPE(Result<cv::detail::GraphCutSeamFinderGpu*>))
cargo:warning= | ^~~~~~~~~~
cargo:warning=/target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/stitching.cpp:1859:69: error: template argument 1 is invalid
cargo:warning= 1859 | } OCVRS_CATCH(OCVRS_TYPE(Result<cv::detail::GraphCutSeamFinderGpu*>))
cargo:warning= | ^
cargo:warning=/build/dev/opencv-rust/src_cpp/ocvrs_common.hpp:23:13: note: in definition of macro ‘CODE_CATCH’
cargo:warning= 23 | return Err<return_type>(code, msg); \
cargo:warning= | ^~~~~~~~~~~
cargo:warning=/build/dev/opencv-rust/src_cpp/ocvrs_common.hpp:28:12: note: in expansion of macro ‘OCVRS_TYPE’
cargo:warning= 28 | CODE_CATCH(OCVRS_TYPE(return_type), ..., -99999, "unspecified error in OpenCV guts")
cargo:warning= | ^~~~~~~~~~
cargo:warning=/target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/stitching.cpp:1859:5: note: in expansion of macro ‘OCVRS_CATCH’
cargo:warning= 1859 | } OCVRS_CATCH(OCVRS_TYPE(Result<cv::detail::GraphCutSeamFinderGpu*>))
cargo:warning= | ^~~~~~~~~~~
cargo:warning=/target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/stitching.cpp:1859:17: note: in expansion of macro ‘OCVRS_TYPE’
cargo:warning= 1859 | } OCVRS_CATCH(OCVRS_TYPE(Result<cv::detail::GraphCutSeamFinderGpu*>))
cargo:warning= | ^~~~~~~~~~
cargo:warning=/build/dev/opencv-rust/src_cpp/ocvrs_common.hpp:23:35: error: no matching function for call to ‘Err<<expression error> >(int, const char [33])’
cargo:warning= 23 | return Err<return_type>(code, msg); \
cargo:warning= | ^
cargo:warning=/build/dev/opencv-rust/src_cpp/ocvrs_common.hpp:28:1: note: in expansion of macro ‘CODE_CATCH’
cargo:warning= 28 | CODE_CATCH(OCVRS_TYPE(return_type), ..., -99999, "unspecified error in OpenCV guts")
cargo:warning= | ^~~~~~~~~~
cargo:warning=/target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/stitching.cpp:1859:5: note: in expansion of macro ‘OCVRS_CATCH’
cargo:warning= 1859 | } OCVRS_CATCH(OCVRS_TYPE(Result<cv::detail::GraphCutSeamFinderGpu*>))
cargo:warning= | ^~~~~~~~~~~
cargo:warning=/build/dev/opencv-rust/src_cpp/ocvrs_common.hpp:55:31: note: candidate: ‘template<class T> T Err(int, const char*)’
cargo:warning= 55 | template<typename T> inline T Err(int code, const char* msg) {
cargo:warning= | ^~~
cargo:warning=/build/dev/opencv-rust/src_cpp/ocvrs_common.hpp:55:31: note: template argument deduction/substitution failed:
cargo:warning=/build/dev/opencv-rust/src_cpp/ocvrs_common.hpp:23:35: error: template argument 1 is invalid
cargo:warning= 23 | return Err<return_type>(code, msg); \
cargo:warning= | ^
cargo:warning=/build/dev/opencv-rust/src_cpp/ocvrs_common.hpp:28:1: note: in expansion of macro ‘CODE_CATCH’
cargo:warning= 28 | CODE_CATCH(OCVRS_TYPE(return_type), ..., -99999, "unspecified error in OpenCV guts")
cargo:warning= | ^~~~~~~~~~
cargo:warning=/target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/stitching.cpp:1859:5: note: in expansion of macro ‘OCVRS_CATCH’
cargo:warning= 1859 | } OCVRS_CATCH(OCVRS_TYPE(Result<cv::detail::GraphCutSeamFinderGpu*>))
cargo:warning= | ^~~~~~~~~~~
cargo:warning=/target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/stitching.cpp:1855:119: warning: unused parameter ‘cost_type’ [-Wunused-parameter]
cargo:warning= 1855 | Result<cv::detail::GraphCutSeamFinderGpu*> cv_detail_GraphCutSeamFinderGpu_GraphCutSeamFinderGpu_int_float_float(int cost_type, float terminal_cost, float bad_region_penalty) {
cargo:warning= | ~~~~^~~~~~~~~
cargo:warning=/target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/stitching.cpp:1855:136: warning: unused parameter ‘terminal_cost’ [-Wunused-parameter]
cargo:warning= 1855 | Result<cv::detail::GraphCutSeamFinderGpu*> cv_detail_GraphCutSeamFinderGpu_GraphCutSeamFinderGpu_int_float_float(int cost_type, float terminal_cost, float bad_region_penalty) {
cargo:warning= | ~~~~~~^~~~~~~~~~~~~
cargo:warning=/target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/stitching.cpp:1855:157: warning: unused parameter ‘bad_region_penalty’ [-Wunused-parameter]
cargo:warning= 1855 | Result<cv::detail::GraphCutSeamFinderGpu*> cv_detail_GraphCutSeamFinderGpu_GraphCutSeamFinderGpu_int_float_float(int cost_type, float terminal_cost, float bad_region_penalty) {
cargo:warning= | ~~~~~~^~~~~~~~~~~~~~~~~~
cargo:warning=/target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/stitching.cpp: At global scope:
cargo:warning=/target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/stitching.cpp:1862:118: error: ‘GraphCutSeamFinderGpu’ is not a member of ‘cv::detail’; did you mean ‘GraphCutSeamFinder’?
cargo:warning= 1862 | Result_void cv_detail_GraphCutSeamFinderGpu_find_const_vector_UMat_R_const_vector_Point_R_vector_UMat_R(cv::detail::GraphCutSeamFinderGpu* instance, const std::vector<cv::UMat>* src, const std::vector<cv::Point>* corners, std::vector<cv::UMat>* masks) {
cargo:warning= | ^~~~~~~~~~~~~~~~~~~~~
cargo:warning= | GraphCutSeamFinder
cargo:warning=/target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/stitching.cpp:1862:141: error: ‘instance’ was not declared in this scope
cargo:warning= 1862 | Result_void cv_detail_GraphCutSeamFinderGpu_find_const_vector_UMat_R_const_vector_Point_R_vector_UMat_R(cv::detail::GraphCutSeamFinderGpu* instance, const std::vector<cv::UMat>* src, const std::vector<cv::Point>* corners, std::vector<cv::UMat>* masks) {
cargo:warning= | ^~~~~~~~
cargo:warning=/target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/stitching.cpp:1862:151: error: expected primary-expression before ‘const’
cargo:warning= 1862 | Result_void cv_detail_GraphCutSeamFinderGpu_find_const_vector_UMat_R_const_vector_Point_R_vector_UMat_R(cv::detail::GraphCutSeamFinderGpu* instance, const std::vector<cv::UMat>* src, const std::vector<cv::Point>* corners, std::vector<cv::UMat>* masks) {
cargo:warning= | ^~~~~
cargo:warning=/target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/stitching.cpp:1862:185: error: expected primary-expression before ‘const’
cargo:warning= 1862 | Result_void cv_detail_GraphCutSeamFinderGpu_find_const_vector_UMat_R_const_vector_Point_R_vector_UMat_R(cv::detail::GraphCutSeamFinderGpu* instance, const std::vector<cv::UMat>* src, const std::vector<cv::Point>* corners, std::vector<cv::UMat>* masks) {
cargo:warning= | ^~~~~
cargo:warning=/target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/stitching.cpp:1862:245: error: expected primary-expression before ‘*’ token
cargo:warning= 1862 | Result_void cv_detail_GraphCutSeamFinderGpu_find_const_vector_UMat_R_const_vector_Point_R_vector_UMat_R(cv::detail::GraphCutSeamFinderGpu* instance, const std::vector<cv::UMat>* src, const std::vector<cv::Point>* corners, std::vector<cv::UMat>* masks) {
cargo:warning= | ^
cargo:warning=/target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/stitching.cpp:1862:247: error: ‘masks’ was not declared in this scope
cargo:warning= 1862 | Result_void cv_detail_GraphCutSeamFinderGpu_find_const_vector_UMat_R_const_vector_Point_R_vector_UMat_R(cv::detail::GraphCutSeamFinderGpu* instance, const std::vector<cv::UMat>* src, const std::vector<cv::Point>* corners, std::vector<cv::UMat>* masks) {
cargo:warning= | ^~~~~
cargo:warning=/target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/stitching.cpp:1862:254: error: expected ‘,’ or ‘;’ before ‘{’ token
cargo:warning= 1862 | Result_void cv_detail_GraphCutSeamFinderGpu_find_const_vector_UMat_R_const_vector_Point_R_vector_UMat_R(cv::detail::GraphCutSeamFinderGpu* instance, const std::vector<cv::UMat>* src, const std::vector<cv::Point>* corners, std::vector<cv::UMat>* masks) {
cargo:warning= | ^
cargo:warning=/target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/stitching.cpp:1869:88: error: ‘GraphCutSeamFinderGpu’ is not a member of ‘cv::detail’; did you mean ‘GraphCutSeamFinder’?
cargo:warning= 1869 | Result_void cv_detail_GraphCutSeamFinderGpu_findInPair_size_t_size_t_Rect(cv::detail::GraphCutSeamFinderGpu* instance, size_t first, size_t second, cv::Rect* roi) {
cargo:warning= | ^~~~~~~~~~~~~~~~~~~~~
cargo:warning= | GraphCutSeamFinder
cargo:warning=/target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/stitching.cpp:1869:111: error: ‘instance’ was not declared in this scope
cargo:warning= 1869 | Result_void cv_detail_GraphCutSeamFinderGpu_findInPair_size_t_size_t_Rect(cv::detail::GraphCutSeamFinderGpu* instance, size_t first, size_t second, cv::Rect* roi) {
cargo:warning= | ^~~~~~~~
cargo:warning=/target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/stitching.cpp:1869:128: error: expected primary-expression before ‘first’
cargo:warning= 1869 | Result_void cv_detail_GraphCutSeamFinderGpu_findInPair_size_t_size_t_Rect(cv::detail::GraphCutSeamFinderGpu* instance, size_t first, size_t second, cv::Rect* roi) {
cargo:warning= | ^~~~~
cargo:warning=/target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/stitching.cpp:1869:142: error: expected primary-expression before ‘second’
cargo:warning= 1869 | Result_void cv_detail_GraphCutSeamFinderGpu_findInPair_size_t_size_t_Rect(cv::detail::GraphCutSeamFinderGpu* instance, size_t first, size_t second, cv::Rect* roi) {
cargo:warning= | ^~~~~~
cargo:warning=/target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/stitching.cpp:1869:158: error: expected primary-expression before ‘*’ token
cargo:warning= 1869 | Result_void cv_detail_GraphCutSeamFinderGpu_findInPair_size_t_size_t_Rect(cv::detail::GraphCutSeamFinderGpu* instance, size_t first, size_t second, cv::Rect* roi) {
cargo:warning= | ^
cargo:warning=/target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/stitching.cpp:1869:160: error: ‘roi’ was not declared in this scope
cargo:warning= 1869 | Result_void cv_detail_GraphCutSeamFinderGpu_findInPair_size_t_size_t_Rect(cv::detail::GraphCutSeamFinderGpu* instance, size_t first, size_t second, cv::Rect* roi) {
cargo:warning= | ^~~
cargo:warning=/target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/stitching.cpp:1869:165: error: expected ‘,’ or ‘;’ before ‘{’ token
cargo:warning= 1869 | Result_void cv_detail_GraphCutSeamFinderGpu_findInPair_size_t_size_t_Rect(cv::detail::GraphCutSeamFinderGpu* instance, size_t first, size_t second, cv::Rect* roi) {
cargo:warning= | ^
exit code: 0
cargo:warning=cc1plus: note: unrecognized command-line option ‘-Wno-return-type-c-linkage’ may have been intended to silence earlier diagnostics
exit code: 1
exit code: 0
exit code: 0
--- stderr
=== Crate version: Some("0.47.0")
=== Environment configuration:
=== OPENCV_HEADER_DIR = None
=== OPENCV_PACKAGE_NAME = None
=== OPENCV_PKGCONFIG_NAME = None
=== OPENCV_CMAKE_NAME = None
=== OPENCV_CMAKE_BIN = None
=== OPENCV_VCPKG_NAME = None
=== OPENCV_LINK_LIBS = None
=== OPENCV_LINK_PATHS = None
=== OPENCV_INCLUDE_PATHS = None
=== OPENCV_DISABLE_PROBES = None
=== OPENCV_CLANG_STDLIB_PATH = None
=== OPENCV_MODULE_WHITELIST = None
=== OPENCV_MODULE_BLACKLIST = None
=== CMAKE_PREFIX_PATH = None
=== OpenCV_DIR = None
=== PKG_CONFIG_PATH = None
=== VCPKG_ROOT = None
=== VCPKGRS_DYNAMIC = None
=== Enabled features:
=== OPENCV_4
=== Detected probe priority based on environment vars: pkg_config: false, cmake: false, vcpkg: false
=== Probing the OpenCV library in the following order: environment, pkg_config, cmake, vcpkg_cmake, vcpkg
=== Can't probe using: environment, continuing with other methods because: Some environment variables are missing
=== Probing OpenCV library using pkg_config
=== OpenCV library configuration: Library {
include_paths: [
"/opt/opencv/include/opencv4",
],
version: "4.5.1",
cargo_metadata: [
"cargo:rustc-link-search=/opt/opencv/lib64",
"cargo:rustc-link-search=/opt/opencv/lib64/opencv4/3rdparty",
"cargo:rustc-link-search=/tmp/build/lib",
"cargo:rustc-link-search=/lib64",
"cargo:rustc-link-lib=opencv_gapi",
"cargo:rustc-link-lib=opencv_highgui",
"cargo:rustc-link-lib=opencv_ml",
"cargo:rustc-link-lib=opencv_objdetect",
"cargo:rustc-link-lib=opencv_photo",
"cargo:rustc-link-lib=opencv_stitching",
"cargo:rustc-link-lib=opencv_video",
"cargo:rustc-link-lib=opencv_calib3d",
"cargo:rustc-link-lib=opencv_features2d",
"cargo:rustc-link-lib=opencv_dnn",
"cargo:rustc-link-lib=opencv_flann",
"cargo:rustc-link-lib=opencv_videoio",
"cargo:rustc-link-lib=opencv_imgcodecs",
"cargo:rustc-link-lib=opencv_imgproc",
"cargo:rustc-link-lib=opencv_core",
"cargo:rustc-link-lib=protobuf",
"cargo:rustc-link-lib=zlib",
"cargo:rustc-link-lib=jpeg-turbo",
"cargo:rustc-link-lib=png",
"cargo:rustc-link-lib=openjp2",
"cargo:rustc-link-lib=ade",
"cargo:rustc-link-lib=gthread-2.0",
"cargo:rustc-link-lib=glib-2.0",
"cargo:rustc-link-lib=dl",
"cargo:rustc-link-lib=m",
"cargo:rustc-link-lib=pthread",
"cargo:rustc-link-lib=rt",
],
}
=== Found OpenCV library version: 4.5.1 in headers located at: /build/dev/opencv-rust/headers/4
error occurred: Command "c++" "-O1" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "/build/dev/opencv-rust/src_cpp" "-I" "/target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out" "-I" "." "-I" "/opt/opencv/include/opencv4" "-Wall" "-Wextra" "-std=c++11" "-Wno-class-memaccess" "-Wno-deprecated-declarations" "-Wno-deprecated-copy" "-Wno-unused-variable" "-Wno-return-type-c-linkage" "-o" "/target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/stitching.o" "-c" "/target/x86_64-unknown-linux-gnu/debug/build/opencv-813bde3d11284590/out/stitching.cpp" with args "c++" did not execute successfully (status code exit code: 1).
Both of those logs seem to be caused by the mismatch between installed and generated headers, so there is no going around buildtime-bindgen
here.
I know that in the troubleshooting guide it strongly recommends using the
buildtime-bindgen
feature. I will open another issue shortly describing why that doesn't work. The error here is that it is expectingdnn_superres.hpp
to be available even though I don't have thecontrib
feature enabled.Operating system: Linux 5.7.8 in a podman container OpenCV installation: manual cross-compilation OpenCV version: 4.5.1 Rustc version: rustc 1.49.0 (e1884a8e3 2020-12-29) Output from build: