Repository navigation
Replies: 1 comment
|
The header only declares this function, so you must also link the library. Unpack a Slang release and add: find_package(slang REQUIRED CONFIG PATHS /path/to/slang-release)
target_link_libraries(HowToVulkan PRIVATE slang::slang) |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Hello, I'm trying to configure & build my Vulkan test project that includes Slang, I'm learning from "howtovulkan.com". I'm encountering some errors...
Running
makegives this error... even though I made sure the build dir for my Vulkan project was empty and rancmake ../ && makein itI've tried looking up the error, but the results do not seem to help me
I did this in my
main.cppto include the Slang header filesI acquired my recursive clone of Slang shading language by running these commands:
git clone https://github.com/shader-slang/slang.git cd slang git submodule update --init --recursiveAll reactions