Bonjour a tous !
Voila voulant réglé le petit soucis de la version 2.1 de SFML que lorsque l'on clique sur la fenêtre elle ne se refocus pas.
Donc j'ai récupéré la version sur github. J'ai crée les makefiles pour code blocks, j'ai recompilé sans soucis sous Windows 7 en statique.
J'ai ensuite essayé de recompiler mon projet avec cette nouvelle version, et j'ai des erreur du type :
[......]
F:\SFML-master\lib\libsfml-graphics-s-d.a(Texture.cpp.obj)||In function `ZN2sf7TextureD2Ev':|
F:\SFML-master\src\SFML\Graphics\Texture.cpp|95|undefined reference to `glDeleteTextures@8'|
F:\SFML-master\lib\libsfml-graphics-s-d.a(Texture.cpp.obj)||In function `ZN2sf7Texture6createEjj':|
F:\SFML-master\src\SFML\Graphics\Texture.cpp|136|undefined reference to `glGenTextures@8'|
F:\SFML-master\src\SFML\Graphics\Texture.cpp|144|undefined reference to `glBindTexture@8'|
F:\SFML-master\src\SFML\Graphics\Texture.cpp|145|undefined reference to `glTexImage2D@36'|
F:\SFML-master\src\SFML\Graphics\Texture.cpp|146|undefined reference to `glTexParameteri@12'|
F:\SFML-master\src\SFML\Graphics\Texture.cpp|147|undefined reference to `glTexParameteri@12'|
F:\SFML-master\src\SFML\Graphics\Texture.cpp|148|undefined reference to `glTexParameteri@12'|
F:\SFML-master\src\SFML\Graphics\Texture.cpp|149|undefined reference to `glTexParameteri@12'|
F:\SFML-master\lib\libsfml-graphics-s-d.a(Texture.cpp.obj)||In function `ZN2sf7Texture13loadFromImageERKNS_5ImageERKNS_4RectIiEE':|
F:\SFML-master\src\SFML\Graphics\Texture.cpp|198|undefined reference to `glFlush@0'|
F:\SFML-master\src\SFML\Graphics\Texture.cpp|226|undefined reference to `glBindTexture@8'|
F:\SFML-master\src\SFML\Graphics\Texture.cpp|229|undefined reference to `glTexSubImage2D@36'|
F:\SFML-master\src\SFML\Graphics\Texture.cpp|235|undefined reference to `glFlush@0'|
F:\SFML-master\lib\libsfml-graphics-s-d.a(Texture.cpp.obj)||In function `ZNK2sf7Texture11copyToImageEv':|
F:\SFML-master\src\SFML\Graphics\Texture.cpp|293|undefined reference to `glBindTexture@8'|
F:\SFML-master\src\SFML\Graphics\Texture.cpp|294|undefined reference to `glGetTexImage@20'|
F:\SFML-master\src\SFML\Graphics\Texture.cpp|302|undefined reference to `glBindTexture@8'|
F:\SFML-master\src\SFML\Graphics\Texture.cpp|303|undefined reference to `glGetTexImage@20'|
F:\SFML-master\lib\libsfml-graphics-s-d.a(Texture.cpp.obj)||In function `ZN2sf7Texture6updateEPKhjjjj':|
F:\SFML-master\src\SFML\Graphics\Texture.cpp|358|undefined reference to `glBindTexture@8'|
F:\SFML-master\src\SFML\Graphics\Texture.cpp|359|undefined reference to `glTexSubImage2D@36'|
F:\SFML-master\lib\libsfml-graphics-s-d.a(Texture.cpp.obj)||In function `ZN2sf7Texture6updateERKNS_6WindowEjj':|
F:\SFML-master\src\SFML\Graphics\Texture.cpp|400|undefined reference to `glBindTexture@8'|
F:\SFML-master\src\SFML\Graphics\Texture.cpp|401|undefined reference to `glCopyTexSubImage2D@32'|
F:\SFML-master\lib\libsfml-graphics-s-d.a(Texture.cpp.obj)||In function `ZN2sf7Texture9setSmoothEb':|
F:\SFML-master\src\SFML\Graphics\Texture.cpp|422|undefined reference to `glBindTexture@8'|
F:\SFML-master\src\SFML\Graphics\Texture.cpp|423|undefined reference to `glTexParameteri@12'|
F:\SFML-master\src\SFML\Graphics\Texture.cpp|424|undefined reference to `glTexParameteri@12'|
F:\SFML-master\lib\libsfml-graphics-s-d.a(Texture.cpp.obj)||In function `ZN2sf7Texture11setRepeatedEb':|
F:\SFML-master\src\SFML\Graphics\Texture.cpp|451|undefined reference to `glBindTexture@8'|
F:\SFML-master\src\SFML\Graphics\Texture.cpp|452|undefined reference to `glTexParameteri@12'|
F:\SFML-master\src\SFML\Graphics\Texture.cpp|453|undefined reference to `glTexParameteri@12'|
F:\SFML-master\lib\libsfml-graphics-s-d.a(Texture.cpp.obj)||In function `ZN2sf7Texture4bindEPKS0_NS0_14CoordinateTypeE':|
F:\SFML-master\src\SFML\Graphics\Texture.cpp|474|undefined reference to `glBindTexture@8'|
F:\SFML-master\src\SFML\Graphics\Texture.cpp|500|undefined reference to `glMatrixMode@4'|
F:\SFML-master\src\SFML\Graphics\Texture.cpp|501|undefined reference to `glLoadMatrixf@4'|
F:\SFML-master\src\SFML\Graphics\Texture.cpp|504|undefined reference to `glMatrixMode@4'|
F:\SFML-master\src\SFML\Graphics\Texture.cpp|510|undefined reference to `glBindTexture@8'|
F:\SFML-master\src\SFML\Graphics\Texture.cpp|513|undefined reference to `glMatrixMode@4'|
F:\SFML-master\src\SFML\Graphics\Texture.cpp|514|undefined reference to `glLoadIdentity@0'|
F:\SFML-master\src\SFML\Graphics\Texture.cpp|517|undefined reference to `glMatrixMode@4'|
F:\SFML-master\lib\libsfml-graphics-s-d.a(Texture.cpp.obj)||In function `ZN2sf7Texture14getMaximumSizeEv':|
F:\SFML-master\src\SFML\Graphics\Texture.cpp|528|undefined reference to `glGetIntegerv@8'|
F:\SFML-master\lib\libsfml-graphics-s-d.a(Texture.cpp.obj)||In function `ZN2sf7Texture12getValidSizeEj':|
F:\SFML-master\src\SFML\Graphics\Texture.cpp|559|undefined reference to `__GLEW_ARB_texture_non_power_of_two'|
F:\SFML-master\lib\libsfml-graphics-s-d.a(RenderTarget.cpp.obj)||In function `ZN2sf12RenderTarget5clearERKNS_5ColorE':|
F:\SFML-master\src\SFML\Graphics\RenderTarget.cpp|96|undefined reference to `glClearColor@16'|
F:\SFML-master\src\SFML\Graphics\RenderTarget.cpp|97|undefined reference to `glClear@4'|
F:\SFML-master\lib\libsfml-graphics-s-d.a(RenderTarget.cpp.obj)||In function `ZN2sf12RenderTarget4drawEPKNS_6VertexEjNS_13PrimitiveTypeERKNS_12RenderStatesE':|
F:\SFML-master\src\SFML\Graphics\RenderTarget.cpp|266|undefined reference to `glVertexPointer@16'|
F:\SFML-master\src\SFML\Graphics\RenderTarget.cpp|267|undefined reference to `glColorPointer@16'|
F:\SFML-master\src\SFML\Graphics\RenderTarget.cpp|268|undefined reference to `glTexCoordPointer@16'|
F:\SFML-master\src\SFML\Graphics\RenderTarget.cpp|277|undefined reference to `glDrawArrays@12'|
F:\SFML-master\lib\libsfml-graphics-s-d.a(RenderTarget.cpp.obj)||In function `ZN2sf12RenderTarget12pushGLStatesEv':|
F:\SFML-master\src\SFML\Graphics\RenderTarget.cpp|296|undefined reference to `glGetError@0'|
F:\SFML-master\src\SFML\Graphics\RenderTarget.cpp|306|undefined reference to `glPushClientAttrib@4'|
F:\SFML-master\src\SFML\Graphics\RenderTarget.cpp|307|undefined reference to `glPushAttrib@4'|
F:\SFML-master\src\SFML\Graphics\RenderTarget.cpp|309|undefined reference to `glMatrixMode@4'|
F:\SFML-master\src\SFML\Graphics\RenderTarget.cpp|310|undefined reference to `glPushMatrix@0'|
F:\SFML-master\src\SFML\Graphics\RenderTarget.cpp|311|undefined reference to `glMatrixMode@4'|
F:\SFML-master\src\SFML\Graphics\RenderTarget.cpp|312|undefined reference to `glPushMatrix@0'|
F:\SFML-master\src\SFML\Graphics\RenderTarget.cpp|313|undefined reference to `glMatrixMode@4'|
||More errors follow but not being shown.|
||Edit the max errors limit in compiler options...|
||=== Build failed: 50 error(s), 31 warning(s) (0 minute(s), 16 second(s)) ===|
J'ai essayé de tester quelques trucs n'ayant pas vraiment changé quoi que ce soit.
Bon j'ai peut être mal cherché je ne sais pas :S
En espérant que vous pouvez me guider, je vous remercie d'avance