-
Notifications
You must be signed in to change notification settings - Fork 115
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
[bug] Cannot built in vcpkg - MSVS2022 + Cuda 12.6 #161
Comments
Hey @griwodz, i've been trying to build your mentioned branch and run into the issue of DevIL not being found. I have installed vcpkg by cloning the vcpkg repo into popsift folder, bootstrapped it from there. Installed all the necessary dependencies as listed in the README, including DevIL, still it can't seem to find it. Can you tell me what i am doing wrong here? Am i missing an argument that points to the DevIL library? |
Hi @Apotrox , I don't actually know anything useful about Windows and vcpkg, I rely on the continuous integration on Github to see if Windows compiles. So I googled for something that may help. "vcpkg install popsift" works by downloading its portfile.cmake Section 2 on this web page "https://learn.microsoft.com/en-us/vcpkg/get_started/get-started-packaging?pivots=shell-cmd" explains how you can use portfiles in the local filesystem instead of downloading them from github if you set VCPKG_ROOT. If that works, you can probably get the right branch. Google gave a page with some hints: microsoft/vcpkg#1081 This looks as if you can update the portfile:
I interpret the "issues/1801" page as: You try running vcpck once and it fails, but tells you the SHA512 hash you should be using. The "Getting started" web page says the same thing in section 6: try installing, fail, copy the right hash. |
One more ... I cannot see that the vcpkg portfile installs DevIL. See here: Maybe the only thing needed is to add devil to vcpkg.json below the 4 boost dependencies? |
@griwodz Holy! Thanks! It built!
|
Describe the bug
Trying to build AliceVision following the guide (for Windows), i am unable to build popsift.
To Reproduce
Steps to reproduce the behavior:
.\vcpkg.exe install popsift
in the vcpkg directory)Expected behavior
Popsift builds without issues
Log
install-x64-windows-dbg-out.log
Desktop (please complete the following and other pertinent information):
Additional context
Previously had an error describing unsupported visual studio version/compiler. Updated Cuda from 12.3 to 12.6 as well as my VS2022 installation with the latest MSVC (17.9), fixing the compiler issue but presenting me with this :)
The text was updated successfully, but these errors were encountered: