Bonjour,
J'ai essayé d'installer Boost mais n'ayant jamais installé de librairies à part SFML j'ai eu un peu de mal.
J'ai procédé ainsi en suivant ce tutoriel http://andres.jaimes.net/718/how-to-...es-on-windows/ :
- Téléchargement sur le site officiel
- J'obtiens un dossier "boost_1_56_0"
- Je lance "cmd", je vais jusqu'à "boost_1_56_0" par la commande 'cd'
- Je lance 'bootstrap.bat mingw'
- Puis 'b2 install --prefix=c:/installation/path toolset=gcc'
- Je vais sur Code Blocks, ouverture d'un projet, copie colle un code d'exemple utilisant '<boost/regex.hpp>'
- Clique droit sur le projet sur l'arborescence à gauche > Build options... > Search directories
- Compiler : C:\installation\path\include\boost-1_56
- Linker : C:\installation\path\lib
- Linker Settings : installation\path\lib\libboost_regex-mgw47-mt-1_56.a (release)
- Linker Settings : installation\path\lib\libboost_regex-mgw47-mt-d-1_56.a (debug)
Quand je compile j'obtiens l'erreur suivante :
> C:\installation\path\include\boost-1_56\boost\regex\config.hpp|41|fatal error: 1/regex/user.hpp: No such file or directory
Et j'ai un marquage rouge sur la ligne en gras ci-dessous.
J'ai fait des recherches mais je n'ai rien trouvé et je ne vois pas vraiment d'où ça sort.
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8 #ifdef __cplusplus # ifndef BOOST_REGEX_USER_CONFIG # define BOOST_REGEX_USER_CONFIG <boost/regex/user.hpp> # endif # include BOOST_REGEX_USER_CONFIG /**< */ # include <boost/config.hpp>
Des idées ?
Partager