Open RV Build fails on Rocky linux 9.4

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

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.

Did you also try the suggested Qt5WebEngineCore_DIR?

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?

1 Like

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”)

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.

1 Like