Please I have followed the following links you provided for Tegra X2:
Opencv2.4.13 or 18.104.22.168 neither of them works with 6.2 as architecture.
Tried and installed Opencv3.x, might be working but I do not want to change my source code ( it gives me lots of compilation errors unlike 2.4.13)
The point is that when I try Opencv3.x, Tegra X2’s cuda generation(one option in CCmake program) lists Pascal along with kepler and other architectures but when I compile 2.4.13.x it is not listed there so that “Auto” option does not know Pascal architecture to compile this version of Opencv properly, architecture is changed to 6.2 though.
Jetpack installs but GPU functions are NOT working. I tried to test opencv functions using this link http://elinux.org/Jetson/Installing_OpenCV
I have Tegra X1 and the same source code works perfectly there (webcam also detected);however, I can compile the same source code on Tegra X2 (no compilation errors), but with run time error (mostly API call exceptions.
As our friends recommended above , I changed the architecture to 6.2 and compiled using the most recent Cmake version and still stuck at the same run time error after I get my code compiled.
Please give us a better solution rather than forwarding us to the links we already know.
Jetpack must be working normally and we do not have to compile opencv from scratch , it is not working though
Please give us an illustrated way of installation that you have tried on tegra X2 in such a way that opencv functions samples really work …
Thank you !