Building FidelityFX SDK Samples
Generating solutions for the FidelityFX SDK
To build the samples in the AMD FidelityFX SDK:
-
Download and install the following software developer tool minimum versions:
-
Generate Visual Studio solution:
`bash > <installation path>\BuildSamplesSolution.bat `
The batch file will inquire if the solution should build the SDK as a DLL (builds as a statically linked library if no (‘n’) is provided) and which samples should be included. Please use ‘1’ to build a solution with all samples included or provide the list of samples to be included (using the corresponding number of the samples with spaces in between).
This will generate a
build\
directory where you will find the solution for the SDK samples (FidelityFX SDK Samples.sln
).
Building and running in Visual Studio
Building the project
By default, the Visual Studio solution file (.sln) that is generated by CMake will contain projects for all sample applications included in the SDK. To build the projects in the solution, you should click on Build
and then Build solution
from the menu at the top of Visual Studio. This will build all dependencies of the samples (such as the FidelityFX Cauldron Framework), before then building the full collection of sample applications.
Running the project
To run a project from Visual Studio:
-
Select the project of interest in the solution explorer under the “Effects” folder.
-
Right-click the project and select ‘Set as Start-up project’.
-
Click on the
Build
menu item from the toolstrip, and then click onRun
.