Skip to content

Fix Python wrapper linking & update nanoflann/pybind11 versions#4

Open
LeoBrizi wants to merge 1 commit into
gisbi-kim:mainfrom
LeoBrizi:main
Open

Fix Python wrapper linking & update nanoflann/pybind11 versions#4
LeoBrizi wants to merge 1 commit into
gisbi-kim:mainfrom
LeoBrizi:main

Conversation

@LeoBrizi

@LeoBrizi LeoBrizi commented Jul 7, 2025

Copy link
Copy Markdown

Hello, thanks for your work.
I had this error:
nm -D pyscancontext.cpython-312-x86_64-linux-gnu.so | grep constructTree
U _ZN9SCManager13constructTreeEv
The symbol SCManager::constructTree in the pyscancontext library was not defined. This was a link error.
I’ve fixed the Python wrapper link issues by first marking SCManager as exported so constructTree() shows up in libscancontext.so, and then setting RPATH so it automatically finds libscancontext.so.

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

Successfully merging this pull request may close these issues.

1 participant