-
Notifications
You must be signed in to change notification settings - Fork 25
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
Building examples failed : error C2039: 'add_glsl': is not a member of 'vuk::PipelineBaseCreateInfo' #44
Comments
Hi, Most of the examples require shaderc ( |
@martty Hi, thanks for your reply.
Even I commented the |
Very odd - does commenting out the directive not change the error at all? |
@martty sorry, I forgot to post the errors, yep, error has changed:
|
Still odd - seems like the buildsystem is getting confused and not building the lib? Can you do a clean and rebuild? |
Oh I see now what is happening - you are not supposed to generate from the examples directory. Generate from the top level CMakeLists.txt - that is what makes the vuk target. If you have the VUK_BUILD_EXAMPLES turned on (eg. you generated with -DVUK_BUILD_EXAMPLES=1), then the examples will get built for you. |
Since the linker is unable to open the output file for writing (and intermittently) can suggest that this could be an anti-virus software locking the newly created file or something similar. Try rerunning - to my knowledge there is no difference between the build configuration of the examples, so either all should link or none. |
The text was updated successfully, but these errors were encountered: