isl-org / isl-org/Open3D

Create Executable with Open3d and pyinstaller

Open
#6,136 6 comments 2 reactions 0 assignees View on GitHub
question
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).

### My Question

Hi,

I am trying to create a stand-alone application with open3d and pyinstaller. However it seems that pyinstaller has trouble finding the necessary C++ .so files for open3d. Specifically the error message I get is:

> WARNING: Cannot find libc++.so.1

I tried to manually add the open3d directory in site packages to ${LD_LIBRARY_PATH} as suggested by the pyinstaller documentation but to no effect. All other libraries I use work out of the box. I am on Ubuntu 22.04 and using poetry to manage my virtual environments. Is there something I am missing and has anybody else tried using open3d with pyinstaller?

Best regards

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.