C++ mapnik undefined reference to rule
<p>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:</p>

<blockquote>
  <p>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&amp;)'</p>
</blockquote>

<p>What is missing on this program? Thank you!</p>

<p>PS. My OS is OpenSuse 42.1 Leap</p>