flightmare icon indicating copy to clipboard operation
flightmare copied to clipboard

catkin build fails

Open Reka-Berci-Hajnovics opened this issue 4 years ago • 7 comments

I was following the instructions on the wiki to install fligthmare with ROS, but when I try to build it catkin build fails. I get the following error message: catki build error

I've tried to edit the PYTHONPATH, but then it messes up my pip installation.

After trying couple of different solutions I have ended up removing my build and devel folder and I ran catkin_make. catkin_make was able to build my packages without any problems.

I think this tip might be handy for other users as well. Would you consider adding it to your documentation? Thanks!

Reka-Berci-Hajnovics avatar Oct 08 '20 09:10 Reka-Berci-Hajnovics

The exactly same issue happened here, only 20 out of 33 packages succeeded. Thank you much for bringing it up along with your solution.

mrwrongwrongwrong avatar Oct 10 '20 06:10 mrwrongwrongwrong

I was following the instructions on the wiki to install fligthmare with ROS, but when I try to build it catkin build fails. I get the following error message: catki build error

I've tried to edit the PYTHONPATH, but then it messes up my pip installation.

After trying couple of different solutions I have ended up removing my build and devel folder and I ran catkin_make. catkin_make was able to build my packages without any problems.

I think this tip might be handy for other users as well. Would you consider adding it to your documentation? Thanks!

Dear Reka, In addition, could you please supply the tutorial of " removing my build and devel folder"? I am a novice to kernel and trying to learn it. Thank you a lot for your help! Sincerely yours,

mrwrongwrongwrong avatar Oct 10 '20 06:10 mrwrongwrongwrong

In case catkin_make does not work properly on your PC, the alternative solution is here: http://wiki.ros.org/catkin/commands/catkin_make

mrwrongwrongwrong avatar Oct 10 '20 16:10 mrwrongwrongwrong

Dear Reka, In addition, could you please supply the tutorial of " removing my build and devel folder"? I am a novice to kernel and trying to learn it. Thank you a lot for your help! Sincerely yours,

Hi, Removing the build and devel folder is really easy. You can do it even without using the terminal. Just navigate to your catkin_ws, right-click the build and devel folder and choose move to trash. From the command line you can do the same:

cd ~/catkin_ws
rm -r build
rm -r devel
catkin_make

Reka-Berci-Hajnovics avatar Oct 12 '20 08:10 Reka-Berci-Hajnovics

Initialize your build for python 2.7. It seems your catkin tools point to python 3.x Do this in your workspace directory (~/catkin_ws) catkin config --init --mkdirs --extend /opt/ros/$ROS_DISTRO --merge-devel --cmake-args -DCMAKE_BUILD_TYPE=Release -DPYTHON_VERSION=2.7

vivekrathi14 avatar Nov 05 '20 13:11 vivekrathi14

I was following the instructions on the wiki to install fligthmare with ROS, but when I try to build it catkin build fails. I get the following error message: catki build error

I've tried to edit the PYTHONPATH, but then it messes up my pip installation.

After trying couple of different solutions I have ended up removing my build and devel folder and I ran catkin_make. catkin_make was able to build my packages without any problems.

I think this tip might be handy for other users as well. Would you consider adding it to your documentation? Thanks!

Agree. I have tried with Ubuntu18.04, and catkin build command does not work properly. catkin_make works perfectly.

I think this should be mentioned in the documentation for future users. Best regards,

miquel-espinosa avatar Jan 09 '21 09:01 miquel-espinosa

I was following the instructions on the wiki to install fligthmare with ROS, but when I try to build it catkin build fails. I get the following error message: catki build error I've tried to edit the PYTHONPATH, but then it messes up my pip installation. After trying couple of different solutions I have ended up removing my build and devel folder and I ran catkin_make. catkin_make was able to build my packages without any problems. I think this tip might be handy for other users as well. Would you consider adding it to your documentation? Thanks!

Agree. I have tried with Ubuntu18.04, and catkin build command does not work properly. catkin_make works perfectly.

I think this should be mentioned in the documentation for future users. Best regards,

Thank you very much! It works perfectly right now!

MichaelChoum avatar Dec 22 '22 09:12 MichaelChoum