meiqua / patch_linemod

improvement for linemod, make it holistic but also part-based
BSD 2-Clause "Simplified" License
97 stars 40 forks source link

Error when importing patch_linemod_pybind #6

Open caijunhao opened 3 years ago

caijunhao commented 3 years ago

Hello,

When trying to import patch_linemod_pybind, I get the following errors,

In [1]: import patch_linemod_pybind
` ImportError Traceback (most recent call last)

\<ipython-input-1-52359092ea51> in \<module>

----> 1 import patch_linemod_pybind

ImportError: pythonpath/lib/python3.6/site-packages/patch_linemod_pybind.cpython-36m-x86_64-linux-gnu.so: undefined symbol: _ZN13cuda_renderer5ModelC1ERKSs`

It seems that error happens when you declare a method but not define it like here. However, it doesn't work when I try to remove the default construct and destructor.

Has anyone had same issues?

meiqua commented 3 years ago

cuda_renderer is a separated shared library, you should make patch_linemod...so able to find it.