-
Notifications
You must be signed in to change notification settings - Fork 158
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
Volk present but not detected #1021
Comments
It's -DUPDATE_DEPS=ON and you need to delete your cache to make sure it is getting populated. I'm not sure off the top of my head where volk_dir points to - it might be the root of the install directory, so setting it to /usr/local may work, or it may need /usr/local/lib. |
Thanks - yes, it’s DUPDATE_DEPS=ON, I checked volk, vulkan-headers, etc were downloaded - vulkan-headers, etc are detected, but not volk. I’ve set -Dvolk_DIR to /usr/local, /usr/local/lib, /usr/local/lib/cmake as well, but none work. |
Using volk-3.1.2 and Vulkan-Tools-1.3.292, If find_package(volk QUIET REQUIRED CONFIG) is changed to find_package(Volk QUIET REQUIRED CONFIG) then volk is found. Configuring still fails with errors of the form:
It looks like the target should be Volk::volk - this allows configuring to finish, but then there are many "make" errors of the form:
|
So looking at my own build, I see that
Looking at the CMake code, you should be setting VOLK_INSTALL_DIR, not volk_DIR. I'm not sure who/what volk_DIR is or comes from, but it seems to be an internal variable, not the one that the user should set. |
IT looks like the problem is small "v" versus capital "V". If I use VOLK_INSTALL_DIR=/usr/local/lib, I get the error:
..but I have:
As mentioned above, if I change the search from volk to Volk, volk is found, but the are still problems of volk versus Volk. |
Building vulkan-tools-1.3.292, volk is not detected even though present in /usr/local.
-Dvolk_dir=/usr/local/lib/cmake/volk does not help.
-DUPDATES=ON downloads volk, but it is still not detected.
The text was updated successfully, but these errors were encountered: