Replies: 1 comment 2 replies
-
Because it can't find the assets that it expects to be in the current directory.
What is the hidden directory structure? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
The directory layout for running programs is a true mess IMHO.
I just built DiligentEngine + the samples using MSVC-2026, CMake and MSBuild.
So after an
install, acd <install-root>\bin\DiligentSamples\Samples\Atmosphere\RelWithDebInfoandrunning
Atmosphere.exeworks just fine.But running it like
..\<install-root>\bin\DiligentSamples\Samples\Atmosphere\RelWithDebInfo\Atmosphere.exe, it crashes goodon some NULL-ptr access.
Can someone please explain the reason for this? Has nobody really not encountered this before?
Can the samples not
cwd()to it's own directory first to obtain the full path to it's assets?BTW. that also a mystery to me; what is the assumed/hidden directory structure for e.g.
running
Atmosphere.exe? It seems to be:But why not:
Thus making it possible to put all programs in one
bindirectory?Beta Was this translation helpful? Give feedback.
All reactions