Bonjour
J'ai testé par curiosité :
- ça manque un peu d'explication pour avoir de vrais utilisateurs
- après le lancement, mon navigateur m'a demandé de télécharger Java
- Java a essayé de m'installer une barre « Ask » pour Mozilla Firefox
- J'ai un peu galéré pour donner le chemin du compilateur
Lorsqu'il y a une erreur, on n'a pas le temps de la lire :s
(Finalement dans mon cas, le chemin était C:\Program Files\mingw-builds\x32-4.8.1-posix-dwarf-rev5\mingw32)
- Pour le CMake, ça a été plus facile (C:\Program Files\CMake)
- La version de la SFML est le master de GitHub, il faudrait peut-être donner le choix dans la version
- Au final j'ai une erreur, j'ai l'impression que CMake n'a pas été utilisé.
Pour installer la SFML 2.1, j'utilise généralement «
Install Project » qui est multiplateforme et écrit en Python 2.7.
Mais dans ce programme là, il y a aussi une phase de configuration par l'utilisateur qui pourrait être automatisé ou un peu plus guidé.
Voici le log :
+ -------------------------------------------------------- +
+ SFMLEasy - Library compiler +
+ Version : 0.1 +
+ AUTHOR: Magras Steve +
+ GITHUB: https://github.com/smagras/ +
+ -------------------------------------------------------- +
[HELP]
easy config : Config your paths and download what you don't have.
easy install : After all configurations you can compile your SFML.
quit : Stop the application.
[CONFIGURATION]
# Define your compiler path [default: C:/MinGW/]:
user > C:\Program Files\mingw-builds\x32-4.8.1-posix-dwarf-rev5\mingw32
MinGW dir is now C:/Program Files/mingw-builds/x32-4.8.1-posix-dwarf-rev5/mingw3
2/
# Define your cmake path [default: Empty]('auto' for download the application):
user > C:\Program Files\CMake
Cmake dir is now C:/Program Files/CMake/
# Define your sfml source path [default: Empty]('auto' for download the applicat
ion):
user > auto
Donwloading https://github.com/SFML/SFML/archive/master.zip...
SFML dir is now C:/Users/Eo/Downloads/SFMLEasy-SFML-master/SFMLEasy-SFML-master/
download/SFML-master/
SFMLEasy is correctly configured.
user > easy install
[COMPILATION]
INFO: Your antivirus can make error occured, disabled if it's neccessaries.
[PRESS ENTER TO CONTINUE]
File is deleted : C:\Users\Eo\Downloads\SFMLEasy-master\SFMLEasy-master\download
\SFML-master
Unzip download/master.zip...
Microsoft Windows [version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. Tous droits réservés.
C:\Users\Eo\Downloads\SFMLEasy-master\SFMLEasy-master>cd C:/Users/Eo/Downloads/S
FMLEasy-SFML-master/SFMLEasy-SFML-master/download/SFML-master/
C:\Users\Eo\Downloads\SFMLEasy-master\SFMLEasy-master>set PATH=%PATH%;"C:/Progra
m Files/mingw-builds/x32-4.8.1-posix-dwarf-rev5/mingw32/bin/"
C:\Users\Eo\Downloads\SFMLEasy-master\SFMLEasy-master>set PATH=%PATH%;"C:/Progra
m Files/CMake/bin/"
C:\Users\Eo\Downloads\SFMLEasy-master\SFMLEasy-master>cmake -G "MinGW Makefiles"
-D CMAKE_BUILD_TYPE=Release -D BUILD_SHARED_LIBS=TRUE C:/Users/Eo/Downloads/SFM
LEasy-SFML-master/SFMLEasy-SFML-master/download/SFML-master/
C:\Users\Eo\Downloads\SFMLEasy-master\SFMLEasy-master>
Le chemin d'accès spécifié est introuvable.
CMake Error: The source directory "C:/Users/Eo/Downloads/SFMLEasy-SFML-master/SF
MLEasy-SFML-master/download/SFML-master" does not exist.
Specify --help for usage, or press the help button on the CMake GUI.
Microsoft Windows [version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. Tous droits réservés.
C:\Users\Eo\Downloads\SFMLEasy-master\SFMLEasy-master>cd C:/Users/Eo/Downloads/S
FMLEasy-SFML-master/SFMLEasy-SFML-master/download/SFML-master/
C:\Users\Eo\Downloads\SFMLEasy-master\SFMLEasy-master>set PATH=%PATH%;"C:/Progra
m Files/mingw-builds/x32-4.8.1-posix-dwarf-rev5/mingw32/bin/"
C:\Users\Eo\Downloads\SFMLEasy-master\SFMLEasy-master>set PATH=%PATH%;"C:/Progra
m Files/CMake/bin/"
C:\Users\Eo\Downloads\SFMLEasy-master\SFMLEasy-master>mingw32-make
C:\Users\Eo\Downloads\SFMLEasy-master\SFMLEasy-master>
Le chemin d'accès spécifié est introuvable.
mingw32-make: *** No targets specified and no makefile found. Stop.
Microsoft Windows [version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. Tous droits réservés.
C:\Users\Eo\Downloads\SFMLEasy-master\SFMLEasy-master>cd C:/Users/Eo/Downloads/S
FMLEasy-SFML-master/SFMLEasy-SFML-master/download/SFML-master/
C:\Users\Eo\Downloads\SFMLEasy-master\SFMLEasy-master>set PATH=%PATH%;"C:/Progra
m Files/mingw-builds/x32-4.8.1-posix-dwarf-rev5/mingw32/bin/"
C:\Users\Eo\Downloads\SFMLEasy-master\SFMLEasy-master>set PATH=%PATH%;"C:/Progra
m Files/CMake/bin/"
C:\Users\Eo\Downloads\SFMLEasy-master\SFMLEasy-master>cmake -G "MinGW Makefiles"
-D CMAKE_BUILD_TYPE=Debug -D BUILD_SHARED_LIBS=TRUE C:/Users/Eo/Downloads/SFMLE
asy-SFML-master/SFMLEasy-SFML-master/download/SFML-master/
C:\Users\Eo\Downloads\SFMLEasy-master\SFMLEasy-master>
Le chemin d'accès spécifié est introuvable.
CMake Error: The source directory "C:/Users/Eo/Downloads/SFMLEasy-SFML-master/SF
MLEasy-SFML-master/download/SFML-master" does not exist.
Specify --help for usage, or press the help button on the CMake GUI.
Microsoft Windows [version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. Tous droits réservés.
C:\Users\Eo\Downloads\SFMLEasy-master\SFMLEasy-master>cd C:/Users/Eo/Downloads/S
FMLEasy-SFML-master/SFMLEasy-SFML-master/download/SFML-master/
C:\Users\Eo\Downloads\SFMLEasy-master\SFMLEasy-master>set PATH=%PATH%;"C:/Progra
m Files/mingw-builds/x32-4.8.1-posix-dwarf-rev5/mingw32/bin/"
C:\Users\Eo\Downloads\SFMLEasy-master\SFMLEasy-master>set PATH=%PATH%;"C:/Progra
m Files/CMake/bin/"
C:\Users\Eo\Downloads\SFMLEasy-master\SFMLEasy-master>mingw32-make
C:\Users\Eo\Downloads\SFMLEasy-master\SFMLEasy-master>
Le chemin d'accès spécifié est introuvable.
mingw32-make: *** No targets specified and no makefile found. Stop.
Microsoft Windows [version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. Tous droits réservés.
C:\Users\Eo\Downloads\SFMLEasy-master\SFMLEasy-master>cd C:/Users/Eo/Downloads/S
FMLEasy-SFML-master/SFMLEasy-SFML-master/download/SFML-master/
C:\Users\Eo\Downloads\SFMLEasy-master\SFMLEasy-master>set PATH=%PATH%;"C:/Progra
m Files/mingw-builds/x32-4.8.1-posix-dwarf-rev5/mingw32/bin/"
C:\Users\Eo\Downloads\SFMLEasy-master\SFMLEasy-master>set PATH=%PATH%;"C:/Progra
m Files/CMake/bin/"
C:\Users\Eo\Downloads\SFMLEasy-master\SFMLEasy-master>cmake -G "MinGW Makefiles"
-D CMAKE_BUILD_TYPE=Release -D BUILD_SHARED_LIBS=FALSE C:/Users/Eo/Downloads/SF
MLEasy-SFML-master/SFMLEasy-SFML-master/download/SFML-master/
C:\Users\Eo\Downloads\SFMLEasy-master\SFMLEasy-master>
Le chemin d'accès spécifié est introuvable.
CMake Error: The source directory "C:/Users/Eo/Downloads/SFMLEasy-SFML-master/SF
MLEasy-SFML-master/download/SFML-master" does not exist.
Specify --help for usage, or press the help button on the CMake GUI.
Microsoft Windows [version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. Tous droits réservés.
C:\Users\Eo\Downloads\SFMLEasy-master\SFMLEasy-master>cd C:/Users/Eo/Downloads/S
FMLEasy-SFML-master/SFMLEasy-SFML-master/download/SFML-master/
C:\Users\Eo\Downloads\SFMLEasy-master\SFMLEasy-master>set PATH=%PATH%;"C:/Progra
m Files/mingw-builds/x32-4.8.1-posix-dwarf-rev5/mingw32/bin/"
C:\Users\Eo\Downloads\SFMLEasy-master\SFMLEasy-master>set PATH=%PATH%;"C:/Progra
m Files/CMake/bin/"
C:\Users\Eo\Downloads\SFMLEasy-master\SFMLEasy-master>mingw32-make
C:\Users\Eo\Downloads\SFMLEasy-master\SFMLEasy-master>
Le chemin d'accès spécifié est introuvable.
mingw32-make: *** No targets specified and no makefile found. Stop.
Microsoft Windows [version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. Tous droits réservés.
C:\Users\Eo\Downloads\SFMLEasy-master\SFMLEasy-master>cd C:/Users/Eo/Downloads/S
FMLEasy-SFML-master/SFMLEasy-SFML-master/download/SFML-master/
C:\Users\Eo\Downloads\SFMLEasy-master\SFMLEasy-master>set PATH=%PATH%;"C:/Progra
m Files/mingw-builds/x32-4.8.1-posix-dwarf-rev5/mingw32/bin/"
C:\Users\Eo\Downloads\SFMLEasy-master\SFMLEasy-master>set PATH=%PATH%;"C:/Progra
m Files/CMake/bin/"
C:\Users\Eo\Downloads\SFMLEasy-master\SFMLEasy-master>cmake -G "MinGW Makefiles"
-D CMAKE_BUILD_TYPE=Debug -D BUILD_SHARED_LIBS=FALSE C:/Users/Eo/Downloads/SFML
Easy-SFML-master/SFMLEasy-SFML-master/download/SFML-master/
C:\Users\Eo\Downloads\SFMLEasy-master\SFMLEasy-master>
Le chemin d'accès spécifié est introuvable.
CMake Error: The source directory "C:/Users/Eo/Downloads/SFMLEasy-SFML-master/SF
MLEasy-SFML-master/download/SFML-master" does not exist.
Specify --help for usage, or press the help button on the CMake GUI.
Microsoft Windows [version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. Tous droits réservés.
C:\Users\Eo\Downloads\SFMLEasy-master\SFMLEasy-master>cd C:/Users/Eo/Downloads/S
FMLEasy-SFML-master/SFMLEasy-SFML-master/download/SFML-master/
C:\Users\Eo\Downloads\SFMLEasy-master\SFMLEasy-master>set PATH=%PATH%;"C:/Progra
m Files/mingw-builds/x32-4.8.1-posix-dwarf-rev5/mingw32/bin/"
C:\Users\Eo\Downloads\SFMLEasy-master\SFMLEasy-master>set PATH=%PATH%;"C:/Progra
m Files/CMake/bin/"
C:\Users\Eo\Downloads\SFMLEasy-master\SFMLEasy-master>mingw32-make
C:\Users\Eo\Downloads\SFMLEasy-master\SFMLEasy-master>
Le chemin d'accès spécifié est introuvable.
mingw32-make: *** No targets specified and no makefile found. Stop.
SFML is compile and you can use it:
C:/Users/Eo/Downloads/SFMLEasy-SFML-master/SFMLEasy-SFML-master/download/SFML-ma
ster/
user >