problem QT-OpenCv-CUDA in Jetson TK1

WHEN RUN A PROGRAM WITH CUDA ON JETSON TK1, have this problems:

main program…

#include <iostream>
#include <opencv/cv.h>
#include<opencv2/core/core.hpp>
#include<opencv2/highgui/highgui.hpp>
#include<opencv2/imgproc/imgproc.hpp>
#include<opencv2/gpu/gpu.hpp>
#include<opencv2/gpu/gpumat.hpp>

using namespace cv;
using namespace std;

int main()
{

    Mat src;
    src = imread("/home/ubuntu/QT_codigos/viento1.jpg",0);

gpu::GpuMat d_src(src);
    gpu::GpuMat d_dst;
    gpu::bilateralFilter(d_src, d_dst, 15, 50, 7);
    gpu::Canny(d_dst, d_dst, 35, 200, 3);
    Mat dstt(d_dst);

    imshow("result gpu",dstt);
}

.pro…

TEMPLATE = app
CONFIG += console
CONFIG -= app_bundle
CONFIG -= qt

SOURCES += main.cpp

unix:!macx: LIBS += -L$PWD/../../../../usr/local/lib/ -lopencv_core -lopencv_feature2d -lopencv_flann -lopencv_gpu -lopencv_highgui -lopencv_imgproc -lopencv_legacy -lopencv_ml -lopencv_nonfree -lopencv_objdetect -lopencv_ocl -lopencv_photo -lopencv_stitching -lopencv_superres -lopencv_video -lopencv_videostab

INCLUDEPATH += $PWD/../../../../usr/local/include
DEPENDPATH += $PWD/../../../../usr/local/include

unix:!macx: LIBS += -L$PWD/../../../../usr/local/cuda-6.5/lib/ -lcublas -lcudart -lcudnn -lcufft -lcuinj32 -lcurand -lcusparse -lnppc -nppi -lnpps -lnvToolsExt

INCLUDEPATH += $PWD/../../../../usr/local/cuda-6.5/include
DEPENDPATH += $PWD/../../../../usr/local/cuda-6.5/include

I HAVE THIS ERROR, WHEN RUN MY PROGRAM…

OpenCV Error: No GPU support (The library is compiled without CUDA support) in mallocPitch, file /build/buildd/opencv-2.4.8+dfsg1/modules/dynamicuda/include/opencv2/dynamicuda/dynamicuda.hpp, line 126
terminate called after throwing an instance of 'cv::Exception'
  what():  /build/buildd/opencv-2.4.8+dfsg1/modules/dynamicuda/include/opencv2/dynamicuda/dynamicuda.hpp:126: error: (-216) The library is compiled without CUDA support in function mallocPitch

Were you remotely logged in, or locally? If remote, then it is probably trying to use the PC’s GPU instead of the Jetson’s.

Locally
linuxdev…

Does this show any errors?

sha1sum -c /etc/nv_tegra_release

Hi,

I tried your code with this command:

$ nvcc topic_1022691.cpp -lopencv_core -lopencv_highgui -lopencv_gpu -o test && ./test

Image shows successfully without error. Could you recheck it?

linuxdev thanks ! :)

not show error… all OK

OpenCV Error: No GPU support (The library is compiled without CUDA support) in mallocPitch, file /build/buildd/opencv-2.4.8+dfsg1/modules/dynamicuda/include/opencv2/dynamicuda/dynamicuda.hpp, line 126
terminate called after throwing an instance of ‘cv::Exception’
what(): /build/buildd/opencv-2.4.8+dfsg1/modules/dynamicuda/include/opencv2/dynamicuda/dynamicuda.hpp:126: error: (-216) The library is compiled without CUDA support in function mallocPitch

