Building PhysXPvdSDK dynamically not working

I’m trying to get PhysX running on a personal project.

physx::PxDefaultAllocator gAllocator;
physx::UserErrorCallback gError;
physx::PxFoundation* gFoundation = PxCreateFoundation(PX_PHYSICS_VERSION, gAllocator, gError);
physx::PxPvd* visualDebugger = physx::PxCreatePvd(*gFoundation);

calling PxCreatePvd gives the following linker error

1>Main.obj : error LNK2001: unresolved external symbol PxCreatePvd

Now that’s okay, I’m not linking against PhysXPvdSDK_64.lib.

I went back to my PhysXSDK.sln and switched PhysXPvdSDK project from Static library (.lib) -> Dynamic Library (.dll). Trying to build the PhysxSDK or link against the .lib that is generated in the personal project results in the following error:

fatal error LNK1107: invalid or corrupt file: cannot read at 0x378

It is worth noting that there was no .dll generated and there were no errors if the PhysXPvdSDK project is built individually.

I also tried using the PhysXPvdSDK_static_64.lib however that throws the following error.

mismatch detected for 'RuntimeLibrary': value 'MT_StaticRelease' doesn't match value 'MD_DynamicRelease'

Alright I switched the PhysXPvdSDK Runtime Library from /MT (default) to /MD and it is linking correctly. I would like it if I could get confirmation that that is correct.