-
Notifications
You must be signed in to change notification settings - Fork 157
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
Update compileSource function in examples/docs to correct one #261
Comments
Did you pull the submodule repos? |
FML... nope. Checking.... |
Ok, running BUILD_ALL and says
|
Hmm ok you just found out an actual bug on the code. You have to change:
to
On line 54 of that example |
If you confirm that works for you I can update with the fix |
Well, it builds. Still getting `Unable to start program (...) Access is denied." Don't know why though. |
That seems a bit strange, never seen that before - are you running it different to how you're buidling? Sounds like permissions issue, or perhaps running the different binary? Are you using visual studio or running via command line? |
Fixed via #262 |
Using Visual Studio 19, other projects worked fine. No matter which vcxproj file I open, it always opens a set of all projects. building fine, but then the permission. Let me see if I can fix this. |
I can run the debug build manually... not from VS though and it aborts with an error dialog, CLI output is this:
|
What is the |
Hmm I wonder if this is failing due to support on windows or due to permissions, let me set up the windows machine to try it as I normally run it on linux or on wsl2 |
I am at easy that it is not only my stupidity :) Thanks for looking into this! |
Hmm quite strange as that is a tmp file that gets created to put the SPIR-V compiled contents of the string so that it can bse used by the algorithm - if it indeed is that I will try to see if updating permissions is the only thing required to fix or whether there's actually something deeper |
Ok @kommander it seems the issue was just lack from my side on updating the correct one which is this one: kompute/test/utils/kompute_test/Shader.hpp Lines 19 to 32 in ec27834
I have now updated in the PR https://github.com/KomputeProject/kompute/pull/262/files Can you try adding the same change and confirming it works for you? I can confirm that it works from my side: I have to look at adding these examples to the CI as well |
I've had a deeper scan in the code and found a couple of other parts in the docs and godot example where this needed updating as well - it shoudl all be good, thanks for the heads up, let me know once you can confirm. |
Ah great - nice one, thanks 👍 |
Thank you! Closing this then... EDIT: Should it stay open? |
Hello, |
I am not a windows guy... but what the hell?
Followed the example here: https://github.com/KomputeProject/kompute/tree/master/examples/array_multiplication
Frustrating... The example does not mention vulkan headers and the other deps should be optional but are not. wth?
The text was updated successfully, but these errors were encountered: