Alberto Giménez E. wrote:
>     Hi, it looks like that log is from a release build, could you try
>     doing a debug build? I haven't tried doing a release build on my
>     local copy before. There might be some preprocessor definitions that
>     I forgot to copy from the debug to release configuration.
> 
>     I had a quick look at my local copy, and the release build is
>     missing some preprocessor definitions, try adding these:
>     MAPNIK_EXPORTS;TIXML_USE_STL;BOOST_PROPERTY_TREE_XML_PARSER_TINYXML
> 
>     I think the 'inconsistent dll linkage' errors are because
>     'MAPNIK_EXPORTS' isn't defined.
> 
>     The other projects will also need to be checked to make sure they
>     have the proper release settings.
> 
>     If this doesn't work, I'll try to get some time at the weekend to
>     get the visual studio build working on svn trunk.
> 
>     I hope this helps,
> 
>     Ben
> 
> 
> Hi, Ben, it's finally works, I've just compiled mapnik with Debug and 
> Release settings, I was missing the preprocessor definitions. Thanks for 
> the tip. Now I'll try to include  Postgis support and libxml2. However, 
> I've to use the libiconv libraries from GNU WIN32 (like libtool), I 
> didn't find very useful ICU, is this a replacement for iconv? If 
> libiconv were missing the project didn't compile.
> 

Thanks, good to hear its working now.

I thought iconv had been replaced with ICU to provide a UnicodeString 
type. Are you using a the svn head revision, or a packaged release? In 
unicode.cpp in my checked out copy, all the iconv calls have been 
commented out and replaced with ICU equivalents. It might be a feature 
for a future official release.


Ben


_______________________________________________
Mapnik-users mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/mapnik-users

Reply via email to