c++linuxqtmapnik

C++ mapnik undefined reference to rule


Sorry for my bad english. I just installed mapnik, but I just can't run demo file using c++ and Qt Creator. First of all, I fixed all linking issues with no sweat, but now it gives me an "Undefined reference to" error. I'm pasting here the output:

Blockquote /home/mattia/GLWorks/mapnikTest/main.cpp:72: error: undefined reference to `mapnik::rule::set_filter(std::shared_ptr >, mapbox::util::recursive_wrappermapnik::binary_node, mapbox::util::recursive_wrappermapnik::binary_node, mapbox::util::recursive_wrappermapnik::binary_node, mapbox::util::recursive_wrappermapnik::binary_node, mapbox::util::recursive_wrappermapnik::binary_node, mapbox::util::recursive_wrappermapnik::binary_node, mapbox::util::recursive_wrappermapnik::binary_node, mapbox::util::recursive_wrappermapnik::binary_node, mapbox::util::recursive_wrappermapnik::binary_node, mapbox::util::recursive_wrappermapnik::binary_node, mapbox::util::recursive_wrappermapnik::binary_node, mapbox::util::recursive_wrappermapnik::unary_node, mapbox::util::recursive_wrappermapnik::binary_node, mapbox::util::recursive_wrappermapnik::binary_node, mapbox::util::recursive_wrappermapnik::regex_match_node, mapbox::util::recursive_wrappermapnik::regex_replace_node, mapbox::util::recursive_wrappermapnik::unary_function_call, mapbox::util::recursive_wrappermapnik::binary_function_call > > const&)'

What is missing on this program? Thank you!

PS. My OS is OpenSuse 42.1 Leap


Solution

  • Problem fixed uninstalling and reinstalling mapnik from website source, not from Yast