I am trying to parse and read xml files in c++ program using libxml2 library. I have written a code with c++ and I couldn't run successfully the code. I have an error:
main.cpp:(.text+0x79): undefined reference to `print_element_names(_xmlNode*)'
collect2: error: ld returned 1 exit status
make[2]: *** [svgreader] Error 1
make[1]: *** [CMakeFiles/svgreader.dir/all] Error 2
make: *** [all] Error 2