I\'m trying to compile an openCL program on Ubuntu with an NVIDIA card that worked once before,
#include
#include
#include &
Alternatively you can add the header and library path to your global variables.
export CPLUS_INCLUDE_PATH=$CPLUS_INCLUDE_PATH:/usr/local/cuda/include
export LIBRARY_PATH=$LIBRARY_PATH:/usr/lib/nvidia-current
You can also try to set
export PATH=$PATH:/usr/local/cuda/bin
It should be possible to run now
g++ opencl.cpp