baton@baton-laptop:~/Bureau/SPARK/demos/src$ g++ -o Demo SFMLDemo.cpp -lsfml-graphics -lsfml-window -lsfml-system
In file included from /usr/include/Ext/Renderer/SFML/SPK_SFMLPointRenderer.h:25,
from /usr/include/SPK_SFML.h:40,
from SFMLDemo.cpp:35:
/usr/include/Ext/Renderer/GL/SPK_GLExtInterface.h: In static member function ‘static void* SPK::GL::GLExtInterface::glGetProcAddress(const char*)’:
/usr/include/Ext/Renderer/GL/SPK_GLExtInterface.h:256: erreur: ‘glXGetProcAddressARB’ was not declared in this scope
SFMLDemo.cpp: In function ‘int main(int, char**)’:
SFMLDemo.cpp:201: erreur: reference to ‘Font’ is ambiguous
/usr/include/X11/X.h:105: erreur: candidates are: typedef XID Font
/usr/include/SFML/Graphics/Font.hpp:55: erreur: class sf::Font
SFMLDemo.cpp:201: erreur: reference to ‘Font’ is ambiguous
/usr/include/X11/X.h:105: erreur: candidates are: typedef XID Font
/usr/include/SFML/Graphics/Font.hpp:55: erreur: class sf::Font
SFMLDemo.cpp:201: erreur: expected `;' before ‘font’
SFMLDemo.cpp:202: erreur: ‘font’ was not declared in this scope
SFMLDemo.cpp:206: erreur: ‘font’ was not declared in this scope
Partager