# Cmake issues when installing opencv and opencv\_contrib on jetson-orin

**URL:** <https://forum.opencv.org/t/cmake-issues-when-installing-opencv-and-opencv-contrib-on-jetson-orin/10721>\
**Category:** Uncategorized\
**Tags:** build, cmake, nvidia\
**Created:** [October 28, 2022, 5:59am UTC](https://forum.opencv.org/t/cmake-issues-when-installing-opencv-and-opencv-contrib-on-jetson-orin/10721 "2022-10-28T05:59:48Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Karishma](https://avatars.discourse-cdn.com/v4/letter/k/278dde/32.png) [@Karishma](https://forum.opencv.org/u/Karishma)\
**Post date:** [October 28, 2022, 5:59am UTC](https://forum.opencv.org/t/cmake-issues-when-installing-opencv-and-opencv-contrib-on-jetson-orin/10721/1 "2022-10-28T05:59:48Z")

</div>

Hallo OpenCV Forum,

I am trying to install **opencv and opencv\_contrib on my Jetson\_Orin.**

I cloned opencv and opencv\_contrib from the github and now trying to build it with the **cmake-gui**. But the **configuration step is failing stating some files are missin** g.

**The ERROR message is as follows**

> Error in configuration process. project files may be invalid.

and

```auto
Configuration incomplete, errors occurred!
See also "home/.../opencv/build/CMakeFiles/CMakeOutput.log"
See also "home/.../opencv/build/CMakeFiles/CMakeError.log"

```

I checked the CMake error log, which read as below.

```auto
...........opencv/build/CMakeFiles/CMakeTmp/CheckIncludeFile.c:1:10: fatal error: sys/videoio.h: No such file or directory
    1 | #include <sys/videoio.h>
      | ^ ~~~~~~~~~~~~~~
compilation terminated.

```

I am not sure how to resolve this. Requesting for help.

Thank you.

P.S: picture added for reference

 ![2022_10_28_07_55_15_Window](https://us1.discourse-cdn.com/flex020/uploads/opencv/original/2X/6/66d6d6b7f3dd69699039db2b3ee7af9f42f2e3a7.png)

---

<div class="post-metadata">

**Author:** ![berak](https://avatars.discourse-cdn.com/v4/letter/b/85f322/32.png) [@berak](https://forum.opencv.org/u/berak)\
**Post date:** [October 28, 2022, 6:25am UTC](https://forum.opencv.org/t/cmake-issues-when-installing-opencv-and-opencv-contrib-on-jetson-orin/10721/2 "2022-10-28T06:25:42Z")

</div>

please, no screenshots of code or errors here. replace with TEXT, thank you.

---

<div class="post-metadata">

**Author:** ![Karishma](https://avatars.discourse-cdn.com/v4/letter/k/278dde/32.png) [@Karishma](https://forum.opencv.org/u/Karishma)\
**Post date:** [October 28, 2022, 6:42am UTC](https://forum.opencv.org/t/cmake-issues-when-installing-opencv-and-opencv-contrib-on-jetson-orin/10721/3 "2022-10-28T06:42:25Z")

</div>

added the errors in text.

Thank you.
