Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to build in windows? #6

Open
xiaoxiongli opened this issue Aug 25, 2021 · 2 comments
Open

How to build in windows? #6

xiaoxiongli opened this issue Aug 25, 2021 · 2 comments

Comments

@xiaoxiongli
Copy link

Hi Dear @rys :

it seems can use VS2019 to build this project, but I do not find the .sln file, it is only have a CMakeList.txt, so Could you please help me: How to build in windows?

thank you very much~

@rys
Copy link
Contributor

rys commented Aug 25, 2021

Hi @xiaoxiongli, good question! You need to have cmake installed on your system, along with VS2019 and the Windows SDK, then you can use the following to check the code out and build it:

git clone --recursive https://github.com/GPUOpen-Effects/FidelityFX-CLI.git
cd FidelityFX-CLI
mkdir build
cd build
cmake -S .. -G "Visual Studio 16 2019" -A x64
cd ..
cmake --build build --config Release

That'll create a binary in bin\Release called FidelityFX_CLI.exe for you to use. Let me know if those steps don't work and I can help you debug it.

@rys
Copy link
Contributor

rys commented Aug 25, 2021

Additionally, after the first cmake step, it will have built a solution file for you in the build directory that you can load in VS2019 yourself if you want to look at the code and make changes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants