lijx10 / USIP

USIP: Unsupervised Stable Interest Point Detection from 3D Point Clouds. ICCV 2019
GNU General Public License v3.0
202 stars 28 forks source link

cannot open shared object file #8

Closed SRainGit closed 4 years ago

SRainGit commented 4 years ago

Hi,

Have you ever got this problem?

import PCLKeypoint

ImportError: libpcl_surface.so.1.9: cannot open shared object file: No such file or directory

When I setup PCLKeypoint I can see it found libpcl_surface.so from the output information. I tried put the location of libpcl_surface.so.1.9 into the project interpreter path, but still can't work.

SRainGit commented 4 years ago

Thanks for the author's suggestion.

It is a simple problem. But if you are bothered by this issue, then the problem should relate to the path configuration in pycharm.

In my case, the compilation had no error and showed that it found the so files. But pycharm didn't.

The right way to do is to add "LD_LIBRARY_PATH=your_pcl_path" in the "Run configuration" in pycharm. Not the interpreter path one.