-
-
Notifications
You must be signed in to change notification settings - Fork 162
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
Fails to link any program using opencv due to multiple missing dependencies #161
Comments
Hi, I'd like to see the full build log as you get it when you run |
Hi, thanks for getting back. I've updated the gist to show the full log. |
I think that the last lines of the log are cut out, I can't see the linking error anymore |
Yes, the gist does truncate the output. Here's the link to full raw (you can find it at the top of initial screen too): |
Are you using a nightly compiler? If so which particular version? Can you try with a stable Rust? 1.45.2 that is |
FWIW, I just dig through docs enough to find And I'm using:
|
Ah, I'm going to update the troubleshooting guide with that info, thanks! |
I am not sure if it's not closed too early. Static linking would me more idiomatic for rust. But that also may be |
Well, for static linking the is a separate issue: #104 but so far I haven't investigated that. It would definitely be good to have such option. |
I am unable to produce a binary using opencv-rust, due to linkage errors as below.
Windows 10 19041.421
vpkg install opencv[contrib,cuda,dnn,ffmpeg,jpeg,nonfree,opengl,png,tiff,webp]:x64-windows-static-md
opencv4:x64-windows-static-md 4.3.0 computer vision library
Cuda is also installed as a dependency, automatically by vcpkg:
There's multiple dependencies missing for cuda, native windows (tls, bcrypt, win32 windows), and in protobuf (dnn component of opencv depends on it) too.
Full log here:
https://gist.github.com/unjello/93b3f7ff8d7ee092e426c98e2a03d2f0
The text was updated successfully, but these errors were encountered: