Build process in Docker breaks due to missing dependencies

Đang mở
#227 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
35/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
cmake, docker, linux

Hướng nghiên cứu

Start with the Rocky 9 container build instructions linked in the issue and the dependency checks in arras/arras4_core/CMakeLists.txt and arras/arras_render/CMakeLists.txt. Compare the documented packages with the missing JsonCpp and OpenEXR development dependencies reported during CMake configuration. Done means the instructions identify the needed dependencies and a fresh container build proceeds past configuration.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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

Ngôn ngữ chính
CMake
Star
4.7k
Fork
321
Merge trung bình
13 phút
Pull request đã merge (30 ngày)
3

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của OpenMoonRay/openmoonray

Tất cả issue của OpenMoonRay/openmoonray

Issue tương tự

Thêm issue về Build System

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.