Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when importing patch_linemod_pybind #6

Open
caijunhao opened this issue Oct 18, 2020 · 1 comment
Open

Error when importing patch_linemod_pybind #6

caijunhao opened this issue Oct 18, 2020 · 1 comment

Comments

@caijunhao
Copy link

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
Copy link
Owner

meiqua commented Oct 20, 2020

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants