-
Notifications
You must be signed in to change notification settings - Fork 3
Building on Windows with NVIDIA GPU
Elijah Andrews edited this page Aug 2, 2024
·
4 revisions
The following are step-by-step instructions for building the project on Windows with an NVIDIA GPU.
-
Install a C compiler. I recommend MinGW for this purpose (instructions are here).
-
Install CMake (installers can be found here).
-
Install NVIDIA OpenCL SDK, this is actually their 'CUDA Toolkit' (instructions can be found here). Also ensure that you have the latest drivers for your GPU.
-
Build the project.
-
Download the source and unzip it. Alternatively, if git is installed, simply do
git clone https://github.com/Xorgon/DEMOranges
. - Create a directory within the 'DEMOranges' directory called 'cmake-build' (or something similar).
- Navigate into the 'cmake-build' directory in command prompt and run
cmake ../
. This creates the CMake build files based on the CMakeLists.txt in the 'DEMOranges' directory. - While in the 'cmake-build' directory run
cmake --build ./ --target <target name>
.<target name>
can be any target from this list. I recommend buildingrun_tests
first to check whether your system is correctly set up.
-
Download the source and unzip it. Alternatively, if git is installed, simply do
-
Run the .exe file for whichever target you built.