SCons is not geared up for building build Mapnik on windows. You can fix it or you can use VC++ studio or any other tool you like - Mapnik is cross platform and compiles fine with vc++ compiler.
Please, consider subscribing to the list! Regards, Artem On 13 March 2010 10:53, SALHI MOHAMED <[email protected]> wrote: > HELLO ALL > > I just used the library in a project mapnik Vusial C + + (vusial > studio2003). > I tried to run the sample found in the DEMO. > but I need a version compiled Mapnik.j 'I've even tried to compile this > library was ugly SCons. but it is beyond me (actually I am a beginner in C + > +) > Please watch the rest of my message soigneusement.je am touched morally to > solve this probléme.il it may easily managed, but unfortunately not arrive > at the end. > > > The last time I tried to compile mapnik Using SCons. > I installed the SCons in python2.6. > After installation, I have in the subfolder "script" file to install python > the Exectuive scons.bat > I added that folder to my path > > * I am in the folder where I dizeppé the mapnik. (DOS window) > cd C: \ Documents and Settings \ LOGIMAP \ Desktop \ lib \ mapnik-0.7.0-tar > * then > C: \ Python26 \ Scripts \ scons scons \ scons.py > > And there I AC generator > C: \ Documents and Settings \ LOGIMAP \ Desktop \ 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 > SCons > s option) > - Xml2-config (xml2-config program | try setting XML2_CONFIG SCons > optional) > - M (Basic math library, part of C + + stlib) > - Ltdl (Libtool GNU | more info: http://www.gnu.org/software/libtool) > - PNG (PNG library C | configure with PNG_LIBS & PNG_INCLUDES) > - Tiff (TIFF library C | configure with TIFF_LIBS & TIFF_INCLUDES) > - Z (Z compression library | more info: http://www.zlib.net/) > - JPEG (JPEG library C | configure with JPEG_LIBS & JPEG_INCLUDES) > - Proj (C proj.4 Project 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 optional) > - Cairomm (cairomm C + + bindings to Cairo library | configured using > pkg-conf > g | try setting PKG_CONFIG_PATH SCons optional) > - Boost system (see more info: > http://trac.mapnik.org/wiki/MapnikInstallation > & Http://www.boost.org) > - Boost program_options (more info see: > http://trac.mapnik.org/wiki/MapnikIns > Tallat & http://www.boost.org) > - Pg_config (pg_config program | try setting pg_config SCons optional) > - Pycairo (Python bindings to Cairo library | configured using pkg-config > | t > ry setting PKG_CONFIG_PATH SCons optional) > > 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 / install scons.py > > To view available path variables: > $ Python scons / scons.py - help or-h > ...........................( etc.) > Please if you have a detailed idea how I can resolve this message. > > Finally I welcome any help. > _______________________________________________ > Mapnik-users mailing list > [email protected] > https://lists.berlios.de/mailman/listinfo/mapnik-users > > _______________________________________________ Mapnik-users mailing list [email protected] https://lists.berlios.de/mailman/listinfo/mapnik-users

