Compilation des libs à usage dans une app c++
MEDSALHI
Messages postés
10
Date d'inscription
Statut
Membre
Dernière intervention
-
Char Snipeur Messages postés 9813 Date d'inscription Statut Contributeur Dernière intervention -
Char Snipeur Messages postés 9813 Date d'inscription Statut Contributeur Dernière intervention -
Bonjour,
j'aime bien savoir comment utiliser le SCons pour compiler la librairie Mapnik
enfin, j'ai essayé moi meme mais je ne peut pas déborder ce message
Welcome to Mapnik...
Configuring build environment...
Configuring on Windows in *release mode*...
Checking for freetype-config... no
Checking for xml2-config... no
Checking for pkg-config... no
.....(etc)
Checking for C++ header file boost/python/detail/config.hpp... no
Could not find required header files for boost python
Checking for pkg-config... no
Exiting... the following required dependencies were not found:
- freetype-config (freetype-config program | try setting FREETYPE_CONFIG SCon
s option)
- xml2-config (xml2-config program | try setting XML2_CONFIG SCons option)
- m (Basic math library, part of C++ stlib)
- ltdl (GNU Libtool | more info: http://www.gnu.org/software/libtool/
- png (PNG C library | configure with PNG_LIBS & PNG_INCLUDES)
- tiff (TIFF C library | configure with TIFF_LIBS & TIFF_INCLUDES)
- z (Z compression library | more info: http://www.zlib.net/
- jpeg (JPEG C library | configure with JPEG_LIBS & JPEG_INCLUDES)
- proj (Proj.4 C Projections library | configure with PROJ_LIBS & PROJ_INCLUD
ES | more info: https://proj4.org/
- icuuc (ICU C++ library | configure with ICU_LIBS & ICU_INCLUDES or use ICU_
LIB_NAME to specify custom lib name | more info: http://site.icu-project.org/
....................................(etc)
- boost python (more info see: http://trac.mapnik.org/wiki/MapnikInstallation
& http://www.boost.org)
See the 'config.log' for details on possible problems.
Also, these OPTIONAL dependencies were not found:
- cairo (Cairo C library | configured using pkg-config | try setting PKG_CONF
IG_PATH SCons option)
- cairomm (Cairomm C++ bindings to Cairo library | configured using pkg-confi
g | try setting PKG_CONFIG_PATH SCons option)
- boost system (more info see: http://trac.mapnik.org/wiki/MapnikInstallation
& http://www.boost.org)
- boost program_options (more info see: http://trac.mapnik.org/wiki/MapnikIns
tallation & http://www.boost.org)
- pg_config (pg_config program | try setting PG_CONFIG SCons option)
- pycairo (Python bindings to Cairo library | configured using pkg-config | t
ry setting PKG_CONFIG_PATH SCons option)
Set custom paths to these libraries and header files on the command-line or in a
file called 'config.py'
ie. $ python scons/scons.py BOOST_INCLUDES=/usr/local/include/ BOOST_LIBS=/u
sr/local/lib
Once all required dependencies are found a local 'config.py' will be saved and t
hen install:
$ sudo python scons/scons.py install
To view available path variables:
$ python scons/scons.py --help or -h
...........................(etc)
y-a-t'il qqu'1 qu peut m'aider?
please help me!!!
et merci pour tout.
j'aime bien savoir comment utiliser le SCons pour compiler la librairie Mapnik
enfin, j'ai essayé moi meme mais je ne peut pas déborder ce message
Welcome to Mapnik...
Configuring build environment...
Configuring on Windows in *release mode*...
Checking for freetype-config... no
Checking for xml2-config... no
Checking for pkg-config... no
.....(etc)
Checking for C++ header file boost/python/detail/config.hpp... no
Could not find required header files for boost python
Checking for pkg-config... no
Exiting... the following required dependencies were not found:
- freetype-config (freetype-config program | try setting FREETYPE_CONFIG SCon
s option)
- xml2-config (xml2-config program | try setting XML2_CONFIG SCons option)
- m (Basic math library, part of C++ stlib)
- ltdl (GNU Libtool | more info: http://www.gnu.org/software/libtool/
- png (PNG C library | configure with PNG_LIBS & PNG_INCLUDES)
- tiff (TIFF C library | configure with TIFF_LIBS & TIFF_INCLUDES)
- z (Z compression library | more info: http://www.zlib.net/
- jpeg (JPEG C library | configure with JPEG_LIBS & JPEG_INCLUDES)
- proj (Proj.4 C Projections library | configure with PROJ_LIBS & PROJ_INCLUD
ES | more info: https://proj4.org/
- icuuc (ICU C++ library | configure with ICU_LIBS & ICU_INCLUDES or use ICU_
LIB_NAME to specify custom lib name | more info: http://site.icu-project.org/
....................................(etc)
- boost python (more info see: http://trac.mapnik.org/wiki/MapnikInstallation
& http://www.boost.org)
See the 'config.log' for details on possible problems.
Also, these OPTIONAL dependencies were not found:
- cairo (Cairo C library | configured using pkg-config | try setting PKG_CONF
IG_PATH SCons option)
- cairomm (Cairomm C++ bindings to Cairo library | configured using pkg-confi
g | try setting PKG_CONFIG_PATH SCons option)
- boost system (more info see: http://trac.mapnik.org/wiki/MapnikInstallation
& http://www.boost.org)
- boost program_options (more info see: http://trac.mapnik.org/wiki/MapnikIns
tallation & http://www.boost.org)
- pg_config (pg_config program | try setting PG_CONFIG SCons option)
- pycairo (Python bindings to Cairo library | configured using pkg-config | t
ry setting PKG_CONFIG_PATH SCons option)
Set custom paths to these libraries and header files on the command-line or in a
file called 'config.py'
ie. $ python scons/scons.py BOOST_INCLUDES=/usr/local/include/ BOOST_LIBS=/u
sr/local/lib
Once all required dependencies are found a local 'config.py' will be saved and t
hen install:
$ sudo python scons/scons.py install
To view available path variables:
$ python scons/scons.py --help or -h
...........................(etc)
y-a-t'il qqu'1 qu peut m'aider?
please help me!!!
et merci pour tout.
A voir également:
- Compilation des libs à usage dans une app c++
- App data - Guide
- Télécharger sans app store gratuit - Guide
- Adb app control - Guide
- Vidmate app - Télécharger - TV & Vidéo
- App mover - Télécharger - Divers Utilitaires
5 réponses
Bonjour,
Il faut que tu installes tous les packages listés dans "the following required dependencies were not found:"
Il faut que tu installes tous les packages listés dans "the following required dependencies were not found:"
c vrai.
mai l'installation des autres libs sont fait dans un GnuWin32.
ma question: apres l'install que je dois fois faire pour déborder ce message?
je pense qu'il me fallait lier entre ce que j'ai installé et la lib mapnik(c'est celle ci que je veux compilé )
excusez moi je suis un débutant dans le C++?
mai l'installation des autres libs sont fait dans un GnuWin32.
ma question: apres l'install que je dois fois faire pour déborder ce message?
je pense qu'il me fallait lier entre ce que j'ai installé et la lib mapnik(c'est celle ci que je veux compilé )
excusez moi je suis un débutant dans le C++?
Là c'est du python.
Le problème c'est qu'il n'a pas l'air de trouver, donc qu'il ne cherche pas dans les bon répertoires. En suppossant bien sur que tes installations soit bien faites, il faut ajouter le répertoirede rechecher
Le plus simple est de regarder le script, en général ce n'est pas insurmontable.
Le problème c'est qu'il n'a pas l'air de trouver, donc qu'il ne cherche pas dans les bon répertoires. En suppossant bien sur que tes installations soit bien faites, il faut ajouter le répertoirede rechecher
Le plus simple est de regarder le script, en général ce n'est pas insurmontable.
mais que vous voulez vous dire le script n'est pas insurmontable.
exusez moi je suis un débutant et je voudrais savoir précisement comment ajouter le répertoire de rechecher
exusez moi je suis un débutant et je voudrais savoir précisement comment ajouter le répertoire de rechecher
Vous n’avez pas trouvé la réponse que vous recherchez ?
Posez votre question