Replies: 1 comment 7 replies
-
Your error links to an |
Beta Was this translation helpful? Give feedback.
7 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am developing a C++ library that depends on torch scatter and sparse. Currently I am following the recommended route of linking against shared libtorchscatter.so etc. and it works fine.
However I would like to bundle torchscatter as git submodule or standalone source for better install ergonomics. So I added the libtorchscatter source in folder
torchscatter
with following line in CMakefileI can see that it compiles without a fuss, with libtorchscatter.a being compiled and linked to my library, however when I run the test I get the dreaded error.
Can anyone comment or suggest a way to achieve the same? Basically I want libtorchscatter to be statically part of libMylib.so, so that it is not a runtime dependency.
Beta Was this translation helpful? Give feedback.
All reactions