SFML community forums

General => General discussions => Topic started by: eXpl0it3r on November 04, 2016, 03:27:50 pm

Title: SFML 2.4.1 released
Post by: eXpl0it3r on November 04, 2016, 03:27:50 pm
We finally got around to releasing a patch version SFML 2.4.1 that addresses a few urgent issues.

Some highlights are:

The full list of bugfixes can be found in the changelog: http://www.sfml-dev.org/changelog.php#sfml-2.4.1

Visit http://www.sfml-dev.org/ for download instructions and extensive documentation. We hope this release is useful to you and would love to get some feedback in our forums!
Title: Re: SFML 2.4.1 released
Post by: Sub on November 04, 2016, 07:38:11 pm
Awesome, looks like some solid fixes  ;D

I'm a bit confused though.  I downloaded the Linux GCC - 64-bit version, and some of the files in the lib folder are named SFML 2.4.0?
Title: Re: SFML 2.4.1 released
Post by: korczurekk on November 04, 2016, 08:28:53 pm
Awesome, looks like some solid fixes  ;D
Yep, my SFML-related library was broken after updating to 2.4.0 and 2.4.1 fixed it.  ;D

I'm a bit confused though.  I downloaded the Linux GCC - 64-bit version, and some of the files in the lib folder are named SFML 2.4.0?
I don't know what is in prebuilt binaries for Linux, but… seriously, you have such a great OS, where recompiling SFML from github is less than 5-6 commands and you download binaries?
Title: Re: SFML 2.4.1 released
Post by: Sub on November 04, 2016, 08:39:36 pm
I don't know what is in prebuilt binaries for Linux, but… seriously, you have such a great OS, where recompiling SFML from github is less than 5-6 commands and you download binaries?
Yeah.  I ran into this bug when compiling SFML myself

http://stackoverflow.com/questions/21224090/gcc-shared-library-failed-linking-to-glibc

You can work around it by adding this to the cmake file, https://web.archive.org/web/20160509014317/https://gitlab.peach-bun.com/pinion/SFML/commit/3383b4a472f0bd16a8161fb8760cd3e6333f1782.patch, but antialiasing doesn't appear to work when I compile builds with that workaround.  Nothing is easy lol
Title: Re: SFML 2.4.1 released
Post by: korczurekk on November 04, 2016, 09:42:24 pm
I don't know what is in prebuilt binaries for Linux, but… seriously, you have such a great OS, where recompiling SFML from github is less than 5-6 commands and you download binaries?
Yeah.  I ran into this bug when compiling SFML myself

http://stackoverflow.com/questions/21224090/gcc-shared-library-failed-linking-to-glibc

You can work around it by adding this to the cmake file, https://web.archive.org/web/20160509014317/https://gitlab.peach-bun.com/pinion/SFML/commit/3383b4a472f0bd16a8161fb8760cd3e6333f1782.patch, but antialiasing doesn't appear to work when I compile builds with that workaround.  Nothing is easy lol

What distribution do you use? I always typed
Code: [Select]
ccmake .; make; sudo make install and it worked well on Fedora, Ubuntu and Manjaro.  ???
Title: Re: SFML 2.4.1 released
Post by: eXpl0it3r on November 05, 2016, 02:35:19 am
I'm a bit confused though.  I downloaded the Linux GCC - 64-bit version, and some of the files in the lib folder are named SFML 2.4.0?
The 2.4.0 you see is the SONAME and not the version number.

Yeah.  I ran into this bug when compiling SFML myself

http://stackoverflow.com/questions/21224090/gcc-shared-library-failed-linking-to-glibc
Is this still an issue? Has GCC not been updated yet?
Title: Re: SFML 2.4.1 released
Post by: Sub on November 05, 2016, 03:59:58 pm
I think I was just using an older version of gcc.  I updated to 6.2 and it's fine now. 
Title: Re: SFML 2.4.1 released
Post by: eigen on November 05, 2016, 09:08:46 pm
Congrats on a new release :)

