Open lichangW opened 1 year ago
I replaced the filament with other version like below, the above error gone and filament built successfully in the process.
but subsequent error occurs, I think it's because the filament version is not suitable
test/3d/Open3D_with_deps/Open3D-0.16.0/build/filament-binaries/include/backend/DriverEnums.h:765:36: error: declaration of 'using CullingMode = enum class filament::backend::CullingMode' [-fpermissive]
using CullingMode = CullingMode;
^
/test/3d/Open3D_with_deps/Open3D-0.16.0/build/filament-binaries/include/backend/DriverEnums.h:292:12: error: changes meaning of 'CullingMode' from 'enum class filament::backend::CullingMode' [-fpermissive]
enum class CullingMode : uint8_t {
^~~~~~~~~~~
/test/3d/Open3D_with_deps/Open3D-0.16.0/build/filament-binaries/include/backend/DriverEnums.h:767:40: error: declaration of 'using BlendEquation = enum class filament::backend::BlendEquation' [-fpermissive]
using BlendEquation = BlendEquation;
^
/test/3d/Open3D_with_deps/Open3D-0.16.0/build/filament-binaries/include/backend/DriverEnums.h:713:12: error: changes meaning of 'BlendEquation' from 'enum class filament::backend::BlendEquation' [-fpermissive]
enum class BlendEquation : uint8_t {
^~~~~~~~~~~~~
/test/3d/Open3D_with_deps/Open3D-0.16.0/build/filament-binaries/include/backend/DriverEnums.h:768:40: error: declaration of 'using BlendFunction = enum class filament::backend::BlendFunction' [-fpermissive]
using BlendFunction = BlendFunction;
^
/test/3d/Open3D_with_deps/Open3D-0.16.0/build/filament-binaries/include/backend/DriverEnums.h:722:12: error: changes meaning of 'BlendFunction' from 'enum class filament::backend::BlendFunction' [-fpermissive]
enum class BlendFunction : uint8_t {
^~~~~~~~~~~~~
Checklist
master
branch).Steps to reproduce the issue
I first cloned Open3D by:
Then, I build Open3D (on Ubuntu 20.04, with CUDA 11.5) with:
Error message
Open3D, Python and System information
Additional information
it can be built successfully form https://github.com/isl-org/filament with any tag on my machine cmake -DCMAKE_POSITION_INDEPENDENT_CODE=ON -DCMAKE_BUILD_TYPE=Release -DCCACHE_PROGRAM=OFF -DFILAMENT_ENABLE_JAVA=OFF -DCMAKE_C_COMPILER=/usr/bin/clang -DCMAKE_CXX_COMPILER=/usr/bin/clang++ -DCMAKE_C_COMPILER_LAUNCHER=/usr/local/bin/ccache -DCMAKE_CXX_COMPILER_LAUNCHER=/usr/local/bin/ccache -DCMAKE_CXX_FLAGS=-fno-builtin -DCMAKE_INSTALL_PREFIX=my-libs -DUSE_STATIC_CRT=OFF -DUSE_STATIC_LIBCXX=ON -DFILAMENT_SUPPORTS_VULKAN=OFF -DFILAMENT_SKIP_SAMPLES=ON -DFILAMENT_OPENGL_HANDLE_ARENA_SIZE_IN_MB=20 ..