Location of win32 and win64 Binaries:
- SDK DLLs: Bin/
- SDK LIBs: Lib/
- NVTX Profiler DLLs: Bin/
- PhysX Device DLLs: Bin/
Building SDK Source with Visual Studio:
- Visual Studio Solutions are in Source/compiler/
- The following compiler warnings should be disabled if compiled with /Wall:
- 4514: unreferenced inline function has been removed
- 4710: function not inlined
- 4711: function selected for inline expansion
- 4820: 'bytes' bytes padding added after construct 'member_name'
Building Samples with Visual Studio:
- Visual Studio Solutions are in Samples/compiler/
Required packages for building and running the Samples:
- PhysX SDK: build as described above.
- Microsoft DirectX SDK June 2010 or later
- The DirectX include path should be set in Visual Studio in VC++ Directories to build the Windows samples
- The DirectX End-User Runtime Web Installer (dxwebsetup.exe) can be downloaded from Microsoft if the prebuilt PhysX samples do not run because they cannot find the June 2010 DX runtimes.
Building Snippets with Visual Studio:
- Visual Studio Solutions are in Snippets/compiler/
- It's required to build the PhysX SDK prior to building Snippets, as described above.
Nsight Profiling Events
- All builds excpet the Release build of the SDK emits also NVTX (Nsight) events of the SDK profile zones. Therefore you need the profiler DLLs from Bin/(win32|win64) in your application's working directory.
- SDK Source owners can disable this for all builds by removing PX_NVTX from the Visual Studio projects.
Notes:
- The PhysXDevice/64.dll must be redistributed with GPU-enabled applications, and must live in the application directory.
- The PhysXCommon/64.dll, nvcuda.dll and PhysXUpdateLoader/64.dll are loaded and checked for the NVIDIA Corporation digital signature. The signature is expected on all NVIDIA Corporation provided dlls. The application will exit if the signature check failed.
Copyright (C) 2008-2016 NVIDIA Corporation, 2701 San Thomas Expressway, Santa Clara, CA 95050 U.S.A. All rights reserved. www.nvidia.com