Skip to content

Build process in Docker breaks due to missing dependencies #227

@ArgonautQ

Description

@ArgonautQ

Hello out there, Im using a Debian testing system with Docker version 29.3.1 (not from Debian but from Docker.com). I followed the instruction https://docs.openmoonray.org/getting-started/installation/building-moonray/rocky9_container_build/ and everything worked as described. But with the command

cmake /source -DPYTHON_EXECUTABLE=python3 -DBOOST_PYTHON_COMPONENT_NAME=python39 -DABI_VERSION=0 -DMOONRAY_USE_OPTIX=NO

the build process broke:

-- The C compiler identification is GNU 11.5.0
-- The CXX compiler identification is GNU 11.5.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Looking for a CUDA compiler
-- Looking for a CUDA compiler - NOTFOUND
-- No CUDA support
-- Looking for TBB components tbb; (tbbmalloc;tbbmalloc_proxy;tbbbind;tbbpreview)
-- Found TBB version 2020.3 at /usr
-- Found Boost: /usr/lib64/cmake/Boost-1.75.0/BoostConfig.cmake (found version "1.75.0") found components: chrono date_time filesystem program_options system
-- Found Libuuid: /lib64/libuuid.so
-- Found Libcurl: /lib64/libcurl.so.4
-- Found Libatomic: /lib64/libatomic.so.1
-- Found Microhttpd: /lib64/libmicrohttpd.so
CMake Error at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
Could NOT find JsonCpp (missing: JsonCpp_LIBRARIES)
Call Stack (most recent call first):
/usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:600 (_FPHSA_FAILURE_MESSAGE)
cmake_modules/cmake/FindJsonCpp.cmake:34 (find_package_handle_standard_args)
arras/arras4_core/CMakeLists.txt:55 (find_package)

I tried to solve this problem by installing jsoncpp-devel-1.9.5-1.el9.x86_64.rpm with the package manager but faced another obstacle:

-- No CUDA support
-- Looking for TBB components tbb; (tbbmalloc;tbbmalloc_proxy;tbbbind;tbbpreview)
-- Found TBB version 2020.3 at /usr
-- Found JsonCpp: /lib64/libjsoncpp.so
-- Found OpenSSL: /usr/lib64/libcrypto.so (found version "3.5.1")
-- Found CppUnit: /lib64/libcppunit.so
-- Found Boost: /usr/lib64/cmake/Boost-1.75.0/BoostConfig.cmake (found version "1.75.0") found components: chrono date_time filesystem program_options
-- Found Boost: /usr/lib64/cmake/Boost-1.75.0/BoostConfig.cmake (found version "1.75.0") found components: chrono program_options filesystem
-- Found JPEG: /usr/lib64/libjpeg.so (found version "62")
CMake Error at arras/arras_render/CMakeLists.txt:42 (find_package):
By not providing "FindOpenEXR.cmake" in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by "OpenEXR", but
CMake did not find one.
Could not find a package configuration file provided by "OpenEXR" with any
of the following names:
OpenEXRConfig.cmake
openexr-config.cmake
Add the installation prefix of "OpenEXR" to CMAKE_PREFIX_PATH or set
"OpenEXR_DIR" to a directory containing one of the above files. If
"OpenEXR" provides a separate development package or SDK, be sure it has
been installed.

So it seems there are several packages and/or build instructions missing?

Thanks a lot
BR /Chris

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions