I am trying to convert OpenCV data structure ( cv::Mat) to OpenVX data structure (vx_image). To do so using nvx_cv::createVXImageFromCVMat(context,src_image), I need a context object to be created. However, when I try to instantiate the object I get the following error.
undefined reference to `vxCreateContext’
Following is the code snippet I am using.
vx_context context = vxCreateContext();
My CMakeLists.txt has the following link libraries command:
libvisionworks.so exists at the path. Also when I checked the symbols in this library it shows the following:
00000000000dc078 T vxCreateContext
I believe this symbol exists in the library. I am unable to make connections. Please guide me where I am making mistakes.