Calypso
Calypso copied to clipboard
Linking to opencv issue.
Hi
Out of my programming depth, but trying. :)
I tried using this library before to link to OpenCV but haven't had time to look at it in a while (a year maybe). Just trying to back into it, and my code is giving me the below warnings
/usr/lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/streambuf(259): Deprecation: module ℂcpp.std.ios_base is not accessible here, perhaps add 'static import ℂcpp.std.ios_base;'
/usr/lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/streambuf(259): Deprecation: module ℂcpp.std.ios_base is not accessible here, perhaps add 'static import ℂcpp.std.ios_base;'
/usr/lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/streambuf(271): Deprecation: module ℂcpp.std.ios_base is not accessible here, perhaps add 'static import ℂcpp.std.ios_base;'
/usr/lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/streambuf(271): Deprecation: module ℂcpp.std.ios_base is not accessible here, perhaps add 'static import ℂcpp.std.ios_base;'
/usr/lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/streambuf(610): Deprecation: module ℂcpp.std.ios_base is not accessible here, perhaps add 'static import ℂcpp.std.ios_base;'
/usr/lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/streambuf(610): Deprecation: module ℂcpp.std.ios_base is not accessible here, perhaps add 'static import ℂcpp.std.ios_base;'
/usr/lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/streambuf(622): Deprecation: module ℂcpp.std.ios_base is not accessible here, perhaps add 'static import ℂcpp.std.ios_base;'
/usr/lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/streambuf(622): Deprecation: module ℂcpp.std.ios_base is not accessible here, perhaps add 'static import ℂcpp.std.ios_base;'
/usr/local/include/opencv2/core/mat.hpp(945): Deprecation: module ℂcpp.cv.Range is not accessible here, perhaps add 'static import ℂcpp.cv.Range;'
/usr/local/include/opencv2/core/mat.hpp(1054): Deprecation: module ℂcpp.cv.UMatUsageFlags is not accessible here, perhaps add 'static import ℂcpp.cv.UMatUsageFlags;'
and errors
/usr/lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/stl_vector.h(1610): Error: undefined identifier _Tp
/usr/lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/stl_vector.h(1610): Error: undefined identifier _Tp
/usr/lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/stl_vector.h(339): Error: template instance ℂcpp.std.vector.vector!(GpuMat, allocator!(GpuMat)) error instantiating
/usr/local/include/opencv2/core/mat.hpp(199): Error: template instance vector!(.ℂcpp.cv.UMat.UMat, .ℂcpp.std.allocator.allocator!(.ℂcpp.cv.UMat.UMat)) is used as a type
/usr/local/include/opencv2/core/mat.hpp(210): Error: template instance vector!(.ℂcpp.cv.UMat.UMat, .ℂcpp.std.allocator.allocator!(.ℂcpp.cv.UMat.UMat)) is used as a type
/usr/local/include/opencv2/core/mat.hpp(1291): Deprecation: module ℂcpp.cv.DecompTypes is not accessible here, perhaps add 'static import ℂcpp.cv.DecompTypes;'
/usr/local/include/opencv2/core/mat.hpp(301): Error: template instance vector!(.ℂcpp.cv.Mat.Mat, .ℂcpp.std.allocator.allocator!(.ℂcpp.cv.Mat.Mat)) is used as a type
/usr/local/include/opencv2/core/mat.hpp(316): Error: template instance vector!(.ℂcpp.cv.UMat.UMat, .ℂcpp.std.allocator.allocator!(.ℂcpp.cv.UMat.UMat)) is used as a type
/usr/local/include/opencv2/core/mat.hpp(319): Error: template instance vector!(.ℂcpp.cv.Mat.Mat, .ℂcpp.std.allocator.allocator!(.ℂcpp.cv.Mat.Mat)) is used as a type
/usr/local/include/opencv2/core/mat.hpp(332): Error: template instance vector!(.ℂcpp.cv.UMat.UMat, .ℂcpp.std.allocator.allocator!(.ℂcpp.cv.UMat.UMat)) is used as a type
/usr/local/include/opencv2/core/mat.hpp(361): Error: template instance vector!(.ℂcpp.cv.UMat.UMat, .ℂcpp.std.allocator.allocator!(.ℂcpp.cv.UMat.UMat)) is used as a type
/usr/local/include/opencv2/core/mat.hpp(362): Error: template instance vector!(.ℂcpp.cv.Mat.Mat, .ℂcpp.std.allocator.allocator!(.ℂcpp.cv.Mat.Mat)) is used as a type
/usr/local/include/opencv2/core/mat.hpp(372): Error: template instance vector!(.ℂcpp.cv.Mat.Mat, .ℂcpp.std.allocator.allocator!(.ℂcpp.cv.Mat.Mat)) is used as a type
/usr/local/include/opencv2/core/mat.hpp(385): Error: template instance vector!(.ℂcpp.cv.UMat.UMat, .ℂcpp.std.allocator.allocator!(.ℂcpp.cv.UMat.UMat)) is used as a type
/usr/local/include/opencv2/core/mat.hpp(388): Error: template instance vector!(.ℂcpp.cv.Mat.Mat, .ℂcpp.std.allocator.allocator!(.ℂcpp.cv.Mat.Mat)) is used as a type
/usr/local/include/opencv2/core/mat.hpp(401): Error: template instance vector!(.ℂcpp.cv.UMat.UMat, .ℂcpp.std.allocator.allocator!(.ℂcpp.cv.UMat.UMat)) is used as a type
LInking source files for stl_vector.h and mat.hpp are the token gestures I can take to make someone's life easier if they want to help me!
I'm not even sure what information I need to provide to help someone assist me. :(