I’m trying to install OpenCV 3.1.0 on my TX1, with JetPack 2.3.1, following this guide:
However when I reach 95% I get a bunch of build errors like:
/home/ubuntu/Downloads/opencv/opencv-3.1.0/modules/cudalegacy/src/graphcuts.cpp:120:54: error: ‘NppiGraphcutState’ has not been declared typedef NppStatus (*init_func_t)(NppiSize oSize, NppiGraphcutState** ppState, Npp8u* pDeviceMem);
I have downloaded the OpenCV source code from http://opencv.org/downloads.html and built it as described in the link above.
As far as I can work out this is due to OpenCV 3.1.0 being released before Cuda V8.0.33 but then it somehow seems to have been fixed, although I’m not sure how to apply this fix… (got this info from here: https://github.com/opencv/opencv/issues/6677).
Any ideas on how to fix this?