Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error on compilation #93

Open
ZdenekM opened this issue Nov 25, 2013 · 10 comments
Open

Error on compilation #93

ZdenekM opened this issue Nov 25, 2013 · 10 comments

Comments

@ZdenekM
Copy link

ZdenekM commented Nov 25, 2013

Ubuntu 12.10, ROS Hydro, pr2_simulator branch: hydro-devel

In file included from /home/imaterna/ros_hydro/catkin_ws/src/pr2_simulator/pr2_gazebo_plugins/src/gazebo_ros_power_monitor.cpp:38:0:
/home/imaterna/ros_hydro/catkin_ws/src/pr2_simulator/pr2_gazebo_plugins/include/pr2_gazebo_plugins/gazebo_ros_power_monitor.h:37:28: fatal error: physics/World.hh: Adresář nebo soubor neexistuje
compilation terminated.
make[2]: *** [pr2_simulator/pr2_gazebo_plugins/CMakeFiles/gazebo_ros_power_monitor.dir/src/gazebo_ros_power_monitor.cpp.o] Error 1
make[1]: *** [pr2_simulator/pr2_gazebo_plugins/CMakeFiles/gazebo_ros_power_monitor.dir/all] Error 2
@hsu
Copy link
Contributor

hsu commented Feb 3, 2014

should be addressed by pull request #95

trainman419 added a commit that referenced this issue Feb 3, 2014
fix gazebo includes in gazebo_ros_power_monitor.h. fixes #93
@ZdenekM
Copy link
Author

ZdenekM commented Feb 19, 2014

Unfortunately, now I'm getting this:

-- +++ processing catkin package: 'pr2_gazebo_plugins'
-- ==> add_subdirectory(pr2_simulator/pr2_gazebo_plugins)
CMake Error at /opt/ros/hydro/share/cv_bridge/cmake/cv_bridgeConfig.cmake:141 (message):
  Project 'pr2_gazebo_plugins' tried to find library 'debug'.  The library is
  neither a target nor built/installed properly.  Did you compile project
  'cv_bridge'? Did you find_package() it before the subdirectory containing
  its code is included?
Call Stack (most recent call first):
  /opt/ros/hydro/share/catkin/cmake/catkinConfig.cmake:72 (find_package)
  pr2_simulator/pr2_gazebo_plugins/CMakeLists.txt:7 (find_package)


-- Configuring incomplete, errors occurred!
Invoking "cmake" failed

@ahendrix
Copy link
Member

I'm not seeing this with the latest version of pr2_simulator ( 636ce3f ) and cv_bridge 1.10.15 on Hydro and Ubuntu Precise (12.04).

Is this still a problem on your machine?

@ZdenekM
Copy link
Author

ZdenekM commented Feb 27, 2014

I'm on 636ce3f and it's still problem. Hydro, Ubuntu Raring (13.04), cv_bridge 1.10.15. I will try on different machine.

@ahendrix
Copy link
Member

I can't reproduce this on my Raring machine either.

Is it possible that there's another package in your catkin workspace that's causing problems for this?

@ZdenekM
Copy link
Author

ZdenekM commented Feb 27, 2014

Thanks for hint. I tried to remove build and devel directories and also put CATKIN_IGNORE in all other packages but it still ends with the same error. On different machine it's compiling ok (but dies during launching).

@ahendrix
Copy link
Member

This definitely sounds like a problem with that particular machine.

Can you open a separate ticket to track the issues you're seeing on launch?

@beranv
Copy link

beranv commented Mar 26, 2014

Ubuntu 12.10, ROS Hydro, pr2_simulator branch: hydro-devel
/home/beranv/ros_hydro/catkin_ws/src/pr2_simulator/pr2_gazebo_plugins/src/gazebo_ros_controller_manager.cpp:47:24: fatal error: sdf/Param.hh: No such file or directory compilation terminated.

@ZdenekM
Copy link
Author

ZdenekM commented Mar 26, 2014

@ahendrix Yes, it seems to be a problem with particular machine - on my ntb it works great. But on the PC I'm not able to figure out what is wrong.

@trainman419
Copy link
Contributor

@ZdenekM I've seen an issue similar to what you're seeing when I had an upstream package that was exporting libraries poorly. I ended up taking a look at the list of libraries inside of the generated cmake file (in your case /opt/ros/hydro/share/cv_bridge/cmake/cv_bridgeConfig.cmake ) and then spent some time trying to figure out where each of those libraries were coming from and why.

@beranv that sounds like a completely different issue; can you open a new ticket for it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants