artemp/trac2github — Issue #25: Build fails on Mac OS >10.4.9 due to iconv update
Author: artemp
Created: 2011-10-09 20:08:45+00:00
State: open
Labels: Raster_Input_Driver

Build fails on OS X 10.4.9 with libiconv 1.11. The attached patch compiles past this point.

{{{
include/mapnik/unicode.hpp: In member function 'std::wstring mapnik::transcoder::transcode(const std::string&) const':
include/mapnik/unicode.hpp:177: error: invalid conversion from 'char**' to 'const char**'
include/mapnik/unicode.hpp:177: error: initializing argument 2 of 'size_t libiconv(void*, const char**, size_t*, char**, size_t*)'
scons: *** [bindings/python/mapnik_datasource.os] Error 1
scons: building terminated because of errors.
}}}