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:
2. Create a build directory:
```bash
```bash
mkdir build
mkdir build
cd build
cd build
```
```
Run CMake to configure and generate the makefiles, then compile the code:
3. Configure and build the project:
```bash
```bash
cmake ..
cmake ..
make
make
```
```
This will produce an executable named `cuda_opengl_integration` in the `build` directory.