I can't install opencv and opencv-contrib

I installed ubuntu 18.04 used jetpack 4.2 on jetson tx2 but Unable to install opencv while installing ubuntu. I tryed install opencv and opencv-contrib using this sh. file (./buildOpenCV.sh) ----> https://github.com/zhudaoruyi/buildOpenCVTX2
this is my console output:
https://paste.ubuntu.com/p/KGx2K456Bv/

CMakeErrorLog.txt:
https://paste.ubuntu.com/p/BJFHN6SqHn/

Could you check if “/usr/lib/aarch64-linux-gnu/libGL.so” exists or not? Is it a dummy one?