Olive: Despite opencolorio is installed .... ERROR: OpenColorIO development package not found

Created on 7 May 2019  路  13Comments  路  Source: olive-editor/olive

Why qmake cant find OpenColorIO? Its installed in /usr/local/include (and is present in olve.pro)

BuildinPackaging Inadequate Information

Most helpful comment

using cmake -G "Ninja":

$ cmake -G "Ninja"
CMake Warning:
  No source or binary directory provided.  Both will be assumed to be the
  same as the current working directory, but note that this warning will
  become a fatal error in future CMake releases.


-- The CXX compiler identification is GNU 8.3.0
-- Check for working CXX compiler: C:/msys64/mingw64/bin/c++.exe
-- Check for working CXX compiler: C:/msys64/mingw64/bin/c++.exe -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found OpenGL: opengl32
-- Found OpenColorIO: C:/msys64/mingw64/lib/libOpenColorIO.dll.a
CMake Error at C:/msys64/mingw64/lib/cmake/Qt5Gui/Qt5GuiConfig.cmake:15 (message):
  The imported target "Qt5::Gui" references the file

     "C:/building/msys32/mingw64/x86_64-w64-mingw32/lib/libglu32.a"

  but this file does not exist.  Possible reasons include:

  * The file was deleted, renamed, or moved to another location.

  * An install or uninstall procedure did not complete successfully.

  * The installation package was faulty and contained

     "C:/msys64/mingw64/lib/cmake/Qt5Gui/Qt5GuiConfigExtras.cmake"

  but not all the files it references.

Call Stack (most recent call first):
  C:/msys64/mingw64/lib/cmake/Qt5Gui/Qt5GuiConfigExtras.cmake:45 (_qt5_Gui_check_file_exists)
  C:/msys64/mingw64/lib/cmake/Qt5Gui/Qt5GuiConfigExtras.cmake:70 (_qt5gui_find_extra_libs)
  C:/msys64/mingw64/lib/cmake/Qt5Gui/Qt5GuiConfig.cmake:212 (include)
  C:/msys64/mingw64/lib/cmake/Qt5/Qt5Config.cmake:28 (find_package)
  CMakeLists.txt:27 (find_package)


-- Configuring incomplete, errors occurred!
See also "C:/Github/olive/CMakeFiles/CMakeOutput.log".

All 13 comments

Try cmake instead.

Which ocio config is set to be default in Olive? I am using the Blender 2.8 Config file from Blender by doing:

tools>preference>Color Management> Enable> browse.
Default ICS sRGB, display sRGB , View Default
In fact what is planned for multiple input color space in a same project? Will it have a effect node for color space conversion?

@cgvirus Offtopic, but there is no current default config (a custom one will probably be written at some point). You can already set different input color spaces for each media file.

@cgvirus I suppose it isn't well known that OCIO can be set via the CLI. For example, on *nix-like systems you should be able to do export OCIO=/path/to/the/opencolorio/config.ocio and OCIO enabled applications should support them via the environment variable.

I'm sort of hacking away on a ColorManager class, so I'm not entirely sure if @itsmattkc has the application recognizing the environment variable yet...

Regarding multiple input colour spaces, it's all handled via the OCIO configuration. Not a problem.

Alright. Thanks folks

I'm having trouble compiling Olive, and noticed that this issue has a similar problem to mine:

$ cmake -S olive/ -B olive-debug/
-- Selecting Windows SDK version 10.0.15063.0 to target Windows 10.0.17134.
CMake Error at C:/msys64/mingw64/share/cmake-3.13/Modules/FindPackageHandleStandardArgs.cmake:137 (message):
  Could NOT find OpenColorIO (missing: _opencolorio_LIBRARIES)
Call Stack (most recent call first):
  C:/msys64/mingw64/share/cmake-3.13/Modules/FindPackageHandleStandardArgs.cmake:378 (_FPHSA_FAILURE_MESSAGE)
  cmake/FindOpenColorIO.cmake:74 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
  CMakeLists.txt:25 (find_package)


-- Configuring incomplete, errors occurred!
See also "C:/Github/olive-debug/CMakeFiles/CMakeOutput.log".

Try cmake -G "MinGW Makefiles" [...] or cmake -G "Ninja" [...] (substitute [...] with the rest of your command string)

"Rest of your command string?"

I tried:

$ cmake -G "Ninja" "C:/Github/olive"

