#3 Neither SFML 2.0rc nor SGML-git seems to work

open
nobody
None
7
2014-08-16
2013-02-27
No

I package the svn version of holyspirit for Arch Linux:
https://aur.archlinux.org/packages/holyspirit-svn/
There currently doesn't seem to be a specific branch or tag of SFML that works with holyspirit.

There are some SFML API changes after the 2.0rc release:

Back -> BackSpace
https://github.com/LaurentGomila/SFML/commit/dd51b3d8ff466159e750b02dafa6f7ad7cb1d4af#include/SFML/Window/Keyboard.hpp

convertCoords -> mapPixelToCoords
https://github.com/LaurentGomila/SFML/commit/6ce6014dd8517ee3012c0b969484f6bc258e65ef

You seem to be using the "Back -> BackSpace" change,
but not the "convertCoords -> mapPixelToCoords" change.
I get compile time errors for "BackSpace" when using SFML 2.0rc and compile time errors for "convertCoords" when using SFML-git (currently: ef78b6d0f3981bc9b184512d43c66ec6714a6b6a)

So please state what exact version of SGML 2.0 you use (git master branch, release candidates, ?)
Just stating SGML 2.0 is not enough, since 2.0 is not released yet.

One of these compile problems is then a bug (I will report) then and the other is a packaging error on my end.

Discussion

  • Johannes Dewender

    For reference, the error messages are:

    /tmp/yaourt-tmp-nognir/aur-holyspirit-svn/src/holyspirit-build/Source/Contextes/c_jeu.cpp: In function ‘int GestionBoutons(Jeu*, bool, bool, bool)’:
    /tmp/yaourt-tmp-nognir/aur-holyspirit-svn/src/holyspirit-build/Source/Contextes/c_jeu.cpp:588:39: error: ‘BackSpace’ is not a member of ‘sf::Keyboard’
    /tmp/yaourt-tmp-nognir/aur-holyspirit-svn/src/holyspirit-build/Source/Contextes/c_jeu.cpp:591:37: error: ‘BackSpace’ is not a member of ‘sf::Keyboard’

    and

    /var/abs/local/_src/holyspirit-svn/src/holyspirit-build/Source/Moteurs/moteurGraphique.cpp: In member function 'sf::Vector2f MoteurGraphique::getPositionSouris()':
    /var/abs/local/_src/holyspirit-svn/src/holyspirit-build/Source/Moteurs/moteurGraphique.cpp:1054:20: error: 'class sf::RenderWindow' has no member named 'convertCoords'

     
  • Johannes Dewender

    • priority: 5 --> 7
     
  • Johannes Dewender

    What I forgot to say:
    I also found the SFML in the "3dparty" folder of the repository. That one is probably 2.0rc1, but also doesn't work because "BackSpace" Key is not found.

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks