I compiled it for x64 on Windows 10
After looking up on the internet, missing dlls in my error are part of the debug version of the vc redist. You have to recompile for it with release versions of the library to make it work