nao_gazebo icon indicating copy to clipboard operation
nao_gazebo copied to clipboard

catkin_make is not successful.

Open Ruqaiya97 opened this issue 5 years ago • 7 comments

When I do catkin_make, I get the following error.

/home/asfand/catkin_ws/src/nao_gazebo/gazebo_naoqi_control/include/gazebo_naoqi_control/gazebo_naoqi_control_plugin.h:46:50: fatal error: alnaosim/alnaosim_camera_definitions.h: No such file or directory
 #include <alnaosim/alnaosim_camera_definitions.h>
                                                  ^
compilation terminated.
make[2]: *** [nao_gazebo/gazebo_naoqi_control/CMakeFiles/gazebo_naoqi_control.dir/src/gazebo_naoqi_control_plugin.cpp.o] Error 1
make[1]: *** [nao_gazebo/gazebo_naoqi_control/CMakeFiles/gazebo_naoqi_control.dir/all] Error 2
make: *** [all] Error 2
Invoking "make -j8 -l8" failed

If you could please help. I have ROS Indigo.

Ruqaiya97 avatar Dec 27 '19 05:12 Ruqaiya97

Can you please do ls /path/to/alnaosim (where /path/to/alnaosim is the path to the extracted folder for the NAOqi simulator SDK)?

costashatz avatar Dec 27 '19 15:12 costashatz

The output of that is alnaosim.h Sorry for the late reply, The system isn’t available on weekends. I think there might be permission issues. Not sure.

Ruqaiya97 avatar Dec 30 '19 06:12 Ruqaiya97

Which version of the C++ NAOqi Simulator SDK do you have? I have only tested this code with 1.14.5.

costashatz avatar Dec 30 '19 12:12 costashatz

I believe we have 2.1.4.13. Could you share your version Through google drive or something since I can’t find it online? Thanks

Ruqaiya97 avatar Dec 30 '19 16:12 Ruqaiya97

Could you share your version Through google drive or something since I can’t find it online?

You should be able to find it through your Aldebaran NAO account. It should be in the archived SDKs (if I remember well). I do not have access to the SDK as I have moved and no longer have a NAO in my possession.

costashatz avatar Dec 30 '19 16:12 costashatz

The version you mentioned also doesn't work. This is what I get in the terminal. Also I've written these lines in bashrc. export AL_DIR=/home/asfand/NAOqi/naoqi-sdk-1.14.5-linux64/ export AL_SIM_DIR=/home/asfand/NAOqi/simulator-sdk-1.14.5-linux64

Screenshot from 2019-12-31 07:01:19 Screenshot from 2019-12-31 07:01:05 Screenshot from 2019-12-31 07:00:52 Screenshot from 2019-12-31 07:00:38 Screenshot from 2019-12-31 07:00:25

Ruqaiya97 avatar Dec 31 '19 07:12 Ruqaiya97

Can you do rm -rf devel and rm -rf build in the catkin workspace and try again? Sometimes CMake's stuck.

costashatz avatar Jan 11 '20 11:01 costashatz