dreamworksanimation / openmoonray

MoonRay is DreamWorks’ open-source, award-winning, state-of-the-art production MCRT renderer.
https://openmoonray.org/
Apache License 2.0
4.28k stars 248 forks source link

OpenMoonRay failing to build on Rocky Linux 9 on Docker #146

Open dCo3lh0 opened 5 months ago

dCo3lh0 commented 5 months ago

I'm having issues with OpenColorIO, and some others, here is some logs

Cloning into 'pystring_install'... [ 1%] Linking CXX static library libapputils.a [ 1%] Built target apputils [ 2%] Building CXX object tests/testutils/CMakeFiles/testutils.dir/UnitTest.cpp.o HEAD is now at c2de99d fix replace on empty strings [ 3%] Performing update step for 'pystring_install' [ 3%] Performing patch step for 'pystring_install' [ 4%] Performing configure step for 'pystring_install' [ 4%] Linking CXX static library libtestutils.a CMake Warning (dev) at CMakeLists.txt:4 (project): cmake_minimum_required() should be called prior to this top-level project() call. Please see the cmake-commands(7) manual for usage documentation of both commands. This warning is for project developers. Use -Wno-dev to suppress it.

pybind

-- Installing pybind11: /build/OpenColorIO-prefix/src/OpenColorIO-build/ext/dist/include (version "2.6.1") CMake Warning at tests/gpu/CMakeLists.txt:5 (message): GL component missing. Skipping the GPU unit tests.

-- Found OpenImageIO: /usr/local/include (found suitable version "2.3.20.0", minimum required is "2.1.9") -- OpenImageIO includes = /usr/local/include -- OpenImageIO libraries = /usr/local/lib64/libOpenImageIO.so -- OpenImageIO library_dirs = /usr/local/lib64 -- OpenImageIO oiiotool = /usr/local/bin/oiiotool CMake Warning at src/apps/ociochecklut/CMakeLists.txt:5 (message): GL component missing. GPU disabled for ociochecklut.

CMake Warning at src/apps/ocioconvert/CMakeLists.txt:5 (message): GL component missing. GPU disabled for ocioconvert.

CMake Warning at src/apps/ociodisplay/CMakeLists.txt:5 (message): GL component missing. Skipping ociodisplay.

CMake Warning at src/bindings/python/CMakeLists.txt:44 (message): Building PyOpenColorIO with OCIO_BUILD_DOCS disabled will result in incomplete Python docstrings.

CMake Warning at src/libutils/oglapphelpers/CMakeLists.txt:5 (message): GL component missing. Skipping oglapphelpers.

another pybind11

[ 19%] Performing update step for 'pybind11_install' [ 20%] No patch step for 'pybind11_install' [ 20%] Performing configure step for 'pybind11_install' CMake Deprecation Warning at CMakeLists.txt:8 (cmake_minimum_required): Compatibility with CMake < 3.5 will be removed from a future version of CMake.

Update the VERSION argument value or use a ... suffix to tell CMake that the project does not need compatibility with older versions.

[ 21%] Building CXX object src/OpenColorIO/CMakeFiles/OpenColorIO.dir/fileformats/FileFormatHDL.cpp.o [ 22%] Building CXX object tests/cpu/CMakeFiles/test_cpu_exec.dir///src/OpenColorIO/Transform.cpp.o -- The CXX compiler identification is GNU 11.4.1 -- Detecting CXX compiler ABI info [ 22%] Building CXX object src/OpenColorIO/CMakeFiles/OpenColorIO.dir/fileformats/FileFormatICC.cpp.o -- Detecting CXX compiler ABI info - done [ 22%] Building CXX object src/OpenColorIO/CMakeFiles/OpenColorIO.dir/fileformats/FileFormatIridasCube.cpp.o [ 22%] Building CXX object src/OpenColorIO/CMakeFiles/OpenColorIO.dir/fileformats/FileFormatIridasItx.cpp.o -- Check for working CXX compiler: /bin/c++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- pybind11 v2.6.1 -- CMake 3.29.0 CMake Warning (dev) at tools/FindPythonLibsNew.cmake:96 (find_package): Policy CMP0148 is not set: The FindPythonInterp and FindPythonLibs modules are removed. Run "cmake --help-policy CMP0148" for policy details. Use the cmake_policy command to set the policy and suppress this warning.

Call Stack (most recent call first): tools/pybind11Tools.cmake:38 (find_package) tools/pybind11Common.cmake:201 (include) CMakeLists.txt:169 (include) This warning is for project developers. Use -Wno-dev to suppress it.

OpenColorIO

[ 99%] Linking CXX shared module PyOpenColorIO.so [ 99%] Built target PyOpenColorIO gmake[3]: [Makefile:146: all] Error 2 gmake[2]: [CMakeFiles/OpenColorIO.dir/build.make:89: OpenColorIO-prefix/src/OpenColorIO-stamp/OpenColorIO-build] Error 2 gmake[1]: *** [CMakeFiles/Makefile2:257: CMakeFiles/OpenColorIO.dir/all] Error 2

Its on the Logs i've downloaded and built manually CMake 3.29.0, and Boost 1.75.0. since the install dependencies scripts failed.

dmccann-dwa commented 5 months ago

Hello, could you please open a fresh shell, then show us the entire log of what you are running and what cmake is outputting?