Skip to content
This repository has been archived by the owner on Jan 23, 2024. It is now read-only.

Problems using cross compiling #92

Open
s3rgiux opened this issue Feb 23, 2017 · 2 comments
Open

Problems using cross compiling #92

s3rgiux opened this issue Feb 23, 2017 · 2 comments

Comments

@s3rgiux
Copy link

s3rgiux commented Feb 23, 2017

Hi, i have successfully run the ptam project in my computer but after all the test that i have done, i decided to move the code to my odroid u4, but when i tried to run the normally procedure to do cross compiling it doesn't compile it shows some errors, apparently its an error because thee rqt, but i really don need the visualizer because the odroid it's on a robot so i only use the rviz to visualize data i would like to know if it's possible to compile and run only ptam using the remote ptam without visualizer.

The errors:

In file included from /home/sergio/catkin_ws_user/src/ethzasl_ptam/rqt_ptam/src/rqt_ptam/remote_ptam.cpp:34:0:
/home/sergio/catkin_ws_user/src/ethzasl_ptam/rqt_ptam/include/rqt_ptam/remote_ptam.h:38:32: fatal error: rqt_gui_cpp/plugin.h: No such file or directory
In file included from /home/sergio/catkin_ws_user/odroid-build/rqt_ptam/include/rqt_ptam/moc_remote_ptam.cxx:9:0:
/home/sergio/catkin_ws_user/odroid-build/rqt_ptam/include/rqt_ptam/../../../../src/ethzasl_ptam/rqt_ptam/include/rqt_ptam/remote_ptam.h:38:32: fatal error: rqt_gui_cpp/plugin.h: No such file or directorycompilation terminated.

compilation terminated.
make[2]: *** [CMakeFiles/rqt_ptam.dir/src/rqt_ptam/remote_ptam.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: *** [CMakeFiles/rqt_ptam.dir/include/rqt_ptam/moc_remote_ptam.cxx.o] Error 1
make[1]: *** [CMakeFiles/rqt_ptam.dir/all] Error 2
make: *** [all] Error 2

And the second one

make[3]: warning: jobserver unavailable: using -j1. Add +' to parent make rule. /opt/odroid-x2/sdk/opt/ros/indigo/bin/rospack: 1: /opt/odroid-x2/sdk/opt/ros/indigo/bin/rospack: Syntax error: word unexpected (expecting ")") Makefile:1: /cmake.mk: No such file or directory make[4]: *** No rule to make target /cmake.mk'. Stop.
make[3]: *** [all] Error 2
make[2]: *** [CMakeFiles/DEPS] Error 2
make[1]: *** [CMakeFiles/DEPS.dir/all] Error 2
make: *** [all] Error 2

Thank you for your attention

@HoussemRouis
Copy link

I had a similar error. This answer solved my problem.
I was using ROS Kinetic, apparently there are some package dependencies.

@cumtchenchang
Copy link

I encounter this error. However, when I follow your suggestion, new error happened.
-- +++ processing catkin package: 'rqt_ptam'
-- ==> add_subdirectory(ethzasl_ptam/rqt_ptam)
CMake Error at /home/SENSETIME/chenchang1/catkin_ws/devel/share/rqt_gui_cpp/cmake/rqt_gui_cppConfig.cmake:113 (message):
Project 'rqt_gui_cpp' specifies
'/home/SENSETIME/chenchang1/catkin_ws/src/rqt/rqt_gui_cpp/include' as an
include dir, which is not found. It does neither exist as an absolute
directory nor in
'/home/SENSETIME/chenchang1/catkin_ws/src/rqt/rqt_gui_cpp//home/SENSETIME/chenchang1/catkin_ws/src/rqt/rqt_gui_cpp/include'.
Check the issue tracker 'https://github.com/ros-visualization/rqt/issues'
and consider creating a ticket if the problem has not been reported yet.
Call Stack (most recent call first):
/opt/ros/kinetic/share/catkin/cmake/catkinConfig.cmake:76 (find_package)
ethzasl_ptam/rqt_ptam/CMakeLists.txt:5 (find_package)

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

No branches or pull requests

3 participants