Bonjour à tous. Je voulais essayer de programmer en fenêtre et donc j'ai suivi les instructions de
cette page et tout allait bien jusqu'à que lorsque je copie le code qu'ils proposent (le rond vert) et que j'obtienne ça:
||=== Build: Debug in SFML (compiler: GNU GCC Compiler) ===|
obj\Debug\src\main.o||In function `main':|
C:\Users\Moi\Documents\SFML\src\main.cpp|5|undefined reference to `_imp___ZN2sf6StringC1EPKcRKSt6locale'|
C:\Users\Moi\Documents\SFML\src\main.cpp|5|undefined reference to `_imp___ZN2sf9VideoModeC1Ejjj'|
C:\Users\Moi\Documents\SFML\src\main.cpp|5|undefined reference to `_imp___ZN2sf12RenderWindowC1ENS_9VideoModeERKNS_6StringEjRKNS_15ContextSettingsE'|
C:\Users\Moi\Documents\SFML\src\main.cpp|6|undefined reference to `_imp___ZN2sf11CircleShapeC1Efj'|
C:\Users\Moi\Documents\SFML\src\main.cpp|7|undefined reference to `_imp___ZN2sf5Color5GreenE'|
C:\Users\Moi\Documents\SFML\src\main.cpp|7|undefined reference to `_imp___ZN2sf5Shape12setFillColorERKNS_5ColorE'|
C:\Users\Moi\Documents\SFML\src\main.cpp|15|undefined reference to `_imp___ZN2sf6Window5closeEv'|
C:\Users\Moi\Documents\SFML\src\main.cpp|12|undefined reference to `_imp___ZN2sf6Window9pollEventERNS_5EventE'|
C:\Users\Moi\Documents\SFML\src\main.cpp|18|undefined reference to `_imp___ZN2sf5ColorC1Ehhhh'|
C:\Users\Moi\Documents\SFML\src\main.cpp|18|undefined reference to `_imp___ZN2sf12RenderTarget5clearERKNS_5ColorE'|
C:\Users\Moi\Documents\SFML\src\main.cpp|19|undefined reference to `_imp___ZN2sf12RenderStates7DefaultE'|
C:\Users\Moi\Documents\SFML\src\main.cpp|19|undefined reference to `_imp___ZN2sf12RenderTarget4drawERKNS_8DrawableERKNS_12RenderStatesE'|
C:\Users\Moi\Documents\SFML\src\main.cpp|20|undefined reference to `_imp___ZN2sf6Window7displayEv'|
C:\Users\Moi\Documents\SFML\src\main.cpp|9|undefined reference to `_imp___ZNK2sf6Window6isOpenEv'|
C:\Users\Moi\Documents\SFML\src\main.cpp|23|undefined reference to `_imp___ZN2sf12RenderWindowD1Ev'|
C:\Users\Moi\Documents\SFML\src\main.cpp|5|undefined reference to `_imp___ZN2sf12RenderWindowD1Ev'|
C:\Users\Moi\Documents\SFML\src\main.cpp|23|undefined reference to `_imp___ZN2sf12RenderWindowD1Ev'|
obj\Debug\src\main.o||In function `ZN2sf11CircleShapeD1Ev':|
C:\SFML\SFML-2.1 CB\include\SFML\Graphics\CircleShape.hpp|41|undefined reference to `_imp___ZTVN2sf11CircleShapeE'|
C:\SFML\SFML-2.1 CB\include\SFML\Graphics\CircleShape.hpp|41|undefined reference to `_imp___ZTVN2sf11CircleShapeE'|
C:\SFML\SFML-2.1 CB\include\SFML\Graphics\CircleShape.hpp|41|undefined reference to `_imp___ZN2sf5ShapeD2Ev'|
||=== Build failed: 20 error(s), 0 warning(s) (0 minute(s), 0 second(s)) ===|Est-ce que vous pouvez m'aider ? Je ne m'y connais vraiment pas trop dans la programmation j'ai juste fait deux ou trois programmes idiots en Console Application et je voulais commencer en fenêtre. Merci d'avance