Closed simplo closed 3 years ago
Are the libtorch DLL files next to the compiled PyTorchTOP.dll? The files from libtorch/lib/*.dll need to be in %USERPROFILE%/Documents/Derivative/Plugins. More info is here https://github.com/DBraun/PyTorchTOP/issues/5
Thank you for your fast reply. I checked the other post, it seems I have all the right DLLs in my folder: Volume in drive C has no label. Volume Serial Number is AC01-7794
Directory of C:\Users\paperspace\Documents\Derivative\plugins
05/01/2021 08:23
It seems I fixed it! It was a matter of TD version. With the latest experimental it works.
Thank you for your support and the very fast replies!
Great. For future reference, https://github.com/lucasg/Dependencies can be useful for identifying which DLL needs to be loaded. In previous versions of TouchDesigner, TD would load a dll from its bin folder, and when the custom plugin would ask to load the same dll from the custom plugins, the operating system would say effectively, “No need to load that DLL because it’s already loaded.” So then the custom plugin wouldn’t work with the message you received. The solution was to replace the overlapping plugins in the TouchDesigner bin folder, but this is no longer necessary, and it also risks stability/functionality of the rest of TouchDesigner.
Hi, I just compiled all with success (it seems), but as soon as TD opens the project the cplusplus comp says "failed to load DLL" even if paths are right. Opening the project it says that some DLL dependence is missing, but I have not clue on what is missing. Any idea? Thank you Simone