Bienvenue, Invité. Merci de vous connecter ou de vous inscrire. Avez-vous oublié d'activer ?

Voir les contributions

Cette section vous permet de consulter les contributions (messages, sujets et fichiers joints) d'un utilisateur. Vous ne pourrez voir que les contributions des zones auxquelles vous avez accès.


Messages - devwsj

Pages: [1]
1
Général / Lightning 2D, impossible de compiler...
« le: Avril 17, 2013, 02:13:59 pm »
Bonjour !
J'ai tenté de compiler le code du Light Engine de Holyspirit, que j'ai trouvé la :  http://www.sfml-dev.org/wiki/fr/sources/lightmanager
Avec la version 2.0rc de la SFML, et la version 4.7 de MinGW, sous Code::Blocks...
Voici les erreurs :
||=== Holyspirit Light Effect Test, Release ===|
C:\Users\Boki\Desktop\Light Engine SFML\Light.cpp||In member function 'void Light::Draw(sf::RenderTarget*)':|
C:\Users\Boki\Desktop\Light Engine SFML\Light.cpp|30|erreur: 'class sf::RenderTarget' has no member named 'Draw'|
C:\Users\Boki\Desktop\Light Engine SFML\Light.cpp||In member function 'void Light::AddTriangle(sf::Vector2f, sf::Vector2f, int, std::vector<Wall>&)':|
C:\Users\Boki\Desktop\Light Engine SFML\Light.cpp|144|erreur: cannot allocate an object of abstract type 'sf::Shape'|
c:\program files (x86)\mingw\bin\..\lib\gcc\mingw32\4.7.2\..\..\..\..\include\SFML\Graphics\Shape.hpp|44|note:   because the following virtual functions are pure within 'sf::Shape':|
c:\program files (x86)\mingw\bin\..\lib\gcc\mingw32\4.7.2\..\..\..\..\include\SFML\Graphics\Shape.hpp|196|note:    virtual unsigned int sf::Shape::getPointCount() const|
c:\program files (x86)\mingw\bin\..\lib\gcc\mingw32\4.7.2\..\..\..\..\include\SFML\Graphics\Shape.hpp|210|note:    virtual sf::Vector2f sf::Shape::getPoint(unsigned int) const|
C:\Users\Boki\Desktop\Light Engine SFML\Light.cpp|147|erreur: 'class sf::Shape' has no member named 'AddPoint'|
C:\Users\Boki\Desktop\Light Engine SFML\Light.cpp|154|erreur: 'class sf::Shape' has no member named 'AddPoint'|
C:\Users\Boki\Desktop\Light Engine SFML\Light.cpp|160|erreur: 'class sf::Shape' has no member named 'AddPoint'|
C:\Users\Boki\Desktop\Light Engine SFML\Light.cpp|165|erreur: 'class sf::Shape' has no member named 'SetBlendMode'|
C:\Users\Boki\Desktop\Light Engine SFML\Light.cpp|165|erreur: 'sf::Blend' has not been declared|
C:\Users\Boki\Desktop\Light Engine SFML\Light.cpp|166|erreur: 'class sf::Shape' has no member named 'SetPosition'|
||=== Build finished: 11 errors, 0 warnings ===|

Merci d'avance !

Pages: [1]
anything