Giter VIP home page Giter VIP logo

Comments (4)

jeremyg-lunarg avatar jeremyg-lunarg commented on July 4, 2024

It looks like you may be getting stale vulkan headers somehow. For example VkPhysicalDevicePresentWaitFeaturesKHR was added in Vulkan 1.2.185.

Are you using update_deps.py and cmake -C helper.cmake? If not you may need to set VULKAN_HEADERS_INSTALL_DIR to point to the correct location for the new headers.

from vulkan-extensionlayer.

janemba avatar janemba commented on July 4, 2024

I got the same issue using update_deps.py and cmake -C helper.cmake. I did it that way:

$ mkdir -p build
$ cd build
$ python ../scripts/update_deps.py
$ cmake -C helper.cmake \
    -DCMAKE_INSTALL_PREFIX=/usr \
    -DCMAKE_INSTALL_SYSCONFDIR=/etc \
    -DCMAKE_INSTALL_DATADIR=/share \
    -DCMAKE_SKIP_RPATH=True \
    -DBUILD_TESTS=Off \
    -DBUILD_WSI_XLIB_SUPPORT=On \
    -DBUILD_WSI_XCB_SUPPORT=On \
    -DBUILD_WSI_WAYLAND_SUPPORT=On \
    -DCMAKE_BUILD_TYPE=Release \
    -DVULKAN_HEADERS_INSTALL_DIR=$PKG/usr \
    -DBUILD_LAYER_SUPPORT_FILES=On \
    ..

I logged the entire output in a file because the whole thing is too big for a copy/paste.

vulkan.log

from vulkan-extensionlayer.

jeremyg-lunarg avatar jeremyg-lunarg commented on July 4, 2024

Using helper.cmake AND setting VULKAN_HEADERS_INSTALL_DIR will conflict with each other

From your log, it looks like -DVULKAN_HEADERS_INSTALL_DIR=$PKG/usr wins, and whatever is there is not correct.

********************************************************************************
-- Found VulkanHeaders: /tmp/package-vulkan-sdk/usr/include  
-- Found VulkanRegistry: /tmp/package-vulkan-sdk/usr/share/vulkan/registry  
-- Configuring done
-- Generating done

Using only helper.cmake should have set VULKAN_HEADERS_INSTALL_DIR to:
/tmp/Vulkan-ExtensionLayer-sdk-1.2.189.0/build/Vulkan-Headers/build/install/

from vulkan-extensionlayer.

janemba avatar janemba commented on July 4, 2024

Thank you for your help.

I remove the cmake switch and it works.

from vulkan-extensionlayer.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.