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
Issues with underscore in "_edit" dir name on Linux #12
Comments
Hi timo-oster, Thanks, that looks like a bug, and it sounds like adding On a fresh Ubuntu 20.04 running in WSL using the Makefiles generator (I haven't tested ninja on the latest version yet), it seems to create the .spv file:
The generated Makefile appears to have the correct syntax - I can definitely spot an issue with spaces here that
I could imagine an issue with backslashes and escape sequences, but these are forward slashes; apparently some Linux GUIs display underscores as spaces, but that is probably not the problem here. Thanks! --Neil |
I tried investigating this a bit further and removed the VERBATIM keyword again. I also ran make clean and deleted the cmake build directory to start over from scratch. Strangely, the spv file is now generated even without VERBATIM. I'm a little further into the tutorial now than I was before. Not sure if that could have anything to do with it. But I can't reproduce the issue any more. |
Hi again Timo, Thanks, that's good to hear! I just added something upstream (which should be arriving with the next bulk-update) that might address a similar thing - since the Thanks again! |
Okay, the improvement mentioned in the last comment has now been integrated in commit 5cf2ea9! This should help avoid some issues with creating shaders in the _edit directory. Thanks again! |
I'm trying to do the tutorial on Linux, but I've run into a problem when compiling the first shader file. The shader compiler is not run for the _edit project and no spv file is generated. It appears that this is caused by the underscore in the name of the directory. I was able to fix the issue by renaming the directory, or alternatively, by adding the keyword
VERBATIM
to theadd_custom_command
call in the_compile_GLSL_flags
macro innvpro_core/cmake/setup.cmake
.The text was updated successfully, but these errors were encountered: