GithubHelp home page GithubHelp logo

Comments (5)

GabrieleFrau avatar GabrieleFrau commented on May 31, 2024

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.

texus avatar texus commented on May 31, 2024

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.

danyalzia avatar danyalzia commented on May 31, 2024

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.

texus avatar texus commented on May 31, 2024

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.

danyalzia avatar danyalzia commented on May 31, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.