ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

pachuc's profile - activity

2021-07-10 05:03:26 -0500 marked best answer Catkin_make install

Hi, I had some doubts about how catkin_make works, and was hoping someone could explain it all to me. So, i have gone through all the basic ros tutorials, and have the begginer_tutorials package that they use. I am able to build the package and run it using ros run. This works with my devel/setup.bash sourced.

After this point I was trying to use catkin_make install to make the installation directory. I used the cmake flags to specify an install directory inside my catkin workspace and everything ran correctly. After this my workspace had the folders src, devel, build, and install. However, upon further inspection I noticed that the install folder did not contain any binary files, only the headers. I also noticed that if I use the setup.bash in the install folder none of my packages can be found; however, all my packages show up when I source /devel/setup.bash.

So, I was wondering why this is, and how it works. Why does install contain no binaries? Is it supposed to be this way? Are they just referenced by devel? Why doesn't my setup.bash in install work? If someone could provide some insight it would be greatly appreciated.

2019-10-27 11:36:57 -0500 received badge  Taxonomist
2015-09-15 04:32:38 -0500 received badge  Famous Question (source)
2015-07-17 12:47:19 -0500 received badge  Notable Question (source)
2015-05-03 15:12:58 -0500 received badge  Student (source)
2014-12-16 02:31:46 -0500 received badge  Famous Question (source)
2014-11-02 16:08:38 -0500 received badge  Famous Question (source)
2014-11-02 16:08:38 -0500 received badge  Notable Question (source)
2014-10-06 22:31:01 -0500 received badge  Popular Question (source)
2014-10-03 12:41:42 -0500 received badge  Popular Question (source)
2014-10-01 13:44:55 -0500 commented answer How to install packages as subdirectory of metapackage?

ok, thanks for the answer. I guess it doesn't really matter... its just... annoying lol

2014-10-01 13:43:04 -0500 received badge  Supporter (source)
2014-10-01 13:43:03 -0500 received badge  Scholar (source)
2014-10-01 13:28:32 -0500 commented answer How to install packages as subdirectory of metapackage?

i guess its not necessary, but it would be nice. So did stacks used to work this way (sorry im new to catkin/ros)? If so, why did they change it for metapackages? I guess the only point of a metapackage is just to install easier?

2014-10-01 13:27:07 -0500 commented answer How to install packages as subdirectory of metapackage?

well my source is laid out like this: /src/group_of_files/many_individual_package_folders.

I was hoping that my install could look the same way ie: install/lib/group_of_files_/my_packages

I think this is mostly just for convenience and easily identifying package install locations.

2014-10-01 13:19:50 -0500 asked a question How to install packages as subdirectory of metapackage?

So, currently I have packages that install their binaries to catkin_ws/install/lib/package_name

I made a metapackage to contain these directories. Now I would like them to install like this: install/lib/meta_package_name/package_name

Is there any good way of achieving this?

2014-09-27 06:19:10 -0500 received badge  Notable Question (source)
2014-09-22 13:10:59 -0500 asked a question Removed Eigen CMake config file

So, I'm having an issue with compilation after moving to an indigo platform on ubuntu 14.04. As I understand it, from here, here, here, and here the FindEigen.cmake is now in /opt/indigo/share/cmake_modules/cmake/Modules/. I see this on my system, and I followed the instructions to add cmake_modules as a dependency in both the package.xml and CMakeLists.txt, however, I still get the same error.

The exact error message i get is:

    CMake Error at /opt/ros/indigo/share/catkin/cmake/catkinConfig.cmake:75 (find_package):
  Could not find a package configuration file provided by "eigen" with any of
  the following names:

    eigenConfig.cmake
    eigen-config.cmake

  Add the installation prefix of "eigen" to CMAKE_PREFIX_PATH or set
  "eigen_DIR" to a directory containing one of the above files.  If "eigen"
  provides a separate development package or SDK, be sure it has been
  installed.
Call Stack (most recent call first):
  vigir_atlas_ros_control/vigir_atlas_controller/CMakeLists.txt:20 (find_package)


-- Configuring incomplete, errors occurred!
See also "/home/pachu/flor_repo/catkin_ws/build/CMakeFiles/CMakeOutput.log".
See also "/home/pachu/flor_repo/catkin_ws/build/CMakeFiles/CMakeError.log".
Invoking "cmake" failed

So... I'm not really sure what else to try. I was working with vigir_atlas_ros_control/vigir_atlas_controller/CMakeLists.txt to add the dependencies but nothing seemed to change. Do i have to change something in /opt/ros/indigo/share/catkin/cmake/catkinConfig.cmake? Any help would be greatly appreciated.

2014-09-17 10:54:30 -0500 received badge  Popular Question (source)