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

Author Topic: SFML 2.0 Releases  (Read 4779 times)

0 Members and 1 Guest are viewing this topic.

Wismi

  • Newbie
  • *
  • Posts: 3
    • View Profile
SFML 2.0 Releases
« on: February 16, 2011, 11:43:22 pm »
I worked with v 1.6 for a while, and was relatively happy with it.  However, I frequently have come across various issues that required a v2.0 update.  This appears to be only available in source form.  When I build, I have the following issue:

In VS2005, the freetype.lib included is unuseable for debug builds (sfml-graphics...).  I have to substitute the file from 1.6 to get it to build.  That seems to work.

However, I now have issues with libsndfile-1.dll when I shutdown.  I am using the version from the 2.0 build and it fails to shutdown without errors.  However, the version from 1.6 does not give the error, but is incapable of opening my .ogg file.

I guess I have two questions:
1) Since 2.0 isn't released, I can't determine if any version of it is stable, or "centered" for release.  When will an official version of SFML 2.0 be released?

2) Is there a .ogg file format rate/sample size I should be always using?

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
SFML 2.0 Releases
« Reply #1 on: February 17, 2011, 07:39:15 am »
Quote
In VS2005, the freetype.lib included is unuseable for debug builds (sfml-graphics...). I have to substitute the file from 1.6 to get it to build. That seems to work.

Really? I've never had any issue with this. What errors do you have?

Quote
However, I now have issues with libsndfile-1.dll when I shutdown. I am using the version from the 2.0 build and it fails to shutdown without errors. However, the version from 1.6 does not give the error, but is incapable of opening my .ogg file.

Again, which errors?

Quote
1) Since 2.0 isn't released, I can't determine if any version of it is stable, or "centered" for release. When will an official version of SFML 2.0 be released?

Dunno. Unfortunately, I can't spend as much time as I want on it.

Quote
2) Is there a .ogg file format rate/sample size I should be always using?

No, why do you ask this question?

I have one question for you: are you sure that you don't somehow mix 1.6 and 2.0? These external libs errors that you're describing seem to be really weird. Do you link to dyanmic or static SFML libs? Have you tried the other way?
Laurent Gomila - SFML developer

Wismi

  • Newbie
  • *
  • Posts: 3
    • View Profile
SFML 2.0 Releases
« Reply #2 on: February 22, 2011, 07:58:00 pm »
Quote
Really? I've never had any issue with this. What errors do you have?


When I try to create a debug build with the included 2.0 version of freetype.lib, I get a linker error message stating that the debug information is corrupt.  This does not happen on a release build, or if I use the 1.6 supplied version of this file.  My best guess is that the freetype.lib file was built with VS 2008, and my VS 2005 cannot read the debug information.  Using the 1.6 supplied version does not seem to create any problem.

Quote
Again, which errors?


Whenever this file is loaded on behalf of music, I get errors around or about mutex(.h?).  I use sounds, and that does not seem to present problems for .wav files (very small).  When I try to use an .ogg file for music, I am told that it is a valid file type, but an invalid format.  No music of course.  The access violation occurs when the shutdown happens.  Probably the original exception left something around that did not get cleaned up when exiting.  If I can get it to play a music file without errors, the rest will probably take care of itself.

Quote
No, why do you ask this question?

Reasons listed above.

Quote
I have one question for you: are you sure that you don't somehow mix 1.6 and 2.0? These external libs errors that you're describing seem to be really weird. Do you link to dyanmic or static SFML libs? Have you tried the other way?


I updated the paths, and believe I have them living separately well enough.  Except freetype.lib when I rebuilt the graphics dll for debug mode.  I wanted to avoid static libs and prefer DLLs in my local directory, since in theory I would not update them as often to anyone testing the application.

Tronic

  • Newbie
  • *
  • Posts: 16
    • View Profile
    • http://performous.org/
SFML 2.0 Releases
« Reply #3 on: February 23, 2011, 06:43:17 pm »
SFML2 seems somewhat dead with no updates on news. Perhaps it would be a good time to go for release early, fix after, to get things rolling again? Trying to make too big changes and then releasing a "perfect new version" is not healthy.

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
SFML 2.0 Releases
« Reply #4 on: February 23, 2011, 07:01:51 pm »
The problem is that once it is released, backward-incompatible API changes won't be allowed anymore, and will have to be postponed to... SFML 3.
So I must complete them; and I've already postponed other changes (that don't break the API) to SFML 2.x.
Laurent Gomila - SFML developer

Tronic

  • Newbie
  • *
  • Posts: 16
    • View Profile
    • http://performous.org/
SFML 2.0 Releases
« Reply #5 on: February 24, 2011, 11:09:54 am »
You know, Khronos tried that same thing with OpenGL 3.0 and failed. Instead, they finally had to release because it wasn't going anywhere. Since then it has been perfected in the subsequent releases even though that has meant some API borkage via deprecated and removed features in 3.1 and other further releases.

Maybe most importantly you really find out how the API should work when the library is in widespread use and you get user feedback. Unfortunately that will only happen with an actual release.

Nexus

  • SFML Team
  • Hero Member
  • *****
  • Posts: 6287
  • Thor Developer
    • View Profile
    • Bromeon
SFML 2.0 Releases
« Reply #6 on: February 24, 2011, 02:00:00 pm »
I don't think it's a good idea to release SFML 2 as soon as possible only for the sake of being released. A new SFML version is expected to be more or less stable, no one wants to change everything in 2.1 again. I mean, those people interested in the new things can already use the SVN version (like I do).

By the way: I don't think the comparison with OpenGL 3.0 is a very good one. The problems were mainly that the Khronos group promised more than they kept and that they didn't inform the community about the API progress. Both points do not apply to SFML 2.
Zloxx II: action platformer
Thor Library: particle systems, animations, dot products, ...
SFML Game Development:

Wismi

  • Newbie
  • *
  • Posts: 3
    • View Profile
SFML 2.0 Releases
« Reply #7 on: February 27, 2011, 01:39:22 am »
Maybe a fair compromise is to take a version of 2.0 that lasted a while and had few issues and call it 1.7, 1.8 or 1.9?

Groogy

  • Hero Member
  • *****
  • Posts: 1469
    • MSN Messenger - groogy@groogy.se
    • View Profile
    • http://www.groogy.se
    • Email
SFML 2.0 Releases
« Reply #8 on: February 27, 2011, 03:37:10 am »
Probably not since 2.0 got changes to the interface of SFML, among other things. Though I suspect that's the main reason.
Developer and Maker of rbSFML and Programmer at Paradox Development Studio

 

anything