2010/3/12 SALHI MOHAMED <[email protected]> > SALUT TOUT > > je viens d'utiliser la librairie mapnik dans un projet Vusial C++(vusial > studio2003). > j'ai essayé de fonctionner l'exemple qui se trouve dans le DEMO. > mais j'ai besoin d'une version compilé de Mapnik.j'ai essayé moi meme de > compilé cette librairie a laide de SCons .mais tout ça me dépasse(en fait je > suis débutant en C++ ) > s'il vous plait regarder le reste mon message soigneusement.je suis > touché moralement pour résoudre ce probléme.il <http://xn--problme-fya.il>se > peut qu'il facile à géré,mais malheureusement j'arrive pas au bout. > > > La dernière fois j’ai essayé de compiler le Mapnik a l’aide de SCons. > J’ai installé le SCons dans le Python2.6. > après installation, j’ai dans le sous-dossier "script" du dossier > d'installation de python > l'exectuable scons.bat > j’ai ajouté ce dossier a mon path > > *Je suis placé dans le dossier ou j’ai dizeppé le mapnik.(fenetre DOS) > cd C:\Documents and Settings\LOGIMAP\Bureau\lib\mapnik-0.7.0-tar > *puis > C:\Python26\Scripts\scons scons\scons.py > > Et là il me génere ça > C:\Documents and > Settings\LOGIMAP\Bureau\lib\mapnik-0.7.0-tar>C:\Python26\Script > s\scons scons\scons.py > scons: Reading SConscript files ... > > 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: http://trac.osgeo.org/proj/) > - 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) > s'il vous plait si vous avez une idée détaillé comment je peut resoudre ce > message. > pour plus de description voila >
> > http://www.commentcamarche.net/forum/affich-16963148-compilation-des-libs-a-usage-dans-une-app-c#2010-03-11%2016%3A01%3A04 > enfin je félicite tout aide. >
_______________________________________________ Mapnik-users mailing list [email protected] https://lists.berlios.de/mailman/listinfo/mapnik-users

