System information (version) OpenCV => 3.4.0 Operating System / Platform => ubuntu lts 16.04 64 Bit Compiler => g++ 5.4.0 Detailed description on linking i get undefined reference to `cv::ocl::initializeContextFromHandle(cv::ocl::Context&, void, void, void*)'
Steps to reproduce g++ -std=c++11 -std=gnu++11 -Wall -std=c++11 test.cpp -I/usr/local/include -I/opt/rocm/include/ -lOpenCL -lopencv_core -lopencv_imgproc -lopencv_imgcodecs
anything i missing?