depthai-ros icon indicating copy to clipboard operation
depthai-ros copied to clipboard

[BUG] {Build error: unknown package type}

Open 22222140 opened this issue 3 years ago • 6 comments

Hello,

I'm trying OAK-D Pro on ROS Noetic on my Ubuntu 20.04 And it doesn't work in Setting up procedure. When running catkin_make_isolated, I can see an error below.

I also tried catkin clean and sudo apt upgrade..

I would appreciate any assistance for it

~~  traversing 5 packages in topological order:
~~  - depthai-ros (unknown)
~~  - depthai_ros_msgs (unknown)
~~  - depthai_bridge (unknown)
~~  - depthai_examples (unknown)
~~  - depthai_ros_driver (unknown)

Error: Packages with unknown build types exist Can not build workspace with packages of unknown build_type

22222140 avatar Mar 15 '23 07:03 22222140

Hi, it seems you need to switch to noetic branch

Serafadam avatar Mar 15 '23 10:03 Serafadam

Hi, Sorry that there was a mistake in my explanation. I ran the commands from noetic branch, catkin_make_isolated -l1 -j1

One more thing, is it correct to run this command below, after cd ../.. at /dai_ws/src ? rosdep install --from-paths src --ignore-src -r -y Actually when I do this at ~$, I can see the message that "given path 'src' does not exist"

22222140 avatar Mar 17 '23 05:03 22222140

It's a mistake it would be cd .. You are pointing rosdep to the src directory for installation. If you use cd ../.. it should be: rosdep install --from-paths dai_ws/src --ignore-src -r -y

ceemil avatar Mar 17 '23 08:03 ceemil

Thank you, Actually I had done 'cd..' as well but I could see same error message below

ase path: /home/asl/dai_ws Source space: /home/asl/dai_ws/src Build space: /home/asl/dai_ws/build_isolated Devel space: /home/asl/dai_ws/devel_isolated Install space: /home/asl/dai_ws/install_isolated Additional make Arguments: -l1 -j1

~~  traversing 7 packages in topological order:
~~  - depthai-ros (unknown)
~~  - depthai_descriptions (unknown)
~~  - depthai_filters (unknown)
~~  - depthai_ros_msgs (unknown)
~~  - depthai_bridge (unknown)
~~  - depthai_examples (unknown)
~~  - depthai_ros_driver (unknown)

Error: Packages with unknown build types exist Can not build workspace with packages of unknown build_type

22222140 avatar Apr 24 '23 10:04 22222140

Hi, could you post git branch that you are on?

Serafadam avatar Apr 25 '23 09:04 Serafadam

I'm trying on noetic branch.

22222140 avatar Apr 26 '23 10:04 22222140