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

Author Topic: SFML 2.0 RC  (Read 115622 times)

0 Members and 1 Guest are viewing this topic.

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32504
    • View Profile
    • SFML's website
    • Email
SFML 2.0 RC
« on: April 15, 2012, 02:43:31 pm »
SFML 2.0 Release Candidate is ready!

Please try it, and report anything that should be fixed for the final release:
  • critical bugs
  • public API issues (it won't be changed until SFML 3)
  • packaging issues
  • anything else that you find relevant

The tutorials are not ready yet (I'll now start to write them), so if you have no idea how to install and use this version, don't do it, wait for the final one instead.

The Linux version has no install script, you just have to copy the contents of the archive to your preferred install location (typically /usr/local). I'm still not sure what should be done for Linux packages:
  • since I have no Unix makefile, it can't be done with "make install"
  • building from sources is often recommended on Linux, anyway
  • official distrib packages should be available quickly after SFML 2.0 is released, anyway
There doesn't seem to be a "standard" way of packaging libraries for Linux.
Laurent Gomila - SFML developer

Nexus

  • SFML Team
  • Hero Member
  • *****
  • Posts: 6286
  • Thor Developer
    • View Profile
    • Bromeon
Re: SFML 2.0 RC
« Reply #1 on: April 15, 2012, 02:56:28 pm »
Very nice! :)

Is the release candidate the same as the latest Git revision 19276a?
Zloxx II: action platformer
Thor Library: particle systems, animations, dot products, ...
SFML Game Development:

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32504
    • View Profile
    • SFML's website
    • Email
Re: SFML 2.0 RC
« Reply #2 on: April 15, 2012, 03:01:32 pm »
Quote
Is the release candidate the same as the latest Git revision 19276a?
It's the same as the revision tagged "2.0-rc". Which should be the latest one, yes.
Laurent Gomila - SFML developer

programmer47

  • Newbie
  • *
  • Posts: 12
    • View Profile
Re: SFML 2.0 RC
« Reply #3 on: April 15, 2012, 05:01:44 pm »
Not sure if this is a bug or something I'm doing wrong, but after I ran the Mac installer and created a new SFML project in Xcode, I tried to build it and got an error:
Code: [Select]
ld: library not found for -lsfml-system-d

Hiura

  • SFML Team
  • Hero Member
  • *****
  • Posts: 4321
    • View Profile
    • Email
Re: SFML 2.0 RC
« Reply #4 on: April 15, 2012, 05:08:16 pm »
haha the first error is on me!  :P

Go to your project build settings and at the bottom edit SFML_LINK_DYLIBS_SUFFIX to "" (empty). That's should do it.

(Project using frameworks are not affected by this issue.)
SFML / OS X developer

Beuc

  • Newbie
  • *
  • Posts: 5
    • View Profile
Re: SFML 2.0 RC
« Reply #5 on: April 15, 2012, 05:46:11 pm »
Nifty!

How do you plan work on porting to Android?

Actually I was experimenting with porting 1.6 to Android when I saw the announcement ;)

programmer47

  • Newbie
  • *
  • Posts: 12
    • View Profile
Re: SFML 2.0 RC
« Reply #6 on: April 15, 2012, 05:58:06 pm »
haha the first error is on me!  :P

Go to your project build settings and at the bottom edit SFML_LINK_DYLIBS_SUFFIX to "" (empty). That's should do it.

(Project using frameworks are not affected by this issue.)
Thanks, works like a charm!

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32504
    • View Profile
    • SFML's website
    • Email
Re: SFML 2.0 RC
« Reply #7 on: April 15, 2012, 06:09:22 pm »
Quote
How do you plan work on porting to Android?
I have no plan yet. All I can say is that I'd like to work on it soon, maybe SFML 2.2.
Laurent Gomila - SFML developer

Groogy

  • Hero Member
  • *****
  • Posts: 1469
    • MSN Messenger - groogy@groogy.se
    • View Profile
    • http://www.groogy.se
    • Email
Re: SFML 2.0 RC
« Reply #8 on: April 15, 2012, 07:15:03 pm »
Aaah this comes perfectly as I've just started to work on Ymir ^^
Now I can work more rapidly on it and make an awesome game in Ruby!

I'll be quite quick to let you know if I find anything :)
I have found some things when you do advanced stuff with OpenGL and threads but I expect they won't be fixed as I think you see it as outside the realm of SFML.
Developer and Maker of rbSFML and Programmer at Paradox Development Studio

DJuego

  • Jr. Member
  • **
  • Posts: 50
    • View Profile
Re: SFML 2.0 RC
« Reply #9 on: April 15, 2012, 11:58:09 pm »
Congrats Laurent!   ;)

DJuego

Deftwun

  • Newbie
  • *
  • Posts: 27
    • View Profile
Re: SFML 2.0 RC
« Reply #10 on: April 16, 2012, 06:50:35 am »
I know there has been an issue with the sf::text constructor and the default font recently. Just downloaded the latest SFML release version (SFML-2.0-rc, debug libs, dynamic link) with codeblocks 10.05, Windows 7 and I get this error output to the console:

It repeats these two errors a total of 3 times...
Code: [Select]
An internal OpenGL call failed in Texture.cpp (146) : GL_INVALID_ENUM, an unacceptable value has been specified for an enumerated argument.
An internal OpenGL call failed in Texture.cpp (147) : GL_INVALID_ENUM, an unacceptable value has been specified for an enumerated argument.


Heres my code:
Code: [Select]
sf::Font mFont;
mFont.loadFromFile("fonts/arial.ttf");
sf::Text mText("Hello",mFont);

Its only when I initialize the sf::text or set the string it produces these errors. It will still draw and display correctly though. Just thought it might mean something.

Ps: love the new forum layout.

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32504
    • View Profile
    • SFML's website
    • Email
Re: SFML 2.0 RC
« Reply #11 on: April 16, 2012, 07:57:28 am »
This error implies that you have a crappy graphics card (or drivers) that don't support OpenGL 1.2. Is that true?
Laurent Gomila - SFML developer

Deftwun

  • Newbie
  • *
  • Posts: 27
    • View Profile
Re: SFML 2.0 RC
« Reply #12 on: April 16, 2012, 02:23:36 pm »
I highly doubt it. Its an Nvidia Geforce Card (cant remember the model off the top of my head) thats only a a few years old. It will run just about any game I've thrown at it pretty well. I updated the drivers a couple months ago too. I will post the exact specs and version numbers later today when I get home. (I'll try running off the onboard graphics card as well)
« Last Edit: April 16, 2012, 02:27:15 pm by Deftwun »

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32504
    • View Profile
    • SFML's website
    • Email
Re: SFML 2.0 RC
« Reply #13 on: April 16, 2012, 02:31:02 pm »
Can you check the OpenGL version that your driver gives you?
sf::ContextSettings settings = window.getSettings();
std::cout << settings.majorVersion << "." << settings.minorVersion << std::endl;
Laurent Gomila - SFML developer

SoleSoul

  • Newbie
  • *
  • Posts: 26
    • View Profile
Re: SFML 2.0 RC
« Reply #14 on: April 16, 2012, 08:38:03 pm »
Great news!
Thank you  :)

 

anything