Install the **CUDA Toolkit** from NVIDIA’s official site [here](https://developer.nvidia.com/cuda-toolkit), which includes both CUDA and Thrust libraries.
```
2. **Build the Project with CMake**
Navigate to the project src folder and create a `build` folder:
```bash
mkdir build
cd build
```
Run CMake to configure and generate the makefiles, then compile the code:
```bash
cmake ..
make
```
This will produce an executable named `cuda_opengl_integration` in the `build` directory.