isl-org / isl-org/Open3D

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

Open
#5,410 1 comment 0 reactions 0 assignees View on GitHub
bug
Dominant language
C++
Stars
14k
Forks
2.6k
Avg merge
5d 18h
Merged PRs (30d)
6

Description

### Checklist

- [X] I have searched for [similar issues](https://github.com/isl-org/Open3D/issues).
- [X] For Python issues, I have tested with the [latest development wheel](http://www.open3d.org/docs/latest/getting_started.html#development-version-pip).
- [X] I have checked the [release documentation](http://www.open3d.org/docs/release/) and the [latest documentation](http://www.open3d.org/docs/latest/) (for `master` branch).

### Describe the issue

**Line 155~165** of file [CUDAUtils.h](https://github.com/isl-org/Open3D/blob/master/cpp/open3d/core/CUDAUtils.h#L155-L165), clearly, variable **CreateNewStream** on **line 165** has **NO** corresponding initializing constructor.

### Steps to reproduce the bug

```python
Trying to build current **Open3D**.
```

### Error message

Got from console:
```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:
```console
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

```markdown
- 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_

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.