You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As title, I have tried to build the latest release of Mapnik from source in Ubuntu 16.04. I've already updated to gcc5 and used it to recompile boost 1.63 as well. After link mapnik with the new boost, try to build and it still get some errors, here it is:
utils/shapeindex/shapeindex.o: In function `boost::program_options::validation_error::validation_error(boost::program_options::validation_error::kind_t, std::string const&, std::string const&, int)':
shapeindex.cpp:(.text._ZN5boost15program_options16validation_errorC2ENS1_6kind_tERKSsS4_i[_ZN5boost15program_options16validation_errorC5ENS1_6kind_tERKSsS4_i]+0x31): undefined reference to `boost::program_options::validation_error::get_template(boost::program_options::validation_error::kind_t)'
shapeindex.cpp:(.text._ZN5boost15program_options16validation_errorC2ENS1_6kind_tERKSsS4_i[_ZN5boost15program_options16validation_errorC5ENS1_6kind_tERKSsS4_i]+0x49): undefined reference to `boost::program_options::error_with_option_name::error_with_option_name(std::string const&, std::string const&, std::string const&, int)'
utils/shapeindex/shapeindex.o: In function `boost::program_options::typed_value<std::vector<std::string, std::allocator<std::string> >, char>::name() const':
shapeindex.cpp:(.text._ZNK5boost15program_options11typed_valueISt6vectorISsSaISsEEcE4nameEv[_ZNK5boost15program_options11typed_valueISt6vectorISsSaISsEEcE4nameEv]+0x29): undefined reference to `boost::program_options::arg'
utils/shapeindex/shapeindex.o: In function `boost::program_options::typed_value<double, char>::name() const':
shapeindex.cpp:(.text._ZNK5boost15program_options11typed_valueIdcE4nameEv[_ZNK5boost15program_options11typed_valueIdcE4nameEv]+0x29): undefined reference to `boost::program_options::arg'
utils/shapeindex/shapeindex.o: In function `boost::program_options::typed_value<unsigned int, char>::name() const':
shapeindex.cpp:(.text._ZNK5boost15program_options11typed_valueIjcE4nameEv[_ZNK5boost15program_options11typed_valueIjcE4nameEv]+0x29): undefined reference to `boost::program_options::arg'
utils/shapeindex/shapeindex.o: In function `boost::program_options::basic_command_line_parser<char>::basic_command_line_parser(int, char const* const*)':
shapeindex.cpp:(.text._ZN5boost15program_options25basic_command_line_parserIcEC2EiPKPKc[_ZN5boost15program_options25basic_command_line_parserIcEC5EiPKPKc]+0x170): undefined reference to `boost::program_options::to_internal(std::string const&)'
shapeindex.cpp:(.text._ZN5boost15program_options25basic_command_line_parserIcEC2EiPKPKc[_ZN5boost15program_options25basic_command_line_parserIcEC5EiPKPKc]+0x294): undefined reference to `boost::program_options::detail::cmdline::cmdline(std::vector<std::string, std::allocator<std::string> > const&)'
shapeindex.cpp:(.text._ZN5boost15program_options25basic_command_line_parserIcEC2EiPKPKc[_ZN5boost15program_options25basic_command_line_parserIcEC5EiPKPKc]+0x338): undefined reference to `boost::program_options::to_internal(std::string const&)'
utils/shapeindex/shapeindex.o: In function `main':
shapeindex.cpp:(.text.startup+0x8a): undefined reference to `boost::program_options::options_description::options_description(std::string const&, unsigned int, unsigned int)'
shapeindex.cpp:(.text.startup+0x645): undefined reference to `boost::program_options::abstract_variables_map::operator[](std::string const&) const'
shapeindex.cpp:(.text.startup+0x748): undefined reference to `boost::program_options::abstract_variables_map::operator[](std::string const&) const'
shapeindex.cpp:(.text.startup+0x862): undefined reference to `boost::program_options::abstract_variables_map::operator[](std::string const&) const'
I know the issue of std::basic_string with c11 and already add the flag D_GLIBCXX_USE_CXX11_ABI=0 when compiling mapnik but nothing changed.
Any idea?
The text was updated successfully, but these errors were encountered:
As title, I have tried to build the latest release of Mapnik from source in Ubuntu 16.04. I've already updated to gcc5 and used it to recompile boost 1.63 as well. After link mapnik with the new boost, try to build and it still get some errors, here it is:
I know the issue of
std::basic_string
with c11 and already add the flagD_GLIBCXX_USE_CXX11_ABI=0
when compiling mapnik but nothing changed.Any idea?
The text was updated successfully, but these errors were encountered: