Ask Your Question

ipgvl's profile - activity

2019-03-14 10:20:44 -0500 received badge  Famous Question (source)
2019-03-13 11:57:46 -0500 received badge  Famous Question (source)
2019-02-12 02:24:26 -0500 edited question How to use pcl (+ cuda modules) with ROS

How to use pcl (+ cuda modules) with ROS Hi, I want to use pcl and openCV with cuda. I know now that I have to install

2019-02-12 02:23:40 -0500 edited question How to use pcl (+ cuda modules) with ROS

How to use pcl (+ cuda modules) with ROS Hi, I want to use pcl and openCV with cuda. I know now that I have to install

2019-02-12 02:23:13 -0500 edited question How to use pcl (+ cuda modules) with ROS

How to use pcl with cuda Hi, I want to use pcl and openCV with cuda. I know now that I have to install another version

2019-02-12 01:01:38 -0500 marked best answer How to use pcl (+ cuda modules) with ROS

Hi,

I want to use pcl and openCV with cuda. I know now that I have to install another version of openCV (since the default version of openCV in ROS kinetic does not include cuda modules) and then call catkin_make -DOpenCV_DIR=... to use the new version. But now I have to use cuda with pcl too, and I have seen that there are no cuda modules in the default ROS installation (same as openCV). Do I need to install pcl outside ROS like with openCV? And then how can I use it?

Thank you.

2019-02-12 01:01:30 -0500 commented answer How to use pcl (+ cuda modules) with ROS

Ok, thank you!

2019-02-11 16:58:29 -0500 received badge  Notable Question (source)
2019-02-11 01:22:47 -0500 commented question How to use pcl (+ cuda modules) with ROS

Sorry if my question is not clear but what I want to know is if I have to install a version of pcl that contains cuda an

2019-02-08 01:25:00 -0500 commented question How to use pcl (+ cuda modules) with ROS

@ahendrix Sorry but don't know why it has to be closed. Since the only thing I want to know is how to use/link pcl with

2019-02-08 01:24:15 -0500 commented question How to use pcl (+ cuda modules) with ROS

@ahendrix Sorry but don't know why it has to be closed. Since the only thing I want to know is how to use/link pcl with

2019-02-08 01:21:11 -0500 commented question How to use pcl (+ cuda modules) with ROS

@ahendrix I'm sorry but don't know why it has to be closed. Since the only thing I want to know is how to use/link pcl w

2019-02-08 01:20:53 -0500 commented question How to use pcl (+ cuda modules) with ROS

@ahendrix I'm sorry but don't know why it has to be closed. Since the only thing I want to know is how to use/link pcl i

2019-02-07 23:51:48 -0500 received badge  Popular Question (source)
2019-02-07 08:29:22 -0500 asked a question How to use pcl (+ cuda modules) with ROS

How to use pcl with cuda Hi, I want to use pcl and openCV with cuda. I know now that I have to install another version

2019-02-05 05:39:26 -0500 received badge  Self-Learner (source)
2019-02-05 05:39:26 -0500 received badge  Teacher (source)
2019-02-05 01:07:40 -0500 commented answer How to know which version of gcc/g++ compiled ros and how to change it for compiling my workspace

Ok, thank you so much!

2019-02-05 01:06:28 -0500 commented answer Linking problem with ${catkin_LIBRARIES}

Thank you.

2019-02-05 01:05:37 -0500 received badge  Enthusiast
2019-02-04 09:48:35 -0500 received badge  Supporter (source)
2019-02-04 09:36:03 -0500 received badge  Associate Editor (source)
2019-02-04 09:36:03 -0500 edited answer undefined reference to everything

I did lots of things to fix these errors so I'm not sure which of them did, but I think it was one of these: (I think

2019-02-04 09:34:44 -0500 edited answer undefined reference to everything

I did lots of things to fix these errors so I'm not sure which of them did, but I think it was one of these: (I think

2019-02-04 09:26:06 -0500 edited answer undefined reference to everything

I did lots of things to fix these errors so I'm not sure which of them did, but I think it was one of these: (I think

2019-02-04 09:22:26 -0500 commented answer How to know which version of gcc/g++ compiled ros and how to change it for compiling my workspace

Ok. I have changed it now.

2019-02-04 09:20:26 -0500 commented answer How to know which version of gcc/g++ compiled ros and how to change it for compiling my workspace

And you were right, the compiler is in /usr/bin, I think I'm just going crazy.

2019-02-04 09:15:15 -0500 commented answer How to know which version of gcc/g++ compiled ros and how to change it for compiling my workspace

Ok, I don't know why that 'print' appeared when I did copy paste. I have changed it now.

2019-02-04 09:14:14 -0500 edited question How to know which version of gcc/g++ compiled ros and how to change it for compiling my workspace

How to know which version of gcc/g++ compiled ros and how to change it for compiling my workspace Hi, I have a problem

2019-02-04 09:10:28 -0500 commented answer undefined reference to everything

Ok, thank you.

2019-02-04 09:09:36 -0500 marked best answer How to know which version of gcc/g++ compiled ros and how to change it for compiling my workspace

Hi,

I have a problem compiling my workspace: https://answers.ros.org/question/313955/undefined-reference-to-everything/ and I think that this could be because of the version of gcc and g++. I want to follow this answer: https://answers.ros.org/question/291910/linking-problem-with-catkin_libraries/ because I noticed that all of my undefined references involve std::string, like he said. But I don't know how to know if this is the problem or not, I don't know how to know which version of gcc/g++ was used to build ros and I don't know how to choose the version to compile my workspace (use the default compiler like the answer said).

Thank you in advance.

EDIT

Here the output of:

which gcc
/usr/bin/gcc

env | grep -E 'CC|CXX'
QT_LINUX_ACCESSIBILITY_ALWAYS_ON=1
QT_ACCESSIBILITY=1


gcc --version
gcc (Ubuntu 5.4.0-6ubuntu1~16.04.11) 5.4.0 20160609
Copyright (C) 2015 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
2019-02-04 09:09:36 -0500 commented answer How to know which version of gcc/g++ compiled ros and how to change it for compiling my workspace

I added the info to the question.

2019-02-04 09:09:13 -0500 edited question How to know which version of gcc/g++ compiled ros and how to change it for compiling my workspace

How to know which version of gcc/g++ compiled ros and how to change it for compiling my workspace Hi, I have a problem

2019-02-04 09:04:36 -0500 received badge  Notable Question (source)
2019-02-04 09:04:15 -0500 marked best answer undefined reference to everything

Hi,

I have a package in my workspace that uses openCV and cv_bridge. I needed the cuda module of openCV, but it doesn't exist in the default openCV of ROS. I installed another version of openCV that included the cuda modules, I tried to link my workspace and my package to the new openCV and I had lots of errors like "undefined reference to 'cv_bridge::...' ", "undefined reference to 'ros::init::...' ", "undefined reference to 'rosbag::...' ". I tried to solve the problems but I wasn't able, so I tried to return to the default openCV (it worked fine with my package before I tried to use cuda, etc.), but it gives the same errors now. I have uninstalled and reinstalled ROS, deleted my workspace and the package and I have created them again, but I have the same errors. I have all the dependencies in the CMakeLists.txt.

________

EDIT

For more information, I have created now a new node with a loop that does nothing but ros::spinOnce(); loop_rate.sleep(); in a different package, and I have the same undefined reference to errors about ros::init(...) and ros::NodeHandle::NodeHandle(...).

________

EDIT 2

I have exported my package to another computer with ros and it does work, so I think it is a problem in my ros installation or something wrong in the configuration of the computer or ubuntu (maybe CMake, g++ or gcc?). Please does anyone know which could be the problem? Please I really need help!

________

These are some of the errors:

undefined reference to 'cv_bridge::toCvCopy(boost::shared_ptr<sensor_msgs::Image_<std::allocator<void> > const> const&, std::string const&)'
undefined reference to 'ros::console::initializeLogLocation(ros::console::LogLocation*, std::string const&, ros::console::levels::Level)'
undefined reference to 'ros::init(int&, char**, std::string const&, unsigned int)'
undefined reference to 'ros::NodeHandle::NodeHandle(std::string const&, std::map<std::string, std::string, std::less<std::string>, std::allocator<std::pair<std::string const, std::string> > > const&)'
undefined reference to 'rosbag::Bag::open(std::string const&, unsigned int)'
undefined reference to 'rosbag::TypeQuery::TypeQuery(std::string const&)'
undefined reference to 'rosbag::MessageInstance::getTopic() const'
undefined reference to 'pcl_ros::transformPointCloud(std::string const&, sensor_msgs::PointCloud2_<std::allocator<void> > const&, sensor_msgs::PointCloud2_<std::allocator<void> >&, tf::TransformListener const&)'
undefined reference to 'pcl::PCDWriter::writeBinary(std::string const&, pcl::PCLPointCloud2 const&, Eigen::Matrix<float, 4, 1, 0, 4, 1> const&, Eigen::Quaternion<float, 0> const&)'
undefined reference to 'pcl::PCDWriter::writeASCII(std::string const&, pcl::PCLPointCloud2 const&, Eigen::Matrix<float, 4, 1, 0, 4, 1> const&, Eigen::Quaternion<float, 0> const&, int)'
undefined reference to 'rosbag::MessageInstance::getMD5Sum() const'
undefined reference to 'rosbag::Bag::readField(std::map<std::string, std::string, std::less<std::string>, std::allocator<std::pair<std::string const, std::string> > > const&, std::string const&, bool, std::string&) const'
undefined reference to 'rosbag::Bag::readField(std::map<std::string, std::string, std::less<std::string>, std::allocator<std::pair<std::string const, std::string> > > const&, std::string ...
(more)