Comments (6)
I was too much in hurry and didn't read full instructions.
I had missed this step:
export PATH="$PATH:/path/to/vsgExamples/bin"
export VSG_FILE_PATH=/path/to/vsgExamples/data
from vsgexamples.
Even without the VSG_FILE_PATH and PATH settings I wouldn't have expected a crash. Could you provide a stack trace for the condition that caused the crash?
I've tried to reproduce a crash at my end, but even with an invalid model path or no model path the lack of model is picked up and reported and the application exits gracefully.
from vsgexamples.
I have Ubuntu 20.04.2 LTS 64-bit and Intel HD Graphics 5500.
I have built and make installed latest VulkanSceneGraph , vsgXchange, vsgImGui and vsgGIS, with vulkansdk-linux-x86_64-1.2.162.1.
I have built examples using this:
git clone https://github.com/vsg-dev/vsgExamples.git
cd vsgExamples
cmake .
make -j 8
Now in the current terminal, if I don't set paths like this:
export PATH="$PATH:/path/to/vsgExamples/bin"
export VSG_FILE_PATH=/path/to/vsgExamples/data
then if I run vsgclip example like this ./bin/vsgclip then I simply get this error in the terminal while a window appears and close instantly:
shujaat@shujaat:~/Downloads/vsgExamples$ ./bin/vsgclip
windowTraits->swapchainPreferences.imageCount = 3
availableFeatures.samplerAnisotropy = 1, limits.maxSamplerAnisotropy = 16
availableFeatures.shaderClipDistance = 1, limits.maxClipDistances = 8
availableFeatures.shaderCullDistance = 1, limits.maxCullDistances = 8
limits.maxCombinedClipAndCullDistances = 8
Could not create shaders.
from vsgexamples.
Could you provide a stack trace for the condition that caused the crash?
Hopefully the previous comment will help, if not then please let me know. If there is any other way to produce/provide stack trace then please let me know how to do that so that I can help.
from vsgexamples.
from vsgexamples.
My best guess as to the cause of the problem is not build vsgExamples against vsgXchange, so the attempt to read the .vert and .frag shader files fails as vsgXchange provides the GLSL loader.
I've checked in a change to vsgExamples/state/CMakeLists.txt to ensure it's only built when vsgXchange is found. This should prevent this example from compiling without vsgXchange.
I may move the GLSL loader into the core VSG to avoid this issue, but this is clunky solution as well.
from vsgexamples.
Related Issues (20)
- how to render models with tileData? HOT 1
- If vsgTransform is no command line parameter, it will crash. HOT 1
- vsgviewer render readymap.vsgt? HOT 5
- Wayland support HOT 2
- Compiling issues for vsgvolume example HOT 4
- vertex and fragment source for vert_PushConstants.spv and frag_PushConstants.spv HOT 5
- Checked-in code inconsistent with .clang-format HOT 4
- vsgshadow without shadows on MacOS HOT 16
- None of the example models are actually compatible with vsgclip example HOT 2
- vsgshadow has black patches flickering on the ground HOT 4
- No CMakeLists.txt file for vsgoffscreenshot HOT 2
- vsgscreenshot can produce strange output HOT 2
- vsgexecutecommands crashes on windows HOT 8
- VSG_INSTANCE_POSITIONS format change HOT 2
- Request for a hello-world example HOT 3
- How to display a point on the earth map? HOT 1
- vsgvolume is actually broken on Windows 11 and Ubuntu 22.4 HOT 3
- problem with overlay views using multiple render graphs in the same window HOT 3
- DescriptorPool warning when using compileManager with storage buffers HOT 2
- Examples abort on shutdown when run in Debug HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vsgexamples.