PhysX 3.4 Visual Studio 2015 C++ KernelBase.dll Module not found

Hey,

I built PhysX 3.4 in Visual Studio 2015 (using the files in vc14win32) and it finished with a warning about nvcuda.dll but no errors. (Tryed DEBUG and CHECKED)

Added the include and lib paths to my project and the dlls as described in the documentation and linked the specified libs.

the PxCreatePhysics call crashes the programm indicating “KernelBase.dll Module not found” the errorCallback did not return anything. KernelBase.dll is located in system32 and I even tried to put copies of it next to the generated .exe but the programm still crashes.

PhysX init code: (taken from docs)

// PhysX Foundation
	mFoundation = PxCreateFoundation(PX_FOUNDATION_VERSION, allocator, errorCallback);

	// PhysX
	bool recordMemoryAllocations = true;
	mPhysics = PxCreatePhysics(PX_PHYSICS_VERSION, *mFoundation, physx::PxTolerancesScale(), recordMemoryAllocations);

-LoonPie