Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: Version of the external libraries  (Read 1424 times)

0 Members and 1 Guest are viewing this topic.

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 11032
    • View Profile
    • development blog
    • Email
Version of the external libraries
« on: February 17, 2013, 07:59:31 pm »
So I've wanted to build x64 MinGW binaries for SFML and actually already did it (see the working x64 nightly build package), but then I started thinking about the versions of the external libraries.
I haven't found out which ones are used at the moment and thus couldn't get matching versions. So I went ahead and took the most recent ones (at least a few month ago they were recent), but if one would want to add them to SFML, then we'd have miss-matching versions, which is kinda not nice.

Thus I see three options and want to discuss them:
  • Update all external libraries to the most recent (compatible) versions.
  • Find out the current specific versions and match the new binaries with the old versions.
  • Make a mixture of versions.

Personally I'd suggest option 1, but would also gladly follow option 2, if I'd get the exact version, which were used.

Btw. the 'problem' is only with FreeType and GLEW, since JPEG is already around 15 years old and one can convert the current import libraries for OpenAL and libsndfile to work with MinGW x64 compilers.

You can see here a working repository with x64 binaries. The only modification, that I had to do was add the binaries and edit the src/SFML/CMakeLists.txt.
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Re: Version of the external libraries
« Reply #1 on: February 17, 2013, 08:54:54 pm »
I used FreeType 2.4.4 and GLEW 1.6.0.

Thanks a lot for your help :)

Also, if you could make sure that it works with many different versions of gcc (dw2/sjlj, posix/win32 threads, 4.7/4.x, etc.), it would be perfect!
Laurent Gomila - SFML developer

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 11032
    • View Profile
    • development blog
    • Email
Re: Version of the external libraries
« Reply #2 on: February 18, 2013, 05:50:04 pm »
Here's the pull request, with all the correct versions.

For completion, it was pointed out there, that the JPEG version is 8c and not 6b.
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/