this error show… when run my simple program with CUDA… on JETSON TK1 :( :( :(

Hi,

I tried this on TX2, and all thing works correctly.
Let me check this code with TK1, and update to you later.

AastaLLL thanks

nvcc topic_1022691.cpp -lopencv_core -lopencv_highgui -lopencv_gpu -o test && ./test

this part, where can execute ???

i run in this part… it’s okay??

ubuntu@tegra-ubuntu:~/QT_codigos/prueba_cuda_vs_opencv$ ls
main.cpp
  prueba_cuda_vs_opencv.pro  prueba_cuda_vs_opencv.pro.user
ubuntu@tegra-ubuntu:~/QT_codigos/prueba_cuda_vs_opencv$ [b]nvcc main.cpp 
-lopencv_core -lopencv_highgui -lopencv_gpu -o test && ./test[/b]
/usr/bin/ld: /tmp/tmpxft_00000a69_00000000-3_main.o: undefined reference to symbol '_ZN2cv5CannyERKNS_11_InputArrayERKNS_12_OutputArrayEddib'
/usr/local/lib//libopencv_imgproc.so.2.4: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status

Hi,

Please modify topic_1022691.cpp to your file name.
Thanks.

yes AastaLL… review the before note…!!!

We have checked the command mentioned in #5 on TK1.
Application run correctly without error. Please recheck it.

For the error in comment #9, try to add -lopencv_imgproc when compiling.
Thanks.

/usr/bin/ld: /tmp/tmpxft_00000a69_00000000-3_main.o: undefined reference to symbol '_ZN2cv5CannyERKNS_11_InputArrayERKNS_12_OutputArrayEddib'
/usr/local/lib//libopencv_imgproc.so.2.4: error adding symbols: DSO missing from command line

You need to link against opencv_imgproc. Add -lopencv_imgproc in linker flags.

thanks Friends… run sucessfull…

but my question is:

¿ why can´t i run from QT… ???

WHAT IS SOLUTION FOR RUN FROM QT???

It seems you have a opencv 2.4.8 lib installed in /usr/local, compiled without cuda support.
Are you running a standard L4T release ? If yes, it may be very old and flashing with last JetPack may improve many things. What is the output of:

head -1 /etc/nv_tegra_release
sha1sum -c /etc/nv_tegra_release

If you’re using your own 2.4.8 deliberately, be sure it doesn’t interfere with opencv4tegra (2.4.13 on last L4T), by default installed in /usr. What is the output of:

find / -name 'libopencv*'
find / -name 'opencv*'|& grep include

Assuming you want to use your 2.4.8 version installed in /usr/local, compiling on the jetson, you may change these in your project :

unix:!macx: LIBS += -L/usr/local/lib/ -lopencv_core -lopencv_feature2d -lopencv_flann -lopencv_gpu -lopencv_highgui -lopencv_imgproc -lopencv_legacy -lopencv_ml -lopencv_nonfree -lopencv_objdetect -lopencv_ocl -lopencv_photo -lopencv_stitching -lopencv_superres -lopencv_video -lopencv_videostab

INCLUDEPATH += /usr/local/include 
DEPENDPATH += /usr/local/include

unix:!macx: LIBS += -L/usr/local/cuda-6.5/lib/ -lcublas -lcudart -lcudnn -lcufft -lcuinj32 -lcurand -lcusparse -lnppc -nppi -lnpps -lnvToolsExt

INCLUDEPATH += /usr/local/cuda-6.5/include 
DEPENDPATH += /usr/local/cuda-6.5/include

But you may try opencv4tegra or build your own opencv-2.4.13 or even change to 3.2.0. Opencv3 has a slightly different API, mainly for GPU related things, but it’s easy to adapt (an editor changing cv::gpu into cv::cuda will do most of it…Just have to adjust includes and libs… a few functions (such as cv::putText) moved to a different library… some filters became dynamically allocated to be reused, but it may not be huge… depending on the amount of code…performance may also be good).

in the first part… have this information:

Are you running a standard L4T release ? YES

ubuntu@tegra-ubuntu:~$ head -1 /et/nv_tegra_release
head: cannot open ‘/et/nv_tegra_release’ for reading: No such file or directory
ubuntu@tegra-ubuntu:~$ head -1 /etc/nv_tegra_release
# R21 (release), REVISION: 4.0, GCID: 5650832, BOARD: ardbeg, EABI: hard, DATE: Thu Jun 25 22:38:59 UTC 2015
<b>ubuntu@tegra-ubuntu:~$ sha1sum -c /etc/nv_tegra_release</b>
/usr/lib/xorg/modules/drivers/nvidia_drv.so: OK
/usr/lib/xorg/modules/extensions/libglx.so: OK
/usr/lib/arm-linux-gnueabihf/tegra/libnvmmlite_video.so: OK
/usr/lib/arm-linux-gnueabihf/tegra/libnvwinsys.so: OK
/usr/lib/arm-linux-gnueabihf/tegra/libnvomx.so: OK
/usr/lib/arm-linux-gnueabihf/tegra/libnvtestio.so: OK
/usr/lib/arm-linux-gnueabihf/tegra/libnvmm.so: OK
/usr/lib/arm-linux-gnueabihf/tegra/libnvodm_imager.so: OK
/usr/lib/arm-linux-gnueabihf/tegra/libnvtestresults.so: OK
/usr/lib/arm-linux-gnueabihf/tegra/libnvapputil.so: OK
/usr/lib/arm-linux-gnueabihf/tegra/libnvmm_utils.so: OK
/usr/lib/arm-linux-gnueabihf/tegra/libnvrm_graphics.so: OK
/usr/lib/arm-linux-gnueabihf/tegra/libnvos.so: OK
/usr/lib/arm-linux-gnueabihf/tegra/libnvmmlite_image.so: OK
/usr/lib/arm-linux-gnueabihf/tegra/libnvddk_vic.so: OK
/usr/lib/arm-linux-gnueabihf/tegra/libnvomxilclient.so: OK
/usr/lib/arm-linux-gnueabihf/tegra/libglx.so: OK
/usr/lib/arm-linux-gnueabihf/tegra/libnvmm_camera_v3.so: OK
/usr/lib/arm-linux-gnueabihf/tegra/libnvmm_parser.so: OK
/usr/lib/arm-linux-gnueabihf/tegra/libnvmmlite_audio.so: OK
/usr/lib/arm-linux-gnueabihf/tegra/libnvodm_query.so: OK
/usr/lib/arm-linux-gnueabihf/tegra/libnvmmlite_utils.so: OK
/usr/lib/arm-linux-gnueabihf/tegra/libnvtnr.so: OK
/usr/lib/arm-linux-gnueabihf/tegra/libnvmm_contentpipe.so: OK
/usr/lib/arm-linux-gnueabihf/tegra/libjpeg.so: OK
/usr/lib/arm-linux-gnueabihf/tegra/libnvddk_2d_v2.so: OK
/usr/lib/arm-linux-gnueabihf/tegra/libnvdc.so: OK
/usr/lib/arm-linux-gnueabihf/tegra/libtegrav4l2.so: OK
/usr/lib/arm-linux-gnueabihf/tegra/libnvmmlite.so: OK
/usr/lib/arm-linux-gnueabihf/tegra/libnvparser.so: OK
/usr/lib/arm-linux-gnueabihf/tegra/libnvsm.so: OK
/usr/lib/arm-linux-gnueabihf/tegra/libnvavp.so: OK
/usr/lib/arm-linux-gnueabihf/tegra/libnvtvmr.so: OK
/usr/lib/arm-linux-gnueabihf/tegra/libnvrm.so: OK

in the second part… i have this information…

find: `/proc/2373/fd': Permission denied
find: `/proc/2373/fdinfo': Permission denied
find: `/proc/2373/ns': Permission denied
find: `/proc/2374/task/2374/fd': Permission denied
find: `/proc/2374/task/2374/fdinfo': Permission denied
find: `/proc/2374/task/2374/ns': Permission denied
find: `/proc/2374/fd': Permission denied
find: `/proc/2374/fdinfo': Permission denied
find: `/proc/2374/ns': Permission denied
find: `/proc/2385/task/2385/fd': Permission denied
find: `/proc/2385/task/2385/fdinfo': Permission denied
find: `/proc/2385/task/2385/ns': Permission denied
find: `/proc/2385/fd': Permission denied
find: `/proc/2385/fdinfo': Permission denied
find: `/proc/2385/ns': Permission denied
find: `/proc/2423/task/2423/fd': Permission denied
find: `/proc/2423/task/2423/fdinfo': Permission denied
find: `/proc/2423/task/2423/ns': Permission denied
find: `/proc/2423/fd': Permission denied
find: `/proc/2423/fdinfo': Permission denied
find: `/proc/2423/ns': Permission denied
find: `/proc/2427/task/2427/fd': Permission denied
find: `/proc/2427/task/2427/fdinfo': Permission denied
find: `/proc/2427/task/2427/ns': Permission denied
find: `/proc/2427/fd': Permission denied
find: `/proc/2427/fdinfo': Permission denied
find: `/proc/2427/ns': Permission denied
find: `/proc/2466/task/2466/fd': Permission denied
find: `/proc/2466/task/2466/fdinfo': Permission denied
find: `/proc/2466/task/2466/ns': Permission denied
find: `/proc/2466/fd': Permission denied
find: `/proc/2466/fdinfo': Permission denied
find: `/proc/2466/ns': Permission denied
find: `/proc/2489/task/2489/fd': Permission denied
find: `/proc/2489/task/2489/fdinfo': Permission denied
find: `/proc/2489/task/2489/ns': Permission denied
find: `/proc/2489/fd': Permission denied
find: `/proc/2489/fdinfo': Permission denied
find: `/proc/2489/ns': Permission denied
find: `/proc/2504/task/2504/fd': Permission denied
find: `/proc/2504/task/2504/fdinfo': Permission denied
find: `/proc/2504/task/2504/ns': Permission denied
find: `/proc/2504/fd': Permission denied
find: `/proc/2504/fdinfo': Permission denied
find: `/proc/2504/ns': Permission denied
find: `/proc/2512/task/2512/fd': Permission denied
find: `/proc/2512/task/2512/fdinfo': Permission denied
find: `/proc/2512/task/2512/ns': Permission denied
find: `/proc/2512/fd': Permission denied
find: `/proc/2512/fdinfo': Permission denied
find: `/proc/2512/ns': Permission denied
find: `/proc/2712/task/2712/fd': Permission denied
find: `/proc/2712/task/2712/fdinfo': Permission denied
find: `/proc/2712/task/2712/ns': Permission denied
find: `/proc/2712/fd': Permission denied
find: `/proc/2712/fdinfo': Permission denied
find: `/proc/2712/ns': Permission denied
find: `/lost+found': Permission denied
find: `/run/udisks2': Permission denied
find: `/run/samba/ncalrpc/np': Permission denied
find: `/run/lightdm': Permission denied
find: `/run/cups/certs': Permission denied
find: `/run/rpc_pipefs/cache/dns_resolve': Permission denied
find: `/var/lib/lightdm-data/lightdm': Permission denied
find: `/var/lib/polkit-1': Permission denied
find: `/var/lib/udisks2': Permission denied
find: `/var/lib/sudo': Permission denied
find: `/var/lib/samba/private/msg.sock': Permission denied
/var/lib/dpkg/info/libopencv-ml2.4:armhf.md5sums
/var/lib/dpkg/info/libopencv-superres2.4:armhf.list
/var/lib/dpkg/info/libopencv-ts2.4:armhf.md5sums
/var/lib/dpkg/info/libopencv-legacy-dev:armhf.md5sums
/var/lib/dpkg/info/libopencv-superres2.4:armhf.postrm
/var/lib/dpkg/info/libopencv-videostab2.4:armhf.md5sums
/var/lib/dpkg/info/libopencv-superres2.4:armhf.postinst
/var/lib/dpkg/info/libopencv4tegra-repo.conffiles
/var/lib/dpkg/info/libopencv2.4-java.md5sums
/var/lib/dpkg/info/libopencv-contrib-dev:armhf.list
/var/lib/dpkg/info/libopencv-flann2.4:armhf.list
/var/lib/dpkg/info/libopencv-flann2.4:armhf.postinst
/var/lib/dpkg/info/libopencv-ocl2.4:armhf.md5sums
/var/lib/dpkg/info/libopencv-ml2.4:armhf.shlibs
/var/lib/dpkg/info/libopencv-contrib2.4:armhf.shlibs
/var/lib/dpkg/info/libopencv-imgproc2.4:armhf.shlibs
/var/lib/dpkg/info/libopencv-superres2.4:armhf.md5sums
/var/lib/dpkg/info/libopencv-gpu2.4:armhf.md5sums
/var/lib/dpkg/info/libopencv-gpu-dev:armhf.md5sums
/var/lib/dpkg/info/libopencv-video2.4:armhf.list
/var/lib/dpkg/info/libopencv-flann2.4:armhf.md5sums
/var/lib/dpkg/info/libopencv-imgproc2.4:armhf.list
/var/lib/dpkg/info/libopencv4tegra-repo.md5sums
/var/lib/dpkg/info/libopencv-superres2.4:armhf.shlibs
/var/lib/dpkg/info/libopencv-videostab-dev:armhf.list
/var/lib/dpkg/info/libopencv-contrib2.4:armhf.md5sums
/var/lib/dpkg/info/libopencv-objdetect-dev:armhf.md5sums
/var/lib/dpkg/info/libopencv-ts2.4:armhf.list
/var/lib/dpkg/info/libopencv2.4-jni.list
/var/lib/dpkg/info/libopencv-videostab2.4:armhf.postinst
/var/lib/dpkg/info/libopencv-highgui2.4:armhf.list
/var/lib/dpkg/info/libopencv-ts2.4:armhf.postrm
/var/lib/dpkg/info/libopencv-legacy2.4:armhf.postinst
/var/lib/dpkg/info/libopencv4tegra.postrm
/var/lib/dpkg/info/libopencv-ml2.4:armhf.postinst
/var/lib/dpkg/info/libopencv-features2d2.4:armhf.postinst
/var/lib/dpkg/info/libopencv-contrib2.4:armhf.postrm
/var/lib/dpkg/info/libopencv2.4-jni.md5sums
/var/lib/dpkg/info/libopencv-ocl2.4:armhf.postrm
/var/lib/dpkg/info/libopencv-legacy2.4:armhf.postrm
/var/lib/dpkg/info/libopencv-superres-dev:armhf.md5sums
/var/lib/dpkg/info/libopencv-ts2.4:armhf.shlibs
/var/lib/dpkg/info/libopencv-video2.4:armhf.postrm
/var/lib/dpkg/info/libopencv-calib3d2.4:armhf.md5sums
/var/lib/dpkg/info/libopencv-imgproc2.4:armhf.postinst
/var/lib/dpkg/info/libopencv-core2.4:armhf.md5sums
/var/lib/dpkg/info/libopencv-superres-dev:armhf.list
/var/lib/dpkg/info/libopencv-ts2.4:armhf.postinst
/var/lib/dpkg/info/libopencv-legacy2.4:armhf.md5sums
/var/lib/dpkg/info/libopencv-imgproc-dev:armhf.list
/var/lib/dpkg/info/libopencv-photo2.4:armhf.postrm
/var/lib/dpkg/info/libopencv-core2.4:armhf.list
/var/lib/dpkg/info/libopencv-objdetect2.4:armhf.list
/var/lib/dpkg/info/libopencv-highgui-dev:armhf.list
/var/lib/dpkg/info/libopencv-objdetect2.4:armhf.shlibs
/var/lib/dpkg/info/libopencv-ocl-dev:armhf.md5sums
/var/lib/dpkg/info/libopencv4tegra.list
/var/lib/dpkg/info/libopencv-objdetect-dev:armhf.list
/var/lib/dpkg/info/libopencv-calib3d2.4:armhf.shlibs
/var/lib/dpkg/info/libopencv-gpu2.4:armhf.postrm
/var/lib/dpkg/info/libopencv-video2.4:armhf.shlibs
/var/lib/dpkg/info/libopencv-stitching2.4:armhf.postinst
/var/lib/dpkg/info/libopencv-calib3d2.4:armhf.postrm
/var/lib/dpkg/info/libopencv-ml-dev:armhf.list
/var/lib/dpkg/info/libopencv-ocl2.4:armhf.list
/var/lib/dpkg/info/libopencv-photo2.4:armhf.md5sums
/var/lib/dpkg/info/libopencv-flann-dev:armhf.md5sums
/var/lib/dpkg/info/libopencv-photo2.4:armhf.postinst
/var/lib/dpkg/info/libopencv-legacy2.4:armhf.list
/var/lib/dpkg/info/libopencv-stitching-dev:armhf.md5sums
/var/lib/dpkg/info/libopencv-video2.4:armhf.postinst
/var/lib/dpkg/info/libopencv-flann2.4:armhf.shlibs
/var/lib/dpkg/info/libopencv-calib3d-dev:armhf.md5sums
/var/lib/dpkg/info/libopencv-highgui2.4:armhf.md5sums
/var/lib/dpkg/info/libopencv-gpu-dev:armhf.list
/var/lib/dpkg/info/libopencv-video-dev:armhf.md5sums
/var/lib/dpkg/info/libopencv-imgproc2.4:armhf.md5sums
/var/lib/dpkg/info/libopencv-legacy-dev:armhf.list
/var/lib/dpkg/info/libopencv-stitching2.4:armhf.list
/var/lib/dpkg/info/libopencv-flann-dev:armhf.list
/var/lib/dpkg/info/libopencv-video-dev:armhf.list
/var/lib/dpkg/info/libopencv-ml2.4:armhf.postrm
/var/lib/dpkg/info/libopencv-core2.4:armhf.postrm
/var/lib/dpkg/info/libopencv-photo2.4:armhf.shlibs
/var/lib/dpkg/info/libopencv-calib3d-dev:armhf.list
/var/lib/dpkg/info/libopencv-features2d-dev:armhf.md5sums
/var/lib/dpkg/info/libopencv-calib3d2.4:armhf.list
/var/lib/dpkg/info/libopencv-flann2.4:armhf.postrm
/var/lib/dpkg/info/libopencv-ts-dev:armhf.md5sums
/var/lib/dpkg/info/libopencv-ocl-dev:armhf.list
/var/lib/dpkg/info/libopencv-core-dev:armhf.list
/var/lib/dpkg/info/libopencv-ts-dev:armhf.list
/var/lib/dpkg/info/libopencv-gpu2.4:armhf.postinst
/var/lib/dpkg/info/libopencv-stitching2.4:armhf.shlibs
/var/lib/dpkg/info/libopencv-stitching2.4:armhf.postrm
/var/lib/dpkg/info/libopencv-videostab-dev:armhf.md5sums
/var/lib/dpkg/info/libopencv-photo-dev:armhf.list
/var/lib/dpkg/info/libopencv-ml-dev:armhf.md5sums
/var/lib/dpkg/info/libopencv-features2d2.4:armhf.md5sums
/var/lib/dpkg/info/libopencv-contrib-dev:armhf.md5sums
/var/lib/dpkg/info/libopencv-photo-dev:armhf.md5sums
/var/lib/dpkg/info/libopencv-videostab2.4:armhf.list
/var/lib/dpkg/info/libopencv-contrib2.4:armhf.list
/var/lib/dpkg/info/libopencv-gpu2.4:armhf.list
/var/lib/dpkg/info/libopencv-video2.4:armhf.md5sums
/var/lib/dpkg/info/libopencv-objdetect2.4:armhf.postrm
/var/lib/dpkg/info/libopencv-contrib2.4:armhf.postinst
/var/lib/dpkg/info/libopencv-features2d-dev:armhf.list
/var/lib/dpkg/info/libopencv-imgproc-dev:armhf.md5sums
/var/lib/dpkg/info/libopencv-objdetect2.4:armhf.md5sums
/var/lib/dpkg/info/libopencv-gpu2.4:armhf.shlibs
/var/lib/dpkg/info/libopencv-imgproc2.4:armhf.postrm
/var/lib/dpkg/info/libopencv-core2.4:armhf.shlibs
/var/lib/dpkg/info/libopencv-stitching2.4:armhf.md5sums
/var/lib/dpkg/info/libopencv-objdetect2.4:armhf.postinst
/var/lib/dpkg/info/libopencv-features2d2.4:armhf.postrm
/var/lib/dpkg/info/libopencv-calib3d2.4:armhf.postinst
/var/lib/dpkg/info/libopencv-ml2.4:armhf.list
/var/lib/dpkg/info/libopencv-ocl2.4:armhf.postinst
/var/lib/dpkg/info/libopencv-core2.4:armhf.postinst
/var/lib/dpkg/info/libopencv-highgui2.4:armhf.shlibs
/var/lib/dpkg/info/libopencv2.4-java.list
/var/lib/dpkg/info/libopencv-videostab2.4:armhf.postrm
/var/lib/dpkg/info/libopencv-photo2.4:armhf.list
/var/lib/dpkg/info/libopencv-stitching-dev:armhf.list
/var/lib/dpkg/info/libopencv-core-dev:armhf.md5sums
/var/lib/dpkg/info/libopencv-dev.list
/var/lib/dpkg/info/libopencv-dev.md5sums
/var/lib/dpkg/info/libopencv-legacy2.4:armhf.shlibs
/var/lib/dpkg/info/libopencv-highgui2.4:armhf.postrm
/var/lib/dpkg/info/libopencv-features2d2.4:armhf.list
/var/lib/dpkg/info/libopencv-ocl2.4:armhf.shlibs
/var/lib/dpkg/info/libopencv-highgui-dev:armhf.md5sums
/var/lib/dpkg/info/libopencv4tegra-repo.list
/var/lib/dpkg/info/libopencv-features2d2.4:armhf.shlibs
/var/lib/dpkg/info/libopencv-highgui2.4:armhf.postinst
/var/lib/dpkg/info/libopencv-videostab2.4:armhf.shlibs
find: `/var/lib/lightdm': Permission denied
/var/opencv4tegra-repo/libopencv4tegra-dev_2.4.12.3_armhf.deb
/var/opencv4tegra-repo/libopencv4tegra_2.4.12.3_armhf.deb
/var/opencv4tegra-repo/libopencv4tegra-python_2.4.12.3_armhf.deb
find: `/var/log/samba/cores': Permission denied
find: `/var/log/speech-dispatcher': Permission denied
find: `/var/spool/cron/crontabs': Permission denied
find: `/var/spool/cups': Permission denied
find: `/var/spool/rsyslog': Permission denied
find: `/var/cache/ldconfig': Permission denied
/var/cache/apt/archives/libopencv-highgui2.4_2.4.8+dfsg1-2ubuntu1_armhf.deb
/var/cache/apt/archives/libopencv-photo2.4_2.4.8+dfsg1-2ubuntu1_armhf.deb
/var/cache/apt/archives/libopencv-imgproc-dev_2.4.8+dfsg1-2ubuntu1_armhf.deb
/var/cache/apt/archives/libopencv-superres-dev_2.4.8+dfsg1-2ubuntu1_armhf.deb
/var/cache/apt/archives/libopencv-objdetect2.4_2.4.8+dfsg1-2ubuntu1_armhf.deb
/var/cache/apt/archives/libopencv-features2d2.4_2.4.8+dfsg1-2ubuntu1_armhf.deb
/var/cache/apt/archives/libopencv-ocl2.4_2.4.8+dfsg1-2ubuntu1_armhf.deb
/var/cache/apt/archives/libopencv2.4-java_2.4.8+dfsg1-2ubuntu1_all.deb
/var/cache/apt/archives/libopencv-videostab2.4_2.4.8+dfsg1-2ubuntu1_armhf.deb
/var/cache/apt/archives/libopencv-legacy2.4_2.4.8+dfsg1-2ubuntu1_armhf.deb
/var/cache/apt/archives/libopencv-legacy-dev_2.4.8+dfsg1-2ubuntu1_armhf.deb
/var/cache/apt/archives/libopencv-features2d-dev_2.4.8+dfsg1-2ubuntu1_armhf.deb
/var/cache/apt/archives/libopencv-videostab-dev_2.4.8+dfsg1-2ubuntu1_armhf.deb
/var/cache/apt/archives/libopencv-gpu-dev_2.4.8+dfsg1-2ubuntu1_armhf.deb
/var/cache/apt/archives/libopencv-photo-dev_2.4.8+dfsg1-2ubuntu1_armhf.deb
/var/cache/apt/archives/libopencv-superres2.4_2.4.8+dfsg1-2ubuntu1_armhf.deb
/var/cache/apt/archives/libopencv-ocl-dev_2.4.8+dfsg1-2ubuntu1_armhf.deb
/var/cache/apt/archives/libopencv-flann2.4_2.4.8+dfsg1-2ubuntu1_armhf.deb
/var/cache/apt/archives/libopencv-highgui-dev_2.4.8+dfsg1-2ubuntu1_armhf.deb
/var/cache/apt/archives/libopencv-calib3d2.4_2.4.8+dfsg1-2ubuntu1_armhf.deb
/var/cache/apt/archives/libopencv-calib3d-dev_2.4.8+dfsg1-2ubuntu1_armhf.deb
/var/cache/apt/archives/libopencv-imgproc2.4_2.4.8+dfsg1-2ubuntu1_armhf.deb
/var/cache/apt/archives/libopencv-gpu2.4_2.4.8+dfsg1-2ubuntu1_armhf.deb
/var/cache/apt/archives/libopencv-ml-dev_2.4.8+dfsg1-2ubuntu1_armhf.deb
/var/cache/apt/archives/libopencv2.4-jni_2.4.8+dfsg1-2ubuntu1_armhf.deb
/var/cache/apt/archives/libopencv-video-dev_2.4.8+dfsg1-2ubuntu1_armhf.deb
/var/cache/apt/archives/libopencv-core2.4_2.4.8+dfsg1-2ubuntu1_armhf.deb
/var/cache/apt/archives/libopencv-contrib-dev_2.4.8+dfsg1-2ubuntu1_armhf.deb
/var/cache/apt/archives/libopencv-video2.4_2.4.8+dfsg1-2ubuntu1_armhf.deb
/var/cache/apt/archives/libopencv-core-dev_2.4.8+dfsg1-2ubuntu1_armhf.deb
/var/cache/apt/archives/libopencv-flann-dev_2.4.8+dfsg1-2ubuntu1_armhf.deb
/var/cache/apt/archives/libopencv-dev_2.4.8+dfsg1-2ubuntu1_armhf.deb
/var/cache/apt/archives/libopencv-ts-dev_2.4.8+dfsg1-2ubuntu1_armhf.deb
/var/cache/apt/archives/libopencv-objdetect-dev_2.4.8+dfsg1-2ubuntu1_armhf.deb
/var/cache/apt/archives/libopencv-stitching2.4_2.4.8+dfsg1-2ubuntu1_armhf.deb
/var/cache/apt/archives/libopencv-contrib2.4_2.4.8+dfsg1-2ubuntu1_armhf.deb
/var/cache/apt/archives/libopencv-stitching-dev_2.4.8+dfsg1-2ubuntu1_armhf.deb
/var/cache/apt/archives/libopencv-ts2.4_2.4.8+dfsg1-2ubuntu1_armhf.deb
/var/cache/apt/archives/libopencv-ml2.4_2.4.8+dfsg1-2ubuntu1_armhf.deb
find: `/var/cache/lightdm/dmrc': Permission denied
find: `/root': Permission denied
/home/ubuntu/opencv-2.4.10/lib/libopencv_features2d.so.2.4.10
/home/ubuntu/opencv-2.4.10/lib/libopencv_features2d_pch_dephelp.a
/home/ubuntu/opencv-2.4.10/lib/libopencv_core.so.2.4.10
/home/ubuntu/opencv-2.4.10/lib/libopencv_photo_pch_dephelp.a
/home/ubuntu/opencv-2.4.10/lib/libopencv_stitching_pch_dephelp.a
/home/ubuntu/opencv-2.4.10/lib/libopencv_videostab.so.2.4
/home/ubuntu/opencv-2.4.10/lib/libopencv_haartraining_engine.a
/home/ubuntu/opencv-2.4.10/lib/libopencv_calib3d.so.2.4.10
/home/ubuntu/opencv-2.4.10/lib/libopencv_videostab.so
/home/ubuntu/opencv-2.4.10/lib/libopencv_stitching.so
/home/ubuntu/opencv-2.4.10/lib/libopencv_calib3d.so.2.4
/home/ubuntu/opencv-2.4.10/lib/libopencv_calib3d_pch_dephelp.a
/home/ubuntu/opencv-2.4.10/lib/libopencv_gpu.so
/home/ubuntu/opencv-2.4.10/lib/libopencv_stitching.so.2.4
/home/ubuntu/opencv-2.4.10/lib/libopencv_legacy_pch_dephelp.a
/home/ubuntu/opencv-2.4.10/lib/libopencv_video.so.2.4
/home/ubuntu/opencv-2.4.10/lib/libopencv_contrib.so
/home/ubuntu/opencv-2.4.10/lib/libopencv_video_pch_dephelp.a
/home/ubuntu/opencv-2.4.10/lib/libopencv_gpu.so.2.4
/home/ubuntu/opencv-2.4.10/lib/libopencv_superres.so.2.4
/home/ubuntu/opencv-2.4.10/lib/libopencv_ocl.so
/home/ubuntu/opencv-2.4.10/lib/libopencv_video.so.2.4.10
/home/ubuntu/opencv-2.4.10/lib/libopencv_imgproc.so.2.4.10
/home/ubuntu/opencv-2.4.10/lib/libopencv_nonfree.so.2.4.10
/home/ubuntu/opencv-2.4.10/lib/libopencv_ts.a
/home/ubuntu/opencv-2.4.10/lib/libopencv_core.so
/home/ubuntu/opencv-2.4.10/lib/libopencv_video.so
/home/ubuntu/opencv-2.4.10/lib/libopencv_photo.so.2.4
/home/ubuntu/opencv-2.4.10/lib/libopencv_flann.so
/home/ubuntu/opencv-2.4.10/lib/libopencv_objdetect.so.2.4
/home/ubuntu/opencv-2.4.10/lib/libopencv_objdetect_pch_dephelp.a
/home/ubuntu/opencv-2.4.10/lib/libopencv_highgui.so
/home/ubuntu/opencv-2.4.10/lib/libopencv_ocl.so.2.4
/home/ubuntu/opencv-2.4.10/lib/libopencv_core_pch_dephelp.a
/home/ubuntu/opencv-2.4.10/lib/libopencv_flann.so.2.4.10
/home/ubuntu/opencv-2.4.10/lib/libopencv_calib3d.so
/home/ubuntu/opencv-2.4.10/lib/libopencv_contrib.so.2.4
/home/ubuntu/opencv-2.4.10/lib/libopencv_videostab_pch_dephelp.a
/home/ubuntu/opencv-2.4.10/lib/libopencv_stitching.so.2.4.10
/home/ubuntu/opencv-2.4.10/lib/libopencv_highgui_pch_dephelp.a
/home/ubuntu/opencv-2.4.10/lib/libopencv_flann.so.2.4
/home/ubuntu/opencv-2.4.10/lib/libopencv_contrib.so.2.4.10
/home/ubuntu/opencv-2.4.10/lib/libopencv_imgproc.so
/home/ubuntu/opencv-2.4.10/lib/libopencv_flann_pch_dephelp.a
/home/ubuntu/opencv-2.4.10/lib/libopencv_ocl.so.2.4.10
/home/ubuntu/opencv-2.4.10/lib/libopencv_ml.so
/home/ubuntu/opencv-2.4.10/lib/libopencv_videostab.so.2.4.10
/home/ubuntu/opencv-2.4.10/lib/libopencv_gpu_pch_dephelp.a
/home/ubuntu/opencv-2.4.10/lib/libopencv_contrib_pch_dephelp.a
/home/ubuntu/opencv-2.4.10/lib/libopencv_legacy.so
/home/ubuntu/opencv-2.4.10/lib/libopencv_nonfree.so
/home/ubuntu/opencv-2.4.10/lib/libopencv_highgui.so.2.4.10
/home/ubuntu/opencv-2.4.10/lib/libopencv_nonfree_pch_dephelp.a
/home/ubuntu/opencv-2.4.10/lib/libopencv_imgproc_pch_dephelp.a
/home/ubuntu/opencv-2.4.10/lib/libopencv_photo.so
/home/ubuntu/opencv-2.4.10/lib/libopencv_objdetect.so.2.4.10
/home/ubuntu/opencv-2.4.10/lib/libopencv_objdetect.so
/home/ubuntu/opencv-2.4.10/lib/libopencv_superres_pch_dephelp.a
/home/ubuntu/opencv-2.4.10/lib/libopencv_legacy.so.2.4
/home/ubuntu/opencv-2.4.10/lib/libopencv_ml.so.2.4
/home/ubuntu/opencv-2.4.10/lib/libopencv_ts_pch_dephelp.a
/home/ubuntu/opencv-2.4.10/lib/libopencv_nonfree.so.2.4
/home/ubuntu/opencv-2.4.10/lib/libopencv_photo.so.2.4.10
/home/ubuntu/opencv-2.4.10/lib/libopencv_imgproc.so.2.4
/home/ubuntu/opencv-2.4.10/lib/libopencv_highgui.so.2.4
/home/ubuntu/opencv-2.4.10/lib/libopencv_gpu.so.2.4.10
/home/ubuntu/opencv-2.4.10/lib/libopencv_core.so.2.4
/home/ubuntu/opencv-2.4.10/lib/libopencv_ml_pch_dephelp.a
/home/ubuntu/opencv-2.4.10/lib/libopencv_superres.so.2.4.10
/home/ubuntu/opencv-2.4.10/lib/libopencv_features2d.so
/home/ubuntu/opencv-2.4.10/lib/libopencv_superres.so
/home/ubuntu/opencv-2.4.10/lib/libopencv_legacy.so.2.4.10
/home/ubuntu/opencv-2.4.10/lib/libopencv_ocl_pch_dephelp.a
/home/ubuntu/opencv-2.4.10/lib/libopencv_ml.so.2.4.10
/home/ubuntu/opencv-2.4.10/lib/libopencv_features2d.so.2.4
find: `/home/ubuntu/.gvfs': Permission denied
/home/ubuntu/OpenCV4Tegra/libopencv4tegra-repo_2.4.12.3_armhf_l4t-r21.deb
find: `/home/ubuntu/.cache/dconf': Permission denied
find: `/home/ubuntu/.dbus': Permission denied
find: `/etc/polkit-1/localauthority': Permission denied
find: `/etc/cups/ssl': Permission denied
find: `/etc/ssl/private': Permission denied
find: `/etc/chatscripts': Permission denied
find: `/etc/ppp/peers': Permission denied
/usr/lib/arm-linux-gnueabihf/libopencv_videostab.so.2.4
/usr/lib/arm-linux-gnueabihf/libopencv_legacy.so.2.4.8
/usr/lib/arm-linux-gnueabihf/libopencv_ocl.so.2.4.8
/usr/lib/arm-linux-gnueabihf/libopencv_core.a
/usr/lib/arm-linux-gnueabihf/libopencv_ml.a
/usr/lib/arm-linux-gnueabihf/libopencv_imgproc.so.2.4.8
/usr/lib/arm-linux-gnueabihf/libopencv_ocl.a
/usr/lib/arm-linux-gnueabihf/libopencv_videostab.so
/usr/lib/arm-linux-gnueabihf/libopencv_stitching.so
/usr/lib/arm-linux-gnueabihf/libopencv_contrib.so.2.4.8
/usr/lib/arm-linux-gnueabihf/libopencv_calib3d.so.2.4
/usr/lib/arm-linux-gnueabihf/libopencv_gpu.so.2.4.8
/usr/lib/arm-linux-gnueabihf/libopencv_video.so.2.4.8
/usr/lib/arm-linux-gnueabihf/libopencv_gpu.so
/usr/lib/arm-linux-gnueabihf/libopencv_stitching.so.2.4
/usr/lib/arm-linux-gnueabihf/libopencv_objdetect.so.2.4.8
/usr/lib/arm-linux-gnueabihf/libopencv_flann.so.2.4.8
/usr/lib/arm-linux-gnueabihf/libopencv_video.so.2.4
/usr/lib/arm-linux-gnueabihf/libopencv_contrib.so
/usr/lib/arm-linux-gnueabihf/libopencv_stitching.a
/usr/lib/arm-linux-gnueabihf/libopencv_gpu.so.2.4
/usr/lib/arm-linux-gnueabihf/libopencv_superres.so.2.4
/usr/lib/arm-linux-gnueabihf/libopencv_ocl.so
/usr/lib/arm-linux-gnueabihf/libopencv_legacy.a
/usr/lib/arm-linux-gnueabihf/libopencv_ts.a
/usr/lib/arm-linux-gnueabihf/libopencv_core.so
/usr/lib/arm-linux-gnueabihf/libopencv_video.so
/usr/lib/arm-linux-gnueabihf/libopencv_photo.so.2.4
/usr/lib/arm-linux-gnueabihf/libopencv_ts.so
/usr/lib/arm-linux-gnueabihf/libopencv_flann.so
/usr/lib/arm-linux-gnueabihf/libopencv_objdetect.so.2.4
/usr/lib/arm-linux-gnueabihf/libopencv_ml.so.2.4.8
/usr/lib/arm-linux-gnueabihf/libopencv_calib3d.a
/usr/lib/arm-linux-gnueabihf/libopencv_highgui.so
/usr/lib/arm-linux-gnueabihf/libopencv_ocl.so.2.4
/usr/lib/arm-linux-gnueabihf/libopencv_photo.so.2.4.8
/usr/lib/arm-linux-gnueabihf/libopencv_video.a
/usr/lib/arm-linux-gnueabihf/libopencv_videostab.so.2.4.8
/usr/lib/arm-linux-gnueabihf/libopencv_calib3d.so.2.4.8
/usr/lib/arm-linux-gnueabihf/libopencv_calib3d.so
/usr/lib/arm-linux-gnueabihf/libopencv_contrib.so.2.4
/usr/lib/arm-linux-gnueabihf/libopencv_gpu.a
/usr/lib/arm-linux-gnueabihf/libopencv_videostab.a
/usr/lib/arm-linux-gnueabihf/libopencv_flann.so.2.4
/usr/lib/arm-linux-gnueabihf/libopencv_features2d.so.2.4.8
/usr/lib/arm-linux-gnueabihf/libopencv_imgproc.so
/usr/lib/arm-linux-gnueabihf/libopencv_imgproc.a
/usr/lib/arm-linux-gnueabihf/libopencv_ml.so
/usr/lib/arm-linux-gnueabihf/libopencv_photo.a
/usr/lib/arm-linux-gnueabihf/libopencv_contrib.a
/usr/lib/arm-linux-gnueabihf/libopencv_superres.a
/usr/lib/arm-linux-gnueabihf/libopencv_legacy.so
/usr/lib/arm-linux-gnueabihf/libopencv_core.so.2.4.8
/usr/lib/arm-linux-gnueabihf/libopencv_photo.so
/usr/lib/arm-linux-gnueabihf/libopencv_flann.a
/usr/lib/arm-linux-gnueabihf/libopencv_highgui.so.2.4.8
/usr/lib/arm-linux-gnueabihf/libopencv_stitching.so.2.4.8
/usr/lib/arm-linux-gnueabihf/libopencv_highgui.a
/usr/lib/arm-linux-gnueabihf/libopencv_objdetect.so
/usr/lib/arm-linux-gnueabihf/libopencv_ts.so.2.4.8
/usr/lib/arm-linux-gnueabihf/libopencv_legacy.so.2.4
/usr/lib/arm-linux-gnueabihf/libopencv_ml.so.2.4
/usr/lib/arm-linux-gnueabihf/libopencv_ts.so.2.4
/usr/lib/arm-linux-gnueabihf/libopencv_imgproc.so.2.4
/usr/lib/arm-linux-gnueabihf/libopencv_highgui.so.2.4
/usr/lib/arm-linux-gnueabihf/libopencv_features2d.a
/usr/lib/arm-linux-gnueabihf/libopencv_objdetect.a
/usr/lib/arm-linux-gnueabihf/libopencv_core.so.2.4
/usr/lib/arm-linux-gnueabihf/libopencv_features2d.so
/usr/lib/arm-linux-gnueabihf/libopencv_superres.so
/usr/lib/arm-linux-gnueabihf/libopencv_superres.so.2.4.8
/usr/lib/arm-linux-gnueabihf/libopencv_features2d.so.2.4
/usr/lib/jni/libopencv_java248.so
/usr/local/lib/libopencv_features2d.so.2.4.10
/usr/local/lib/libopencv_core.so.2.4.10
/usr/local/lib/libopencv_videostab.so.2.4
/usr/local/lib/libopencv_calib3d.so.2.4.10
/usr/local/lib/libopencv_videostab.so
/usr/local/lib/libopencv_stitching.so
/usr/local/lib/libopencv_calib3d.so.2.4
/usr/local/lib/libopencv_gpu.so
/usr/local/lib/libopencv_stitching.so.2.4
/usr/local/lib/libopencv_video.so.2.4
/usr/local/lib/libopencv_contrib.so
/usr/local/lib/libopencv_gpu.so.2.4
/usr/local/lib/libopencv_superres.so.2.4
/usr/local/lib/libopencv_ocl.so
/usr/local/lib/libopencv_video.so.2.4.10
/usr/local/lib/libopencv_imgproc.so.2.4.10
/usr/local/lib/libopencv_nonfree.so.2.4.10
/usr/local/lib/libopencv_ts.a
/usr/local/lib/libopencv_core.so
/usr/local/lib/libopencv_video.so
/usr/local/lib/libopencv_photo.so.2.4
/usr/local/lib/libopencv_flann.so
/usr/local/lib/libopencv_objdetect.so.2.4
/usr/local/lib/libopencv_highgui.so
/usr/local/lib/libopencv_ocl.so.2.4
/usr/local/lib/libopencv_flann.so.2.4.10
/usr/local/lib/libopencv_calib3d.so
/usr/local/lib/libopencv_contrib.so.2.4
/usr/local/lib/libopencv_stitching.so.2.4.10
/usr/local/lib/libopencv_flann.so.2.4
/usr/local/lib/libopencv_contrib.so.2.4.10
/usr/local/lib/libopencv_imgproc.so
/usr/local/lib/libopencv_ocl.so.2.4.10
/usr/local/lib/libopencv_ml.so
/usr/local/lib/libopencv_videostab.so.2.4.10
/usr/local/lib/libopencv_legacy.so
/usr/local/lib/libopencv_nonfree.so
/usr/local/lib/libopencv_highgui.so.2.4.10
/usr/local/lib/libopencv_photo.so
/usr/local/lib/libopencv_objdetect.so.2.4.10
/usr/local/lib/libopencv_objdetect.so
/usr/local/lib/libopencv_legacy.so.2.4
/usr/local/lib/libopencv_ml.so.2.4
/usr/local/lib/libopencv_nonfree.so.2.4
/usr/local/lib/libopencv_photo.so.2.4.10
/usr/local/lib/libopencv_imgproc.so.2.4
/usr/local/lib/libopencv_highgui.so.2.4
/usr/local/lib/libopencv_gpu.so.2.4.10
/usr/local/lib/libopencv_core.so.2.4
/usr/local/lib/libopencv_superres.so.2.4.10
/usr/local/lib/libopencv_features2d.so
/usr/local/lib/libopencv_superres.so
/usr/local/lib/libopencv_legacy.so.2.4.10
/usr/local/lib/libopencv_ml.so.2.4.10
/usr/local/lib/libopencv_features2d.so.2.4
/usr/share/lintian/overrides/libopencv2.4-jni
/usr/share/lintian/overrides/libopencv-core-dev
/usr/share/doc/libopencv-dev
/usr/share/doc/libopencv-superres-dev
/usr/share/doc/libopencv2.4-jni
/usr/share/doc/libopencv-features2d2.4
/usr/share/doc/libopencv-contrib-dev
/usr/share/doc/libopencv-flann-dev
/usr/share/doc/libopencv-ml-dev
/usr/share/doc/libopencv-flann2.4
/usr/share/doc/libopencv-highgui2.4
/usr/share/doc/libopencv-ocl-dev
/usr/share/doc/libopencv-core-dev
/usr/share/doc/libopencv-ts-dev
/usr/share/doc/libopencv-contrib2.4
/usr/share/doc/libopencv4tegra-repo
/usr/share/doc/libopencv-stitching-dev
/usr/share/doc/libopencv-gpu2.4
/usr/share/doc/libopencv-photo-dev
/usr/share/doc/libopencv-highgui-dev
/usr/share/doc/libopencv-core2.4
/usr/share/doc/libopencv-video-dev
/usr/share/doc/libopencv2.4-java
/usr/share/doc/libopencv-calib3d-dev
/usr/share/doc/libopencv-ts2.4
/usr/share/doc/libopencv-legacy-dev
/usr/share/doc/libopencv-stitching2.4
/usr/share/doc/libopencv-videostab2.4
/usr/share/doc/libopencv-videostab-dev
/usr/share/doc/libopencv-objdetect-dev
/usr/share/doc/libopencv-ocl2.4
/usr/share/doc/libopencv-legacy2.4
/usr/share/doc/libopencv-ml2.4
/usr/share/doc/libopencv-imgproc2.4
/usr/share/doc/libopencv-video2.4
/usr/share/doc/libopencv-imgproc-dev
/usr/share/doc/libopencv-features2d-dev
/usr/share/doc/libopencv-superres2.4
/usr/share/doc/libopencv-calib3d2.4
/usr/share/doc/libopencv-gpu-dev
/usr/share/doc/libopencv-photo2.4
/usr/share/doc/libopencv-objdetect2.4
find: `/sys/kernel/debug': Permission denied

*************************************************************************************+
find / -name 'opencv
’|& grep include

<b>ubuntu@tegra-ubuntu:~$ find / -name 'opencv*' |& grep include</b>
/home/ubuntu/opencv-2.4.10/include/opencv2
/home/ubuntu/opencv-2.4.10/include/opencv2/opencv.hpp
/home/ubuntu/opencv-2.4.10/include/opencv
/home/ubuntu/opencv-2.4.10/modules/calib3d/include/opencv2
/home/ubuntu/opencv-2.4.10/modules/legacy/include/opencv2
/home/ubuntu/opencv-2.4.10/modules/ocl/include/opencv2
/home/ubuntu/opencv-2.4.10/modules/viz/include/opencv2
/home/ubuntu/opencv-2.4.10/modules/core/include/opencv2
/home/ubuntu/opencv-2.4.10/modules/highgui/include/opencv2
/home/ubuntu/opencv-2.4.10/modules/ts/include/opencv2
/home/ubuntu/opencv-2.4.10/modules/features2d/include/opencv2
/home/ubuntu/opencv-2.4.10/modules/superres/include/opencv2
/home/ubuntu/opencv-2.4.10/modules/imgproc/include/opencv2
/home/ubuntu/opencv-2.4.10/modules/nonfree/include/opencv2
/home/ubuntu/opencv-2.4.10/modules/world/include/opencv2
/home/ubuntu/opencv-2.4.10/modules/objdetect/include/opencv2
/home/ubuntu/opencv-2.4.10/modules/ml/include/opencv2
/home/ubuntu/opencv-2.4.10/modules/contrib/include/opencv2
/home/ubuntu/opencv-2.4.10/modules/stitching/include/opencv2
/home/ubuntu/opencv-2.4.10/modules/video/include/opencv2
/home/ubuntu/opencv-2.4.10/modules/videostab/include/opencv2
/home/ubuntu/opencv-2.4.10/modules/gpu/include/opencv2
/home/ubuntu/opencv-2.4.10/modules/flann/include/opencv2
/home/ubuntu/opencv-2.4.10/modules/dynamicuda/include/opencv2
/home/ubuntu/opencv-2.4.10/modules/photo/include/opencv2
/usr/local/include/opencv2
/usr/local/include/opencv2/opencv.hpp
/usr/local/include/opencv2/opencv_modules.hpp
/usr/local/include/opencv
/usr/include/opencv2
/usr/include/opencv2/opencv.hpp
/usr/include/opencv2/opencv_modules.hpp
/usr/include/opencv

with respect to this part -> Assuming you want to use your 2.4.8 version installed in /usr/local, compiling on the jetson, you may change these in your project :

no have good results :( i have the same error…

THEN I HAVE THAT CHANGE TO OPENCV 2.4.13… IT CAN BE THE POSSIBLE SOLUTION ?

It looks you have 2 versions of opencv installed:

  • 2.4.8 (includes in /usr/include/ and libs in /usr/lib/arm-linux-gnueabihf)
  • 2.4.10, built in /home/ubuntu/opencv-2.4.10 and installed in /usr/local.

The flags used in Qt project are for the 2.4.10 version (installed in /usr/local). But when you run it, it may use the 2.4.8 version instead.
You may use ldd to know which dynamic libs are found for your application.
You can use environment variable LD_LIBRARY_PATH to tell the system where to look for dynamic libs. If it cannot find these in the paths listed in LD_LIBRARY_PATH, then it will look in some default paths (such as /usr/lib or /usr/lib/arm-linux-gnueabihf).

I suggest you try this:

cd <where_your_app_is_built>
ldd your_app   # will show the dynamic libraries found for your app, I guess it will be opencv-2.4.8 libs
export LD_LIBRARY_PATH=/usr/local/cuda-6.5/lib:/usr/local/lib   # This should tell to look for dynamic libs in /usr/local/lib where are your opencv-2.4.10 libs
ldd your_app   # this time it should find the 2.4.10 libs before 2.4.8 ones
./your_app     # It may work now if it founds the right libs

THE SOLUTION, THANKS TO Honey_Patouceul

Probably QtCreator overrides this.

So in QtCreator, click on the left bar on ‘Projects’, then tabitem ‘Build & Run’.
You will see two buttons ‘Build’ and ‘Run’ in grey on the right of ‘Manage Kits’. Click on build, scroll down to ‘Build environment’ and check for LD_LIBRARY_PATH. Add ‘/usr/local/lib’ to it (paths are separated by ‘:’).

Then click on ‘Run’ where you clicked on ‘Build’ before. Scroll down to ‘Run Environment’, and check for LD_LIBRARY_PATH. In my case I have :

/usr/lib/aarch64-linux-gnu:/usr/local/cuda-8.0/lib64:

Note that the first path is where you have your 2.4.8 installed, so it will found by Qt.

The solution is just to add ‘/usr/local/lib’ at the begging :

/usr/local/lib:/usr/lib/aarch64-linux-gnu:/usr/local/cuda-8.0/lib64:

so that opencv-2.4.10 will be found before 2.4.8.

I have some hope it may work this time. Let me know.
Best
HP

Just a precision…when helping cristian, I was providing info from a TX2.
For TK1, in this case LD_LIBRARY_PATH should be set to:

/usr/local/lib:/usr/lib/arm-linux-gnueabihf:/usr/local/cuda-6.5/lib: