I’m trying to build libtorch in debug configuration with /MTd. the release works just fine but the debug has been giving me headaches ever since. In my latest attempt I managed to get it to build just fine, and get rid of the damning 0xc0000142 error that I was getting.
But now for some weird reasons that I can not fathom I get this linker like error at runtime!:

The procedure entry point ?mutable_grad@AutogradMeta@autograd@torch@@UEAAAEAVTensor@at@@XY could not be located in the dynamic link library


What am I missing here? Whats wrong?
I could really use and greatly appreciate some help in this
Thank you all in advance