-
-
Notifications
You must be signed in to change notification settings - Fork 144
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cargo build failing for opencv with following error: #503
Comments
I would be great if you you could provide the full output of the |
Sure please look at this file: |
As far as I can see you've built a very limited set of opencv modules:
I would recommend you limiting the crate module set in
That would skip the binding generation for the missing If alternatively you do want to use the
|
Or you can also try disabling the
|
Thanks, setting the features alone resolved the issues for now. |
Although the successfully run build is returning this error on startup : |
Try placing this DLL next to the binary you're running. Also please check the point 4 from the Troubleshooting guide: https://github.com/twistedfall/opencv-rust#troubleshooting |
Yes. This helped. Thanks a lot. |
Before reporting an issue please first check the
troubleshooting guide. If
the issue you're encountering is not solved thereby please state the following in your bugreport:
Operating system
WINDOWS 11
The way you installed OpenCV: package, official binary distribution, manual compilation, etc.
Compilation from source using cmake and visual studio 2022
OpenCV version
4.8.0
rustc version (
rustc --version
)1.60
Attach the full output of the following command from your project directory:
libopencv-ba266e7466d1bc32.rlib(c6a52e00b2d3fa25-stitching.o) : error LNK2019: unresolved external symbol "public: enum cv::Stitcher::Status __cdecl cv::Stitcher::composePanorama(class cv::_InputArray const &,class cv::_OutputArray const &)" (?composePanorama@Stitcher@cv@@qeaa?AW4Status@12@AEBV_InputArray@2@AEBV_OutputArray@2@@z) referenced in function cv_Stitcher_composePanorama_const__InputArrayR_const__OutputArrayR
libopencv-ba266e7466d1bc32.rlib(c6a52e00b2d3fa25-stitching.o) : error LNK2019: unresolved external symbol "public: enum cv::Stitcher::Status __cdecl cv::Stitcher::stitch(class cv::_InputArray const &,class cv::_OutputArray const &)" (?stitch@Stitcher@cv@@qeaa?AW4Status@12@AEBV_InputArray@2@AEBV_OutputArray@2@@z) referenced in function cv_Stitcher_stitch_const__InputArrayR_const__OutputArrayR
libopencv-ba266e7466d1bc32.rlib(c6a52e00b2d3fa25-stitching.o) : error LNK2019: unresolved external symbol "public: enum cv::Stitcher::Status __cdecl cv::Stitcher::stitch(class cv::_InputArray const &,class cv::_InputArray const &,class cv::_OutputArray const &)" (?stitch@Stitcher@cv@@qeaa?AW4Status@12@AEBV_InputArray@2@0AEBV_OutputArray@2@@z) referenced in function cv_Stitcher_stitch_const__InputArrayR_const__InputArrayR_const__OutputArrayR
C:\Users\dipsico\Desktop\fabritow-desktop\src-tauri\target\debug\deps\app.exe : fatal error LNK1120: 680 unresolved externals
The text was updated successfully, but these errors were encountered: