Closed FreePhoenix888 closed 6 months ago
Hi @FreePhoenix888
Thanks for your report and details to reproduce. I have managed to do all steps, in Windows, and the application builds succesfully and I can run it.
A GUI window opens up and shows the controls and the logo, but not the colored triangle. It also prints to terminal:
Error reading Shader File!
Error reading Shader File!
Error compiling Vertex Shader:
Error compiling Fragment Shader:
Error Linking Shader Program:
Quick question: is the GUI window opening in your case, or crashing and opening to fail? Do you see anything at all?
Ok, the issue in my case seems to be that the assets (the shaders) are not in the right location.
Copying them from the assets
folder into the build\Release
folder besides the built executable, and launching again the executable makes it work.
@Konard, you seeing the same issue? Can you please check if it is the shaders file location?
Hi @FreePhoenix888
Thanks for your report and details to reproduce. I have managed to do all steps, in Windows, and the application builds succesfully and I can run it.
A GUI window opens up and shows the controls and the logo, but not the colored triangle. It also prints to terminal:
Error reading Shader File! Error reading Shader File! Error compiling Vertex Shader: Error compiling Fragment Shader: Error Linking Shader Program:
Quick question: is the GUI window opening in your case, or crashing and opening to fail? Do you see anything at all?
I see empty white window with default window controls on the top and after error it closes itself
Ok, the issue in my case seems to be that the assets (the shaders) are not in the right location. Copying them from the
assets
folder into thebuild\Release
folder besides the built executable, and launching again the executable makes it work.
Thank you I will try it later
Hi @FreePhoenix888, Thanks for reporting. I opened a PR that should fix it: https://github.com/conan-io/examples2/pull/129
https://github.com/conan-io/examples2/pull/129 has fixed this issue, but please re-open or create a new ticket if there is any further issue.