Skip to content

Building FidelityFX SDK Samples

Visual Studio solutions for the FidelityFX SDK

To build the samples in the AMD FidelityFX SDK:

  1. Download and install the following software developer tool minimum versions:

  2. Open the Visual Studio solution:

    Terminal window
    > <installation path>\Samples\FidelityFX_<effect>\dx12\FidelityFX_<effect>_2022.sln
  3. First time vcpkg installation

  • If vcpkg has not previously been initialized in Visual Studio, please do so with the following:
    • From the menu, select Tools and then Visual Studio Command Prompt to bring up the terminal.
    • Type vcpkg integrate install and hit enter key.
    • Close and re-open the solution.

Building and running in Visual Studio

Building the project

The Visual Studio solution file (.sln) will contain all projects needed to build the effect sample. 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 sample (such as the FidelityFX Cauldron Framework), then build the sample application.

Running the project

To run a project from Visual Studio:

  1. If not already highlighted, select the sample project in the solution explorer.

  2. Right-click the project and select Set as Start-up project.

  3. Right-click the project and select Properties

  4. Under Configuration Properties, click on the Debugging entry.

  5. Set Working Directory to $(TargetDir) for all configurations (Debug and Release).

  6. Click Apply then OK to close the properties panel.

  7. Click on the Build menu item from the toolstrip, and then click on Run.