# Open RV Build fails on Rocky linux 9.4

**URL:** <https://community.shotgridsoftware.com/t/open-rv-build-fails-on-rocky-linux-9-4/19120>\
**Category:** Open RV\
**Created:** [August 9, 2024, 9:33am UTC](https://community.shotgridsoftware.com/t/open-rv-build-fails-on-rocky-linux-9-4/19120 "2024-08-09T09:33:31Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![sagardabir](https://avatars.discourse-cdn.com/v4/letter/s/258eb7/32.png) [@sagardabir](https://community.shotgridsoftware.com/u/sagardabir)\
**Post date:** [August 9, 2024, 9:33am UTC](https://community.shotgridsoftware.com/t/open-rv-build-fails-on-rocky-linux-9-4/19120/1 "2024-08-09T09:33:31Z")

</div>

I am trying to buil OpenRV my Rocky linux 9.4 but the build is failing with following error.

```auto
CMake Error at /usr/lib64/cmake/Qt5/Qt5Config.cmake:28 (find_package):
  Could not find a package configuration file provided by "Qt5WebEngineCore"
  with any of the following names:

    Qt5WebEngineCoreConfig.cmake
    qt5webenginecore-config.cmake

  Add the installation prefix of "Qt5WebEngineCore" to CMAKE_PREFIX_PATH or
  set "Qt5WebEngineCore_DIR" to a directory containing one of the above
  files. If "Qt5WebEngineCore" provides a separate development package or
  SDK, be sure it has been installed.
Call Stack (most recent call first):
  cmake/dependencies/qt5.cmake:50 (FIND_PACKAGE)
  cmake/dependencies/CMakeLists.txt:48 (INCLUDE)

```

Not sure what is going wrong.  
I have tried setting the QT\_HOME path along with Qt5WebEngineCore and CMAKE\_PREFIX\_PATH o the Qt5WebEngineCoreConfig.cmake but it still does not go through.

I have tried setting the `DRV_DEPS_QT5_LOCATION=/opt/Qt/5.15.2/gcc_64/`  
Bit still no luck

Any help is appriciated.

---

<div class="post-metadata">

**Author:** ![mmoshev](https://sea1.discourse-cdn.com/shotgunsoftware/user_avatar/community.shotgridsoftware.com/mmoshev/32/476_2.png) [@mmoshev](https://community.shotgridsoftware.com/u/mmoshev)\
**Post date:** [August 9, 2024, 11:38am UTC](https://community.shotgridsoftware.com/t/open-rv-build-fails-on-rocky-linux-9-4/19120/2 "2024-08-09T11:38:16Z")

</div>

Did you also try the suggested `Qt5WebEngineCore_DIR`?

---

<div class="post-metadata">

**Author:** ![sagardabir](https://avatars.discourse-cdn.com/v4/letter/s/258eb7/32.png) [@sagardabir](https://community.shotgridsoftware.com/u/sagardabir)\
**Post date:** [August 9, 2024, 11:42am UTC](https://community.shotgridsoftware.com/t/open-rv-build-fails-on-rocky-linux-9-4/19120/3 "2024-08-09T11:42:04Z")

</div>

yes but i just got it working using this  
cmake -B cmake-build -DRV\_DEPS\_QT5\_LOCATION=/home/sagard/Qt/5.15.2/gcc\_64/ -DCMAKE\_BUILD\_TYPE=Release

But turns out i am stuck at build failing while building NDI.  
Since its optional, is there anyway i can ignore it?

---

<div class="post-metadata">

**Author:** ![amckellar\_marzvfxcom](https://avatars.discourse-cdn.com/v4/letter/a/3ab097/32.png) [@amckellar\_marzvfxcom](https://community.shotgridsoftware.com/u/amckellar_marzvfxcom)\
**Post date:** [August 19, 2024, 3:39pm UTC](https://community.shotgridsoftware.com/t/open-rv-build-fails-on-rocky-linux-9-4/19120/4 "2024-08-19T15:39:58Z")

</div>

Any more info on this @sagardabir?

I’m getting these strange errors. Considering everything’s packaged, it’s an odd one.

– Could NOT find OSL (missing: OSL\_DIR)  
– Could NOT find OpenShadingLanguage (missing: OSL\_INCLUDE\_DIR OSL\_LIB\_DIR OpenShadingLanguage\_VERSION) (Required is at least version “1.11”)

---

<div class="post-metadata">

**Author:** ![sagardabir](https://avatars.discourse-cdn.com/v4/letter/s/258eb7/32.png) [@sagardabir](https://community.shotgridsoftware.com/u/sagardabir)\
**Post date:** [August 28, 2024, 11:03am UTC](https://community.shotgridsoftware.com/t/open-rv-build-fails-on-rocky-linux-9-4/19120/5 "2024-08-28T11:03:57Z")

</div>

openRV got built finally when i figured out to remove the NDI straight from the initial makefile itself.  
Not sure if it was a right fix but that is what worked for me.

The errors that you are getting a surely odd. Can you post a few more details?  
like which os are you building for?  
I built it on rocky linux by the way.
