# Using catkin build after using catkin\_make

**URL:** <https://forum.ubiquityrobotics.com/t/using-catkin-build-after-using-catkin-make/786>\
**Category:** Uncategorized\
**Created:** [April 6, 2021, 8:41pm UTC](https://forum.ubiquityrobotics.com/t/using-catkin-build-after-using-catkin-make/786 "2021-04-06T20:41:35Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Beedz](https://forum.ubiquityrobotics.com/letter_avatar_proxy/v4/letter/b/ec9cab/32.png) [@Beedz](https://forum.ubiquityrobotics.com/u/Beedz)\
**Post date:** [April 6, 2021, 8:41pm UTC](https://forum.ubiquityrobotics.com/t/using-catkin-build-after-using-catkin-make/786/1 "2021-04-06T20:41:35Z")

</div>

Hi guys, so I’ve been using “catkin\_make” to build packages, but there is this package that can only be built using “catkin build” (neither catkin\_make nor catkin\_make\_isolated) and it’s giving me such a hard time building it. When I tried to run “catkin build” in the catkin\_ws directory, it gave me the following error

![image](https://forum.ubiquityrobotics.com/uploads/default/original/1X/ac53036537bced842b3cdc76459f5f796d6bce55.png)

So how can I fix this problem? Also, in future if possible, how can I use both “catkin\_make” and “catkin build” together without going in much pain?

---

<div class="post-metadata">

**Author:** ![rohbotics](https://forum.ubiquityrobotics.com/user_avatar/forum.ubiquityrobotics.com/rohbotics/32/222_2.png) [@rohbotics](https://forum.ubiquityrobotics.com/u/rohbotics)\
**Post date:** [April 6, 2021, 8:43pm UTC](https://forum.ubiquityrobotics.com/t/using-catkin-build-after-using-catkin-make/786/2 "2021-04-06T20:43:57Z")

</div>

Hi @Beedz,

Sorry your message got stuck in the moderation queue. You can remove the `build` and `devel` folders, and then transition to using `catkin build` exclusively. You may have to make some changes to .bashrc to make sure you are sourcing correctly still. You could also create a separate workspace for `catkin build` projects and source both of them in your .bashrc.

Hope that helps.

Rohan Agrawal
