# opencv2/opencv.hpp' file not found

**URL:** https://discourse.cmake.org/t/opencv2-opencv-hpp-file-not-found/13274
**Category:** Usage
**Tags:** os:macos
**Created:** [December 28, 2024, 7:10am UTC](https://discourse.cmake.org/t/opencv2-opencv-hpp-file-not-found/13274 "2024-12-28T07:10:15Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![omersmsr](https://discourse.cmake.org/letter_avatar_proxy/v4/letter/o/58956e/32.png) [@omersmsr](https://discourse.cmake.org/u/omersmsr)
#### Post date: [December 28, 2024, 7:10am UTC](https://discourse.cmake.org/t/opencv2-opencv-hpp-file-not-found/13274/1 "2024-12-28T07:10:15Z")

</div>

I have been trying to solve this problem for hours. How do ı solve the problem?

 ![Screenshot 2024-12-28 at 10.06.24](https://discourse.cmake.org/uploads/default/original/2X/0/047c49c2edf5c280db50423a84ed6b9a32faf791.png)

---

<div class="post-metadata">

### Author: ![ClausKlein](https://discourse.cmake.org/user_avatar/discourse.cmake.org/clausklein/32/352_2.png) [@ClausKlein](https://discourse.cmake.org/u/ClausKlein)
#### Post date: [December 28, 2024, 9:15pm UTC](https://discourse.cmake.org/t/opencv2-opencv-hpp-file-not-found/13274/2 "2024-12-28T21:15:50Z")

</div>

If you will provide a minimal reproducible cmake project, perhaps we may help you!

---

<div class="post-metadata">

### Author: ![craig.scott](https://discourse.cmake.org/user_avatar/discourse.cmake.org/craig.scott/32/20_2.png) [@craig.scott](https://discourse.cmake.org/u/craig.scott)
#### Post date: [December 29, 2024, 8:59pm UTC](https://discourse.cmake.org/t/opencv2-opencv-hpp-file-not-found/13274/3 "2024-12-29T20:59:36Z")

</div>

@omersmsr Please also paste the actual text in your posts rather than using screenshots. Text is searchable, screenshots are not, so your thread won’t show up when others have a similar problem and search for relevant words or phrases.
