mitsuba-renderer / mitsuba3

Mitsuba 3: A Retargetable Forward and Inverse Renderer
https://www.mitsuba-renderer.org/
Other
2.1k stars 246 forks source link

Mitsuba install failing #1217

Closed sujoyrc closed 4 months ago

sujoyrc commented 4 months ago

Summary

Mitsuba install failing

System configuration

System information:

OS: Ubuntu 20.04.6 LTS x86_64 Host: OpenStack Nova 26.2.1 Kernel: 5.4.0-187-generic Uptime: 3 days, 3 hours, 30 mins Packages: 1244 (dpkg), 7 (snap) Shell: bash 5.0.17 Terminal: /dev/pts/3 CPU: AMD EPYC 7702 (30) @ 1.996GHz GPU: NVIDIA 00:08.0 NVIDIA Corporation Device 20b2 Memory: 1766MiB / 216257MiB

Dr.Jit version: ... Mitsuba version: ... Compiled with: ... Variants compiled: ...

Description

(radioMaps_venv) ubuntu@gpu:/data3/RadioMaps/mitsuba3/build$ cmake -clean -GNinja .. -- The CXX compiler identification is unknown -- The C compiler identification is unknown -- Check for working CXX compiler: /usr/bin/clang++-10 -- Check for working CXX compiler: /usr/bin/clang++-10 -- broken CMake Error at /usr/local/share/cmake-3.13/Modules/CMakeTestCXXCompiler.cmake:45 (message): The C++ compiler

"/usr/bin/clang++-10"

is not able to compile a simple test program.

It fails with the following output:

Change Dir: /data3/RadioMaps/mitsuba3/build/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/ninja" "cmTC_8dfee"
[1/2] Building CXX object CMakeFiles/cmTC_8dfee.dir/testCXXCompiler.cxx.o
FAILED: CMakeFiles/cmTC_8dfee.dir/testCXXCompiler.cxx.o 
/usr/bin/clang++-10     -o CMakeFiles/cmTC_8dfee.dir/testCXXCompiler.cxx.o -c testCXXCompiler.cxx
/usr/bin/clang++-10: /home/ubuntu/miniconda3/lib/libtinfo.so.6: no version information available (required by /usr/lib/x86_64-linux-gnu/libLLVM-10.so.1)
/usr/bin/clang++-10: /home/ubuntu/miniconda3/lib/libtinfo.so.6: no version information available (required by /usr/lib/x86_64-linux-gnu/libedit.so.2)
/usr/bin/clang++-10: symbol lookup error: /usr/lib/x86_64-linux-gnu/libLLVM-10.so.1: undefined symbol: ffi_type_void, version LIBFFI_BASE_7.0
ninja: build stopped: subcommand failed.

Steps to reproduce

  1. I cannot find the conf file after doing the git pulls defined in https://mitsuba.readthedocs.io/en/latest/src/developer_guide/compiling.html
  2. mitsuba module is not available /data3/RadioMaps/radioMaps_venv/bin/python: Error while finding module specification for 'mitsuba.sys_info' (ModuleNotFoundError: No module named 'mitsuba')
  3. compile is failing
sujoyrc commented 4 months ago

This problem was solved. futher issues faced. closing this for now