isl-org / isl-org/Open3D

error: invalid conversion from ‘ImGuiID’ {aka ‘unsigned int’} to ‘const char*’ [-fpermissive] 1112 | ImGui::IsPopupOpen(w->PopupId)) {

Open
#5,185 2 comments 0 reactions 0 assignees View on GitHub
build/install
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).

### Steps to reproduce the issue

#### I first cloned Open3D by:
```
git clone https://github.com/isl-org/Open3D.git
cd Open3D
```

#### Then, I build Open3D (on Ubuntu 22.04, with CUDA 11.6) with:
```
mkdir build
cd build
cmake -DBUILD_SHARED_LIBS=OFF -DBUILD_CUDA_MODULE=OFF -DUSE_BLAS=ON -DBUILD_WEBRTC=OFF ..
make -j$(nproc)
```

### Error message

```shell
....../Open3D/cpp/open3d/visualization/gui/Window.cpp:1112:39: error: invalid conversion from ‘ImGuiID’ {aka ‘unsigned int’} to ‘const char*’ [-fpermissive]
1112 | ImGui::IsPopupOpen(w->PopupId)) {
| ~~~^~~~~~~
| |
| ImGuiID {aka unsigned int}
```

### Open3D, Python and System information

```markdown
- Operating system: Ubuntu 22.04
- Python version: Python 3.10.4
- Open3D version: master branch of Open3D, of the day: 2022-06-13
- System architecture: x86
- Is this a remote workstation?: yes
- How did you install Open3D?: build from source
- Compiler version (if built from source): gcc 11.2 / clang 14.0
```

### Additional information

Looks like:

- Open3D is **NOT compatible** with the **NEWest** imgui (branch master of the day 2022-06-13)
- It may have something to do with this pull request [https://github.com/isl-org/Open3D/pull/4844](https://github.com/isl-org/Open3D/pull/4844)

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.