Comments (9)
Is your workspace in /opt/ros/indigo? It's odd that you're getting that issue from /opt/ros/
I've seen the same issue on our new test farm: http://54.183.26.131:8080/job/Idev__geometry_experimental__ubuntu_trusty_amd64/6/console
But the old farm is passing: http://jenkins.ros.org/job/devel-indigo-geometry_experimental/ And I cannot reproduce this on my desktop.
from geometry2.
no I created a dedicated workspace in my home dir that contains only those 2 repos. So tf is pulled from /opt/ros/indigo
Note: I built using catkin_tools
from geometry2.
You shouldn't be using symbols from /opt/ros that depend on a source overlay.
However I've also attempted a rework to overload instead of have a default method. Can you try the fix_84 branch?
from geometry2.
Hmm, I just noticed you're having issues with allFramesAsDot that's different than the allFramesAsYAML which i'm reproducing.
Some more info:
First pass is producing a void argument symbol, rming devel and build produces double
buildfarm@7b33dfc8942c:/tmp/catkin_workspace$ nm /tmp/catkin_workspace/devel_isolated/tf2_ros/lib/libtf2_ros.so | grep YAML
U _ZNK3tf210BufferCore15allFramesAsYAMLEd
buildfarm@7b33dfc8942c:/tmp/catkin_workspace$ nm /tmp/libtf2_ros.so | grep YAML
U _ZNK3tf210BufferCore15allFramesAsYAMLEv
buffer server linking successfully:
Linking CXX executable /tmp/catkin_workspace/devel_isolated/tf2_ros/lib/tf2_ros/buffer_server
/usr/bin/cmake -E cmake_link_script CMakeFiles/tf2_ros_buffer_server.dir/link.txt --verbose=1
/usr/bin/c++ CMakeFiles/tf2_ros_buffer_server.dir/src/buffer_server_main.cpp.o -o /tmp/catkin_workspace/devel_isolated/tf2_ros/lib/tf2_ros/buffer_server -rdynamic /tmp/catkin_workspace/devel_isolated/tf2_ros/lib/libtf2_ros.so /opt/ros/indigo/lib/libactionlib.so /opt/ros/indigo/lib/libmessage_filters.so /opt/ros/indigo/lib/libroscpp.so -lboost_signals -lboost_filesystem /opt/ros/indigo/lib/librosconsole.so /opt/ros/indigo/lib/librosconsole_log4cxx.so /opt/ros/indigo/lib/librosconsole_backend_interface.so -llog4cxx -lboost_regex /opt/ros/indigo/lib/libxmlrpcpp.so /tmp/catkin_workspace/devel_isolated/tf2/lib/libtf2.so /opt/ros/indigo/lib/libroscpp_serialization.so /opt/ros/indigo/lib/librostime.so -lboost_date_time /opt/ros/indigo/lib/libcpp_common.so -lboost_system -lboost_thread -lpthread -lconsole_bridge -lboost_thread -lpthread -lconsole_bridge -Wl,-rpath,/tmp/catkin_workspace/devel_isolated/tf2_ros/lib:/tmp/catkin_workspace/devel_isolated/tf2/lib:/opt/ros/indigo/lib:
Failed linking:
Linking CXX executable /tmp/catkin_workspace/devel_isolated/tf2_ros/lib/tf2_ros/buffer_server
/usr/bin/cmake -E cmake_link_script CMakeFiles/tf2_ros_buffer_server.dir/link.txt --verbose=1
/usr/bin/c++ CMakeFiles/tf2_ros_buffer_server.dir/src/buffer_server_main.cpp.o -o /tmp/catkin_workspace/devel_isolated/tf2_ros/lib/tf2_ros/buffer_server -rdynamic /tmp/catkin_workspace/devel_isolated/tf2_ros/lib/libtf2_ros.so /opt/ros/indigo/lib/libactionlib.so /opt/ros/indigo/lib/libmessage_filters.so /opt/ros/indigo/lib/libroscpp.so -lboost_signals -lboost_filesystem /opt/ros/indigo/lib/librosconsole.so /opt/ros/indigo/lib/librosconsole_log4cxx.so /opt/ros/indigo/lib/librosconsole_backend_interface.so -llog4cxx -lboost_regex /opt/ros/indigo/lib/libxmlrpcpp.so /tmp/catkin_workspace/install_isolated/lib/libtf2.so /opt/ros/indigo/lib/libroscpp_serialization.so /opt/ros/indigo/lib/librostime.so -lboost_date_time /opt/ros/indigo/lib/libcpp_common.so -lboost_system -lboost_thread -lpthread -lconsole_bridge -lboost_thread -lpthread -lconsole_bridge -Wl,-rpath,/tmp/catkin_workspace/devel_isolated/tf2_ros/lib:/tmp/catkin_workspace/install_isolated/lib:/opt/ros/indigo/lib:
/tmp/catkin_workspace/devel_isolated/tf2_ros/lib/libtf2_ros.so: undefined reference to `tf2::BufferCore::allFramesAsYAML() const'
collect2: error: ld returned 1 exit status
from geometry2.
I patched fix_84 for _allFramesAsDOT as well.
from geometry2.
yep that fixes it!
from geometry2.
hello,guys, I met this problem yesterday. When I want to run catkin_make command in catkin_ws path, it came out this error"undefined reference to `tf2::BufferCore::_allFramesAsDot() const' ", but it works fine before. And my system is indigo.
from geometry2.
After I saw #84 . I still could not get any solution.
from geometry2.
@zhujimson Please ask your question on answers.ros.org and provide the smallest example instructions to reproduce your linking problem in your question. This ticket has been closed for over a year.
from geometry2.
Related Issues (20)
- A mistake in tf2/Tutorials HOT 2
- tf2 giving NAN values
- Release 0.6.7 never made it into Melodic distro? HOT 2
- PermissionError when using view_frames HOT 2
- Fail out of lookupTransform immediately if extrapolation into the past is required instead of waiting for timeout HOT 1
- Including tf2_geometry_msgs in a catkin package includes two versions of Eigen HOT 1
- Pose and Transform messages are redundant HOT 1
- ROS wiki tf2 tutorial page has errors
- sleep_duration of can_transform takes too much time HOT 1
- New release for Noetic HOT 13
- Wrong warning TF_REPEATED_DATA if 2 different transforms (with different frames) but same timestamp HOT 1
- tf_py.BufferCore not respecting cache_time argument HOT 2
- dotransform TransformStamped datatype not process child_frame_id HOT 2
- rostime_converter loses nanosecond precision
- Failing when Building for Humble with catkin errors
- Error while compiling using catkin for python3.8 HOT 1
- Using AngleShortestPath or getAngleShortestPath in python HOT 2
- Python tf2 buffer does not Detect Jumps in Time HOT 2
- Error in tf2 tutorial
- the parameter "time" not used in canTransform? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from geometry2.