# \[Bug\] CMake file error

**URL:** <https://get-help.theconstruct.ai/t/bug-cmake-file-error/35149>\
**Category:** ROS2 Manipulation Basics (Humble)\
**Created:** [March 3, 2025, 6:08pm UTC](https://get-help.theconstruct.ai/t/bug-cmake-file-error/35149 "2025-03-03T18:08:55Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![gxianggm](https://get-help.theconstruct.ai/letter_avatar_proxy/v4/letter/g/46a35a/32.png) [@gxianggm](https://get-help.theconstruct.ai/u/gxianggm)\
**Post date:** [March 3, 2025, 6:08pm UTC](https://get-help.theconstruct.ai/t/bug-cmake-file-error/35149/1 "2025-03-03T18:08:55Z")

</div>

This is an error report.

* * *

**Screenshot of the error**

 ![](https://error-imgs.s3.amazonaws.com/error_image_35aad998-7b2a-49e2-ad8d-1c5f409a5add_1741025069707.png)
* * *

**Error details**

I am learning the course ROS2 Manipulation. While I am using colcon build, it is showing CMake error "CMake Error at CMakeLists.txt:6 (ament\_target\_dependencies): Unknown CMake command "ament\_target\_dependencies. While I am launching command "ros2 launch moveit2\_scripts joint\_space\_trajectory.launch.py", it shows, moveit scripts not found. It is searching in home/users/simulations/

---

<div class="post-metadata">

**Author:** ![bayodesegun](https://get-help.theconstruct.ai/user_avatar/get-help.theconstruct.ai/bayodesegun/32/10684_2.png) [@bayodesegun](https://get-help.theconstruct.ai/u/bayodesegun)\
**Post date:** [March 4, 2025, 9:53am UTC](https://get-help.theconstruct.ai/t/bug-cmake-file-error/35149/3 "2025-03-04T09:53:29Z")

</div>

Did you create this package yourself? If not, did you copy it correctly?

Kindly ensure you started the course from the first unit and copied every specified file properly.

---

<div class="post-metadata">

**Author:** ![system](https://get-help.theconstruct.ai/uploads/default/original/2X/9/9d3ce8305cc0d0d9b6e07d15767a6f245c526f1b.jpeg) [@system](https://get-help.theconstruct.ai/u/system)\
**Post date:** [March 9, 2025, 9:53am UTC](https://get-help.theconstruct.ai/t/bug-cmake-file-error/35149/4 "2025-03-09T09:53:42Z")

</div>

This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.
