costashatz / nao_gazebo

ROS Packages to simulate Aldebaran's NAO Humanoid in Gazebo through NAOqi Simulator SDK
BSD 3-Clause "New" or "Revised" License
34 stars 19 forks source link

catkin_make is not successful. #12

Open Ruqaiya97 opened 4 years ago

Ruqaiya97 commented 4 years ago

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.

costashatz commented 4 years ago

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

Ruqaiya97 commented 4 years ago

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.

costashatz commented 4 years ago

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

Ruqaiya97 commented 4 years ago

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

costashatz commented 4 years ago

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.

Ruqaiya97 commented 4 years ago

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

costashatz commented 4 years ago

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