-
Notifications
You must be signed in to change notification settings - Fork 6.4k
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
[opencv4[contrib]] build failure #10139
Comments
From your log:
I also have spurious filesystem issues, unrelated to ports. May be related to something else? |
What's weird about this problem is that it doesn't happen every time. If I build with |
Hi @theoractice, thanks for reporting this issue! Thanks. |
@JackBoosY Building always fail after I set the
I don't have any antivirus software installed on my machine, even Windows Defender is disabled. This is how I modified the portfile.cmake:
|
@theoractice Could you remove
|
I think basically it says cannot open file “opengl32.lib”, however the opengl lib is there. I tried to reinstall opengl and this error still exists. |
Today I gave it another try:
However the build process continued and succeeded at last. |
@theoractice There may be some problems there, which is why this message is displayed : ) So, does this issue resolved? |
The answer is NO. Recently I reinstalled Win10 and vcpkg, This time the following command Update: I tried for about 10 times and finally got one build completed with no error. |
After the newest VS2019 update, the failure odds seems to have decreased a lot, but it still happens. Anyway, this issue is more likely to be VS related. I think I can close this issue now. |
@theoractice Sorry for that, I still can't repro it. I think it may be due to conflicts caused by some libraries already installed in the system. |
|
|
LINK : fatal error LNK1104: cannot open file 'bin\opencv_imgprocd.dll' |
@luodaoyi This issue is normally due to permissions, antivirus or disk space. |
I think is not. Because I try this in 4 different computer. There are same issue except different file. |
same antivirus on all pc? try to disable it from scanning vcpkg folder |
|
Can you please try to use another disk instead of |
It's been two years and I can promise that with vs2022, I never ran into this problem again. |
Cuda 11.6 not support cudnn. https://developer.nvidia.com/rdp/cudnn-archive I find this service look likes Antivirus :
I will delete it (do this)
delete the same name .sys file on Fucking alibaba !!!! |
cudnn 8.4 supports cuda 11.6 and is already out |
Really? I'm try |
So is the LNK1104 problem gone now? |
Yes! Thank you !!! |
Host Environment
To Reproduce
Steps to reproduce the behavior:
vcpkg install opencv4[contrib] --recurse
Failure logs
install-x86-windows-dbg-out.log
The text was updated successfully, but these errors were encountered: