Please, help me with compilation C++ code to Blueprint Node. to Blueprint Node

Hi everyone, I feel like a fool, but I really couldn’t figure this out. The thing is, I really need to implement a Node in Blueprints that will allow me to change the settings of a single constraint (motor strength, target orientation/velocity), and I’ve even found a solution on a forum (the link will be provided below), but my limited knowledge of C++ and several attempts to compile the code have failed. I’ve really tried, but now I’m completely frustrated and hoping to find someone who has the time and willingness to compile this code as a plugin, perhaps? As far as I understand, this shouldn’t be too difficult for someone with C++ experience, thank you.