Open LiliMeng opened 8 years ago
I downloaded it to the ~/catkin_ws/src file, and then
$cd torch-ros
$cmake .
It's good now. but after
$make
The following errors appear
/opt/ros/indigo/include/ros/message_traits.h: In instantiation of ‘static const char* ros::message_traits::MD5Sum
@LiliMeng Nomally with ROS indigo installed you should be able to build the project with luarocks make
in the directory where torch-ros resides. Seems as if the SerializeMessage
specialization trick does not work on your system.
I seem to have a similar problem. I have indigo installed but it seems it's finding a hard time finding catkin.
I got the following errors:
CMake Error at CMakeLists.txt:7 (find_package):
By not providing "Findcatkin.cmake" in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by "catkin", but
CMake did not find one.
Could not find a package configuration file provided by "catkin" with any
of the following names:
catkinConfig.cmake
catkin-config.cmake
Add the installation prefix of "catkin" to CMAKE_PREFIX_PATH or set
"catkin_DIR" to a directory containing one of the above files. If "catkin"
provides a separate development package or SDK, be sure it has been
installed.
Moving it to my catkin_ws
src
folder and building from there seems to solve the problem. Might be worth addressing this in your readme. Thanks!
@lakehanne, I tried that but I had no luck, I get that same error.
/opt/ros/indigo/include/ros/message_traits.h: In instantiation of ‘static const char* ros::message_traits::MD5Sum
Is the /home/vkee/momap
directory where you have your catkin workspace? Another note, do not use cmake in the src folder. You want to use catkin_make
from within the root folder of your catkin workspace.
That is my catkin workspace.
I did that, but it said it finished building without building torch-ros at all.
Maybe delete your build folder and then re-catkin_make. Sometimes, the cmakelists cache text files in the build directory doesn't get updated unless you explicitly delete them. Don't forget to cd to torch-ros directory afterwards and install the rockspec with luarocks.
You should be fine.
Sincerely, Lekan
On 14 September 2016 at 12:23, Vincent Kee notifications@github.com wrote:
That is my catkin workspace.
I did that, but it said it finished building without building torch-ros at all.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/Xamla/torch-ros/issues/6#issuecomment-247089456, or mute the thread https://github.com/notifications/unsubscribe-auth/AIChJHRTluEYNh1B_9iCN6jx_qNrisPHks5qqC15gaJpZM4JouZo .
Hi, I am able to compile this on ros indigo but facing the compilation issue i.e message traits not defined for RawMessage, while compiling on ros melodic. Any idea how to solve it?
Hi,