Open3D icon indicating copy to clipboard operation
Open3D copied to clipboard

no instance of constructor "open3d::core::CUDAScopedStream::CreateNewStreamTag::CreateNewStreamTag" matches the argument listC/C++(289)

Open jiapei100 opened this issue 1 year ago • 1 comments

Checklist

Describe the issue

Line 155~165 of file CUDAUtils.h, clearly, variable CreateNewStream on line 165 has NO corresponding initializing constructor.

Steps to reproduce the bug

Trying to build current **Open3D**.

Error message

Got from console:

Open3D/cpp/open3d/core/CUDAUtils.h:165:41: error: the type ‘const open3d::core::CUDAScopedStream::CreateNewStreamTag’ of ‘constexpr’ variable ‘open3d::core::CUDAScopedStream::CreateNewStream’ is not literal
  165 |     constexpr static CreateNewStreamTag CreateNewStream = {};

Real reason:

no instance of constructor "open3d::core::CUDAScopedStream::CreateNewStreamTag::CreateNewStreamTag" matches the argument listC/C++(289)

Expected behavior

Buit through from source

Open3D, Python and System information

- Operating system: Ubuntu 22.04
- Python version: Python 3.10.4
- Open3D version: 0.15.2
- System architecture: x86
- Is this a remote workstation?: yes
- How did you install Open3D?: build from source
- Compiler version (if built from source): clang 14.0

Additional information

No response

jiapei100 avatar Aug 06 '22 15:08 jiapei100