artemp/tickets2issues — Issue #22: Build fails on Mac OS >10.4.9 due to iconv update
Author: artemp
Created: 2011-10-11 14:51:22+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.
}}}