You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I installed opencv library version 4.5.0-pre on raspberry pi 4.
But I have errors:
/usr/bin/ld: /tmp/ccjurhlf.o: неопределённая ссылка на символ «_ZN2cv8imencodeERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS_11_InputArrayERSt6vectorIhSaIhEERKSB_IiSaIiEE»
/usr/bin/ld: //usr/local/lib/libopencv_imgcodecs.so.4.5: error adding symbols: в командной строке не указан DSO
collect2: error: ld returned 1 exit status
I solved this problem by replacing CV_ * with cv :: in the file according to this recommendation. Also I used the following command to compile.
I installed opencv library version 4.5.0-pre on raspberry pi 4.
But I have errors:
/usr/bin/ld: /tmp/ccjurhlf.o: неопределённая ссылка на символ «_ZN2cv8imencodeERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS_11_InputArrayERSt6vectorIhSaIhEERKSB_IiSaIiEE» /usr/bin/ld: //usr/local/lib/libopencv_imgcodecs.so.4.5: error adding symbols: в командной строке не указан DSO collect2: error: ld returned 1 exit status
I solved this problem by replacing CV_ * with cv :: in the file according to this recommendation. Also I used the following command to compile.
The text was updated successfully, but these errors were encountered: