Comments (5)
Hi,
I think that define is supposed to come from SDL2's SDL_config.h header. As far as I know, that define is used just in SDL_syswm.h to include the member struct that is referenced in egl_helper (specifically w.info.wl). The demos build out of the box under Ubuntu based distros and several others I have tested.
That it fails to build is quite troubling, what Linux distro does it not build under without adding the SDL_VIDEO_DRIVER_WAYLAND ?
-Kevin
from fastuidraw.
I did a significant update: I removed the entire EGL binding system from the demos and FastUIDraw. It was made (quite some time ago) when I had encountered issues with letting SDL2 get an GLES context itself (the issue only manifested on one platform I tested and I suspect it was caused by an error I made). The upshot is that the demos transparently rely on SDL2 to do the right thing about the windowing system and getting a GL/GLES context instead of having an option to do it itself.
Let me know if this works fine for you and if it does, I will close the issue.
from fastuidraw.
Did the latest commits resolve your issues?
from fastuidraw.
You catch me on a vacation with a bad internet connection, give me a few days :o)
from fastuidraw.
Sry for taking such a long time. It works for me now. In case it still matters: I use Void Linux with sway (Wayland compositor with XWayland support).
from fastuidraw.
Related Issues (20)
- Artifacts in painter-path-test-GL-release HOT 7
- Artifacts with shader-based anti-aliasing filling HOT 31
- Static Build HOT 21
- Regression: shader failed to compile HOT 1
- Missing include? HOT 1
- Build system does not find SDL headers on vanilla Arch Linux HOT 5
- GCC 8.2.0 cross-compile GLES HOT 2
- Innocent typo? HOT 1
- make check should generate error on missing dependencies HOT 2
- Prefix NGL exe with ./ on Linux in Makefile HOT 2
- make check: SDL2 image error unclear. HOT 4
- Some questions... HOT 2
- Segmentation fault in test using GLFW HOT 2
- Could not set the background color HOT 5
- Possible high cpu usage drawing lines ? HOT 13
- State of chromium integration HOT 2
- Evaluating fastuidraw for VCV Rack HOT 6
- New SPIR SPV_INTEL_vector_compute extension
- How can I compile in 64bit? HOT 1
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 fastuidraw.