Finally seems to work with threaded sprite loading which was a deal-breaker for me since couple of last releases.
Title: Re: SFML 2.4.1 released
Post by: Elias Daler on November 05, 2016, 10:22:53 pm
Wow! Getting rid of internal context is huge. So glad it's finally part of the SFML. :)
Is it this branch (http://en.sfml-dev.org/forums/index.php?topic=19106.0)?
Title: AW: Re: SFML 2.4.1 released
Post by: eXpl0it3r on November 05, 2016, 10:39:48 pm
Wow! Getting rid of internal context is huge. So glad it's finally part of the SFML. :)
Is it this branch (http://en.sfml-dev.org/forums/index.php?topic=19106.0)?
Yes, it's quite nice, even if it means that previous OpenGL-SFML applications that depended on implementation details of SFML now might break and need adjustment.
And yes, it's that branch. :)
Title: Re: SFML 2.4.1 released
Post by: eigen on November 06, 2016, 10:43:04 am
I'm defintely noticing a major slowdown in WAV file loading (using SoundBuffer::loadFromFile). Loading a bunch of small files (< few secs long) previously took around 800ms, but now takes around 6 seconds. Previously I was using SFML 2.3.2. Has anything been changed in that regard?
Title: Re: SFML 2.4.1 released
Post by: eXpl0it3r on November 06, 2016, 11:51:02 am
Previously I was using SFML 2.3.2. Has anything been changed in that regard?
There have been a few changes to the audio module between 2.3.2 and 2.4.0. You can check them out in the changelog (http://www.sfml-dev.org/changelog.php#2.4.0-audio). Seems odd that the loading time would jump as much. Is this in debug mode? Are you using the same compiler?
Title: Re: SFML 2.4.1 released
Post by: hsalamat on November 06, 2016, 03:19:07 pm
Posted this blog about how to set up SFML 2.4.1 with visual studio 2015.

http://sfml-hooman.blogspot.ca/2016/11/setting-up-sfml-with-visual-studio-2015.html

Cheers,
Hooman
Title: Re: SFML 2.4.1 released
Post by: Hapax on November 06, 2016, 04:52:18 pm
Congratulations on another SFML update! :)

@hsalamat, I don't think copying SFML in its entirety into each solution 's folder should be recommended. Apart from things like difficulty in updating SFML and so many useless copies of SFML, by the end of your course, the SFML DLLs are contained in the solution twice.
Title: Re: SFML 2.4.1 released
Post by: iocpu on November 17, 2016, 07:33:23 pm
Any news on when will the 2.4+ version be available from Ubuntu's official repo?
Title: Re: SFML 2.4.1 released
Post by: Laurent on November 17, 2016, 08:36:52 pm
We're not maintaining the Linux packages available in official repos. Ask their authors directly if you want fresh news.
Title: Re: SFML 2.4.1 released
Post by: iocpu on November 17, 2016, 09:02:03 pm
Ah, didn't know it's maintained by somebody else. Thanks for the quick reply.
Title: Re: SFML 2.4.1 released
Post by: korczurekk on November 17, 2016, 11:09:59 pm
@Up It depnds on Ubuntu version, QSFML ships with SFML 2.4.1 deb package, you can use it.
Title: Re: SFML 2.4.1 released
Post by: iocpu on November 17, 2016, 11:20:00 pm
The current LTS version. 16.10 already has (http://packages.ubuntu.com/search?suite=yakkety&searchon=names&keywords=libsfml) them, so hopefully it wouldn't take long for the LTS to upgrade.
Title: Re: SFML 2.4.1 released
Post by: JayhawkZombie on November 21, 2016, 05:05:28 pm
The removal of the internal OpenGL contexts is huge.  I can enable the asynchronous asset loading again in our engine  ;D
Title: SFML 2.4.1 released
Post by: eXpl0it3r on November 21, 2016, 06:09:07 pm
Good to hear! :)