Dear @mohammed.el-yaagoubi,
There is typo in the sample at line 17. Please use dwRelease(sdk)
and check compiling again.
I could compile the sample with out any issue using below command
gcc -I/usr/local/driveworks-3.5/include/ -I/usr/local/cuda-10.2/include helloworld.cpp -ldriveworks -L/usr/local/driveworks-3.5/lib/ -lstdc++ -o helloworld
I noticed that I don’t have the folder /usr/local/cuda/include
Have you used the machine to install DRIVE OS 5.2.0? If not please install DRIVE OS 5.2.0 using sdkmanager first. It installs CUDA 10.2 at /usr/local/ ? Note that cuda and driveworks are symlinks to cuda-10.2 and driveworks-3.5 respectively.