Ask Your Question
0

I'm trying to build a package using catkin build,i even get notification that package has been built.But no package found is the error while using rosfind package.What should I do now?

asked 2018-10-25 11:45:54 -0500

atharva_jadhav gravatar image

[build] No packages were found in the source space '/home/atharva/catkin_ws/src/laserscan_kinect/src' [build] No packages to be built. [build] Package table is up to date.
[build] Summary: All 0 packages succeeded!
[build] Ignored: None.
[build] Warnings: None.
[build] Abandoned: None.
[build] Failed: None.
[build] Runtime: 0.0 seconds total.
atharva@atharva-Inspiron-7537:~/catkin_ws/src/laserscan_kinect$ catkin build laserscan_kinect

edit retag flag offensive close merge delete

Comments

even get notification that package has been built

I don't believe that is true.

We see this in the output you copy-pasted:

[build] Summary: All 0 packages succeeded!

"0 packages" means "no packages".

gvdhoorn gravatar imagegvdhoorn ( 2018-10-26 04:46:11 -0500 )edit

Yeah, I do have same query but, a notification on top right of my screen shows package built successfully.If no packages are built in real,how can i build them?

atharva_jadhav gravatar imageatharva_jadhav ( 2018-10-26 06:58:27 -0500 )edit

I believe it only shows that the build was successful. But it would always be successful if it doesn't build any packages.

gvdhoorn gravatar imagegvdhoorn ( 2018-10-26 07:43:25 -0500 )edit

Thanks for reply, how do i make sure that the package is build?

atharva_jadhav gravatar imageatharva_jadhav ( 2018-10-26 07:45:48 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2018-10-25 14:24:04 -0500

bsheffield gravatar image

It appears Catkin is looking in the incorrect workspace as it is looking in the laserscan_kinect/src and not catkin_ws/src.

Try typing 'catkin build laserscan_kinect' or 'catkin_make' inside ~/catkin_ws.

edit flag offensive delete link more

Comments

Yup, compilation needs to be done from the root of the workspace (i.e. ~/catkin_ws and not from the root of a package).

jayess gravatar imagejayess ( 2018-10-26 02:38:30 -0500 )edit

@jayess are you sure about that? You are correct regarding catkin_make, but OP mentions catkin build. I believe you can run catkin build from any directory within a workspace. https://catkin-tools.readthedocs.io/e...

jarvisschultz gravatar imagejarvisschultz ( 2018-10-26 07:29:29 -0500 )edit

This problem could have been caused by running catkin init more than once, or possibly just once but in the wrong directory.

jarvisschultz gravatar imagejarvisschultz ( 2018-10-26 07:31:13 -0500 )edit

@jarvisschultz Good point, I didn't catch that the asker was using catkin build I only saw that the answerer was using catkin_make

jayess gravatar imagejayess ( 2018-10-28 21:06:09 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2018-10-25 11:45:54 -0500

Seen: 632 times

Last updated: Oct 25 '18