You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to integrate some torch_cluster functions into a C++ app, with libtorch and also torch_scatter. But I'm getting linker errors saying unresolved external symbol for radius, knn, and fps
I'm compiling on windows using MSVC. I'm pretty sure the project settings are correct in terms of additional libraries and includes since the linker does not complain about the use of scatter_max and scatter_sum in the code (seems to find these symbols fine) and libtorch.
Also interestingly, it works fine if I just call cluster::cuda_version(). The app compiles and runs. But as soon as I add, for example, a call to radius(), it can't find the symbol.
Surely this is addressed in #132, but presumably most tests and applications just use a torch jit model and not the manual functions. Seeing as graclus works in C++ in #70, this is possibly a Windows/MSVC issue. Anyone with experience here have some advice?
The text was updated successfully, but these errors were encountered:
I'm trying to integrate some torch_cluster functions into a C++ app, with libtorch and also torch_scatter. But I'm getting linker errors saying unresolved external symbol for
radius
,knn
, andfps
I'm compiling on windows using MSVC. I'm pretty sure the project settings are correct in terms of additional libraries and includes since the linker does not complain about the use of
scatter_max
andscatter_sum
in the code (seems to find these symbols fine) and libtorch.Also interestingly, it works fine if I just call
cluster::cuda_version()
. The app compiles and runs. But as soon as I add, for example, a call toradius()
, it can't find the symbol.Surely this is addressed in #132, but presumably most tests and applications just use a torch jit model and not the manual functions. Seeing as
graclus
works in C++ in #70, this is possibly a Windows/MSVC issue. Anyone with experience here have some advice?The text was updated successfully, but these errors were encountered: