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
Unable to run the files in bin after building in linux #551
Comments
This looks like the demos are not able to locate the assets. That error is from the line trying to load the font for the UI (see here). Comment out that line and try again, if it works then I need to fix this on my side. |
After commenting the line the demos are running succesfully , thanks for the help. |
I know this is closed, but I ran into this as well. For anyone else finding this, I was also able to work around it by running the files from within
|
What's the error message? Did you download the asset pack? |
Actually I also ran into this problem as well today. The whole error trace is just
I have downloaded asset before. Executing from within bin/ doesn't work for me, but commenting this line out and rebuild works. Maybe you could look into this. ^_^ |
Why is this closed? Today it still stops me from running the bins I just compiled. |
The line @SaschaWillems pointed out above: Vulkan/base/VulkanUIOverlay.cpp Line 75 in cf83c1b
uses a hard coded relative import path for a font. The Linux build instructions have almost no details on how to make this besides "use cmake." Those two things taken together are why this bug is here. Anyway, the solution I use here is to make sure I execute the compiled binaries from any place where file ./../data/Roboto-Medium.ttf will run without error. |
In case anyone finds this in the future - run download_assets.py in the project root. Fixed it for me. It pulls down 536MB of dependencies. |
Thanks, downloading assets according to https://github.com/SaschaWillems/Vulkan#assets did help! |
i have cloned the repository and created a build directory. gave cmake .. and make all after that.
the above steps are succesfully executed. but still i am unable to run the files in the build/bin directory, i'm getting an error for all the files except for ./traingle
**
**
I'm new to Vulkan and i don't know where i'm doing it wrong , please help me.
The text was updated successfully, but these errors were encountered: