Hi, You need to include necessary header files and modify Makefile
Header files:
/* Open CV headers */ #include "opencv2/imgproc/imgproc.hpp" #include "opencv2/highgui/highgui.hpp" #include "nvbufsurface.h" #include "nvbufsurftransform.h"
Makefile: