# \[Bug\] Error de compilación Conceptos básicos de ROS2

**URL:** <https://get-help.theconstruct.ai/t/bug-error-de-compilacion-conceptos-basicos-de-ros2/33520>\
**Category:** ROS2 Basics in 5 Days Humble (Python)\
**Created:** [November 15, 2024, 10:47am UTC](https://get-help.theconstruct.ai/t/bug-error-de-compilacion-conceptos-basicos-de-ros2/33520 "2024-11-15T10:47:42Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ceit](https://get-help.theconstruct.ai/letter_avatar_proxy/v4/letter/c/f05b48/32.png) [@ceit](https://get-help.theconstruct.ai/u/ceit)\
**Post date:** [November 15, 2024, 10:47am UTC](https://get-help.theconstruct.ai/t/bug-error-de-compilacion-conceptos-basicos-de-ros2/33520/1 "2024-11-15T10:47:43Z")

</div>

This is an error report.

* * *

**Screenshot of the error**

 ![](https://error-imgs.s3.amazonaws.com/error_image_d82fbd6c-60c4-4054-8370-11356ade80c5_1731667537469.png)
* * *

**Error details**

Se ejecuta el comando ros2 pkg create --build-type ament\_python mars\_rover\_systems --dependencies rclpy para generar el paquete mars\_rover\_systems, pero al hacer colcon build da este error.

---

<div class="post-metadata">

**Author:** ![jpvaldivia7](https://get-help.theconstruct.ai/user_avatar/get-help.theconstruct.ai/jpvaldivia7/32/8925_2.png) [@jpvaldivia7](https://get-help.theconstruct.ai/u/jpvaldivia7)\
**Post date:** [November 15, 2024, 11:33am UTC](https://get-help.theconstruct.ai/t/bug-error-de-compilacion-conceptos-basicos-de-ros2/33520/3 "2024-11-15T11:33:02Z")

</div>

Hi @ceit, welcome to our community!

English:  
If you look at the error it says that the file `Turn.srv` cannot be found so you have to verify the path:

- Check if the file `Turn.srv` exists in the directory `services_quiz_srv` within your workspace (for example, `src/custom_interfaces/services_quiz_srv`).
- Ensure that the path to `Turn.srv` is correct and that it’s in the expected location relative to your `CMakeLists.txt` file.
- If you did not make `Turn.srv` file you might skip one of the steps, so verify you follow all the notebook steps.

Spanish:  
Si observas el error, dice que no puede encontrar el archivo `Turn.srv`, por lo que debes verificar el path:

- Verifica que el archivo `Turn.srv` exista en el directorio `services_quiz_srv` dentro de tu espacio de trabajo (por ejemplo, `src/custom_interfaces/services_quiz_srv`).
- Asegúrate de que la ruta a `Turn.srv` sea correcta y de que esté en la ubicación esperada en relación con tu archivo `CMakeLists.txt`.
- Si no creaste el archivo `Turn.srv`, es posible que te hayas saltado uno de los pasos, así que verifica que hayas seguido todos los pasos del notebook.

---

<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:** [November 20, 2024, 11:33am UTC](https://get-help.theconstruct.ai/t/bug-error-de-compilacion-conceptos-basicos-de-ros2/33520/4 "2024-11-20T11:33:20Z")

</div>

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