CMake Error: CMake was unable to find a build program corresponding to "Ninja".  CMAKE_MAKE_PROGRAM is not set.  You probably need to select a different build tool.
CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage
-- Configuring incomplete, errors occurred!
See also "C:/Github/CMakeFiles/CMakeOutput.log".
$ cmake -G "MinGW Makefiles" "C:/Github/olive"

CMake Error at C:/msys64/mingw64/share/cmake-3.13/Modules/CMakeMinGWFindMake.cmake:12 (message):
  sh.exe was found in your PATH, here:

  C:/msys64/usr/bin/sh.exe

  For MinGW make to work correctly sh.exe must NOT be in your path.

  Run cmake from a shell that does not have sh.exe in your PATH.

  If you want to use a UNIX shell, then use MSYS Makefiles.

Call Stack (most recent call first):
  CMakeLists.txt:3 (project)


CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage
-- Configuring incomplete, errors occurred!

I'm trying not to make myself be stupid or anything but I'm trying to make sure I haven't done anything wrong.

Using MSYS2 MINGW 64-Bit.exe by the way

I realized that it's not using the right generator, Its asking for Visual Studio 15 2017:

$ cmake -G "Visual Studio 15 2017" -S olive/ -B olive-debug/

-- Selecting Windows SDK version 10.0.15063.0 to target Windows 10.0.17134.
CMake Error at C:/msys64/mingw64/share/cmake-3.13/Modules/FindPackageHandleStandardArgs.cmake:137 (message):
  Could NOT find OpenColorIO (missing: _opencolorio_LIBRARIES)
Call Stack (most recent call first):
  C:/msys64/mingw64/share/cmake-3.13/Modules/FindPackageHandleStandardArgs.cmake:378 (_FPHSA_FAILURE_MESSAGE)
  cmake/FindOpenColorIO.cmake:74 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
  CMakeLists.txt:25 (find_package)


-- Configuring incomplete, errors occurred!
See also "C:/Github/olive-debug/CMakeFiles/CMakeOutput.log".

Which cmake did you install? Did you run pacman -S cmake or pacman -S mingw-w64-x86_64-cmake?

Install the following:
pacman -S mingw-w64-x86_64-cmake mingw-w64-x86_64-ninja 1.9.0-1

Then use this:
cmake -G "Ninja"

using cmake -G "Ninja":

$ cmake -G "Ninja"
CMake Warning:
  No source or binary directory provided.  Both will be assumed to be the
  same as the current working directory, but note that this warning will
  become a fatal error in future CMake releases.


-- The CXX compiler identification is GNU 8.3.0
-- Check for working CXX compiler: C:/msys64/mingw64/bin/c++.exe
-- Check for working CXX compiler: C:/msys64/mingw64/bin/c++.exe -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found OpenGL: opengl32
-- Found OpenColorIO: C:/msys64/mingw64/lib/libOpenColorIO.dll.a
CMake Error at C:/msys64/mingw64/lib/cmake/Qt5Gui/Qt5GuiConfig.cmake:15 (message):
  The imported target "Qt5::Gui" references the file

     "C:/building/msys32/mingw64/x86_64-w64-mingw32/lib/libglu32.a"

  but this file does not exist.  Possible reasons include:

  * The file was deleted, renamed, or moved to another location.

  * An install or uninstall procedure did not complete successfully.

  * The installation package was faulty and contained

     "C:/msys64/mingw64/lib/cmake/Qt5Gui/Qt5GuiConfigExtras.cmake"

  but not all the files it references.

Call Stack (most recent call first):
  C:/msys64/mingw64/lib/cmake/Qt5Gui/Qt5GuiConfigExtras.cmake:45 (_qt5_Gui_check_file_exists)
  C:/msys64/mingw64/lib/cmake/Qt5Gui/Qt5GuiConfigExtras.cmake:70 (_qt5gui_find_extra_libs)
  C:/msys64/mingw64/lib/cmake/Qt5Gui/Qt5GuiConfig.cmake:212 (include)
  C:/msys64/mingw64/lib/cmake/Qt5/Qt5Config.cmake:28 (find_package)
  CMakeLists.txt:27 (find_package)


-- Configuring incomplete, errors occurred!
See also "C:/Github/olive/CMakeFiles/CMakeOutput.log".

This issue seems to mostly blend into #997 so I'll merge them for now.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Reaper10 picture Reaper10  路  31Comments

pgilfernandez picture pgilfernandez  路  18Comments

libalis picture libalis  路  39Comments

zakaria-chahboun picture zakaria-chahboun  路  21Comments

naj59 picture naj59  路  33Comments