Ubuntu OpenCV

cd "/home/yyl/codes/test/" && g++ test.cpp pkg-config --cflags --libs opencv -o test -std=c++11 -lpthread && "/home/yyl/codes/test/"test
(base) yyl@ubuntu:~/codes/test$ cd "/home/yyl/codes/test/" && g++ test.cpp pkg-config --cflags --libs opencv -o test -std=c++11 -lpthread && "/home/yyl/codes/test/"test
/usr/bin/ld: warning: libopencv_calib3d.so.4.2, needed by /usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu/libopencv_shape.so, may conflict with libopencv_calib3d.so.405
/usr/bin/ld: warning: libopencv_core.so.4.2, needed by /usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu/libopencv_shape.so, may conflict with libopencv_core.so.405
terminate called after throwing an instance of 'cv::Exception'
what(): OpenCV(4.5.5) /home/yyl/opencv-4.5.5/modules/core/src/alloc.cpp:73: error: (-4:Insufficient memory) Failed to allocate 107895766904832 bytes in function 'OutOfMemoryError'

已放弃 (核心已转储)

请问您问题解决的方法是什么呢?谢谢

内存条太垃圾 没空间了