about opencv4 and jetson nano

hello guys, i have just installed the opencv4 on jetson nano with the script which is located in https://github.com/AastaNV/JEP/blob/master/script/install_opencv4.0.0_Nano.sh, i have built successfully but there is an error. When i try an example it gives opencv2/opencv.hpp: No such file or directory, when i try the folder to opencv4/opencv2/opencv.hpp in my cpp file, it gives another missing header file, i think there is a patch bug for opencv4

Any idea ?

Thanks,

Hi nophobia,

Sorry for the late response, have you managed to resolve the problem or this is still an issue to support?

Thanks

hello kayccc,

actually i have resolved my problem, i have created the swapfile as i mentioned below;

$ sudo fallocate -l 4G /swapfile
$ sudo chmod 600 /swapfile
$ sudo mkswap /swapfile
$ sudo swapon /swapfile

After that, i changed the the lines which has opencv-4.0.0 with opencv-4.1.0, it works well now.

Thank you !