Trouble processing tf2 package
I am trying to use catkin_make_isolated to build a workspace for my turtlebot3. However, this package will always fail to compile when it is processing the tf2 package. The error msgs are showed as follows:
/home/pi/catkin_ws/src/geometry2/tf2/src/buffer_core.cpp: In member function ‘bool tf2::BufferCore::warnFrameId(const char*, const string&) const’:
/home/pi/catkin_ws/src/geometry2/tf2/src/buffer_core.cpp:126:34: error: ‘logWarn’ was not declared in this scope
logWarn("%s",ss.str().c_str());
^
make[2]: *** [CMakeFiles/tf2.dir/build.make:76: CMakeFiles/tf2.dir/src/buffer_core.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:974: CMakeFiles/tf2.dir/all] Error 2
make: *** [Makefile:141: all] Error 2
<== Failed to process package 'tf2':
Command '['/home/pi/catkin_ws/devel_isolated/tf2_msgs/env.sh', 'make', '-j4', '-l4']' returned non-zero exit status 2
Reproduce this error by running:
==> cd /home/pi/catkin_ws/build_isolated/tf2 && /home/pi/catkin_ws/devel_isolated/tf2_msgs/env.sh make -j4 -l4
Please advise. Thank you.