HI, I am facing this problem while generating xml file for NetAnim. How can I solve this problem?
~/Desktop/ns-allinone-3.36.1/ns-3.36.1$ ./ns3 run rem-example
Consolidate compiler generated dependencies of target rem-example
[ 0%] Linking CXX executable ../../../../build/src/nr/examples/ns3.36.1-rem-example-default
CMakeFiles/rem-example.dir/rem-example.cc.o: In function `main':
/home/shahid/Desktop/ns-allinone-3.36.1/ns-3.36.1/src/nr/examples/rem-example.cc:695: undefined reference to `ns3::AnimationInterface::~AnimationInterface()'
/home/shahid/Desktop/ns-allinone-3.36.1/ns-3.36.1/src/nr/examples/rem-example.cc:695: undefined reference to `ns3::AnimationInterface::AnimationInterface(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >)'
/home/shahid/Desktop/ns-allinone-3.36.1/ns-3.36.1/src/nr/examples/rem-example.cc:695: undefined reference to `ns3::AnimationInterface::~AnimationInterface()'
collect2: error: ld returned 1 exit status
src/nr/examples/CMakeFiles/rem-example.dir/build.make:103: recipe for target '../build/src/nr/examples/ns3.36.1-rem-example-default' failed
make[3]: *** [../build/src/nr/examples/ns3.36.1-rem-example-default] Error 1
CMakeFiles/Makefile2:9146: recipe for target 'src/nr/examples/CMakeFiles/rem-example.dir/all' failed
make[2]: *** [src/nr/examples/CMakeFiles/rem-example.dir/all] Error 2
CMakeFiles/Makefile2:9152: recipe for target 'src/nr/examples/CMakeFiles/rem-example.dir/rule' failed
make[1]: *** [src/nr/examples/CMakeFiles/rem-example.dir/rule] Error 2
Makefile:2689: recipe for target 'rem-example' failed
make: *** [rem-example] Error 2