Comments (5)
I would suggest to update SFML anyway, although 2.1 is marked as release, the master branch is more stable even in the devs' opinion.
from tgui.
This is honestly the first time I see a crash on linux. When I saw the description I thought this was once again a binaray incompatibility, but that is a problem with windows.
I will see if I can reproduce the crash.
Which ubuntu version are u using? (in case it won't crash on mine)
But in the meantime you can just use the latest sfml version. There is actually no reason not to use it, since it is indeed more stable than sfml 2.1.
git clone https://github.com/LaurentGomila/SFML
mkdir SFML/build
cd SFML/build
cmake ..
make -j4
sudo make install
from tgui.
Never mind. With the latest SFML version, the examples work as expected, so it is true that current branch isn't compatible with SFML 2.1. Thor also required latest branch, so they explicitly mentioned it on their website. Apparently, there have been several changes in ABI so it's hard to support both versions. I think it needs to be mentioned in TGUI's site too.
I thought latest branch of SFML might have an API incompatibility with 2.1, so I was reluctant to update as I have several toy projects written with SFML 2.1, but it seems there hasn't been any API changes lately -- which is good for me!
Ubuntu's version is 14.01 LTS. You can reproduce the crash with SFML 2.1.
from tgui.
It doesn't crash on my linux mint 17 (which is if I am correct based on ubuntu 14.04).
The reason why Thor requires the latest version is probably the same reason why tgui v0.7-dev requires the latest version: it uses functions that were not in sfml 2.1 yet.
I'm not going to put a notice on my site that it doesn't work with sfml 2.1, because it does. It works on windows, on my linux mint and on my arch linux. It just doesn't work on your linux for some reason.
If you want to continue with finding the error then you might want to build the debug library of tgui so that you at least get a line number of the crash inside the draw function.
But I'm not really sure if it is really worth the effort.
from tgui.
Yes, it's not worth the effort as it works on others' linux as you said. It maybe that 2.1 had some driver-specific bug which caused crash on draw function as it magically fixes for me by just replacing 2.1 with latest. If another user report a crash on linux, you can anyway refer to this issue.
from tgui.
Related Issues (20)
- Autocomplete support for EditBox HOT 2
- Can not input CJK words HOT 9
- Black background shown when changing window size HOT 4
- How to customize the window's title bar and frame HOT 2
- How to implement a polygon window HOT 2
- Hover style does not disappear when mouse moves out of the window HOT 6
- Add a 2d chart or rendering 3d data for TGUI? HOT 1
- Chinese support? HOT 5
- Focus Issues HOT 1
- [ANNOUNCE] The TGUI now distributed via MSYS2 on Windows HOT 1
- CMake fails to install pkg-config files HOT 2
- On macOS, Input Method Editors(IME) behavior seems incorrect. HOT 6
- How to use SDL2/3 backend with cmake `FetchContent` HOT 2
- [Question] How to compile my first example of TGUI ? HOT 13
- [Bug] Dead radio button text HOT 3
- [Bug] Tabs state after disabled tab click HOT 2
- FileDialog documentation needs clarification and maybe working examples HOT 4
- Is there a C binding? HOT 12
- Raylib backend? HOT 15
- Cannot delete widgets inside of the gui-builder 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 tgui.