You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
when I Build native wrapper OpenCvSharpExtern:
cd opencvsharp/src
mkdir build
cd build
cmake ..
make -j
Example code:
no code
Output:
It has error: logs as elow:
uif17693@uif17693:~/opencvsharp/src/build$ make -j2
Consolidate compiler generated dependencies of target OpenCvSharpExtern
[ 2%] Building CXX object OpenCvSharpExtern/CMakeFiles/OpenCvSharpExtern.dir/aruco.cpp.o
[ 5%] Building CXX object OpenCvSharpExtern/CMakeFiles/OpenCvSharpExtern.dir/bgsegm.cpp.o
In file included from /home/uif17693/opencvsharp/src/OpenCvSharpExtern/aruco.cpp:1:
/home/uif17693/opencvsharp/src/OpenCvSharpExtern/aruco.h: In function ‘cv::aruco::DetectorParameters cpp(const aruco_DetectorParameters&)’:
/home/uif17693/opencvsharp/src/OpenCvSharpExtern/aruco.h:80:12: error: ‘struct cv::aruco::DetectorParameters’ has no member named ‘useAruco3Detection’
80 | pp.useAruco3Detection = p.useAruco3Detection;
| ^~~~~~~~~~~~~~~~~~
/home/uif17693/opencvsharp/src/OpenCvSharpExtern/aruco.h:81:12: error: ‘struct cv::aruco::DetectorParameters’ has no member named ‘minSideLengthCanonicalImg’
81 | pp.minSideLengthCanonicalImg = p.minSideLengthCanonicalImg;
| ^~~~~~~~~~~~~~~~~~~~~~~~~
/home/uif17693/opencvsharp/src/OpenCvSharpExtern/aruco.h:82:12: error: ‘struct cv::aruco::DetectorParameters’ has no member named ‘minMarkerLengthRatioOriginalImg’
82 | pp.minMarkerLengthRatioOriginalImg = p.minMarkerLengthRatioOriginalImg;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/uif17693/opencvsharp/src/OpenCvSharpExtern/aruco.cpp:1:
/home/uif17693/opencvsharp/src/OpenCvSharpExtern/aruco.h: In function ‘ExceptionStatus aruco_readDictionary(const char*, cv::aruco::Dictionary**)’:
/home/uif17693/opencvsharp/src/OpenCvSharpExtern/aruco.h:158:34: error: ‘class cv::aruco::Dictionary’ has no member named ‘readDictionary’; did you mean ‘Dictionary’?
158 | auto result = dictionary.readDictionary(rootNode);
| ^~~~~~~~~~~~~~
| Dictionary
/home/uif17693/opencvsharp/src/OpenCvSharpExtern/aruco.h: In function ‘ExceptionStatus aruco_Dictionary_generateImageMarker(cv::aruco::Dictionary*, int, int, cv::_OutputArray*, int)’:
/home/uif17693/opencvsharp/src/OpenCvSharpExtern/aruco.h:238:14: error: ‘class cv::aruco::Dictionary’ has no member named ‘generateImageMarker’
238 | obj->generateImageMarker(id, sidePixels, *img, borderBits);
| ^~~~~~~~~~~~~~~~~~~
make[2]: *** [OpenCvSharpExtern/CMakeFiles/OpenCvSharpExtern.dir/build.make:76: OpenCvSharpExtern/CMakeFiles/OpenCvSharpExtern.dir/aruco.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [CMakeFiles/Makefile2:98: OpenCvSharpExtern/CMakeFiles/OpenCvSharpExtern.dir/all] Error 2
make: *** [Makefile:136: all] Error 2
uif17693@uif17693:~/opencvsharp/src/build$
What did you intend to be?
How to solve the error ?Thank you.
The text was updated successfully, but these errors were encountered:
Summary of your issue
Environment
ubuntu22.04
What did you do when you faced the problem?
when I Build native wrapper OpenCvSharpExtern:
cd opencvsharp/src
mkdir build
cd build
cmake ..
make -j
Example code:
Output:
What did you intend to be?
How to solve the error ?Thank you.
The text was updated successfully, but these errors were encountered: