hpc203 / yolov5-dnn-cpp-python

用opencv的dnn模块做yolov5目标检测,包含C++和Python两个版本的程序
512 stars 124 forks source link

undefined symbol: _ZN2cv3dnn14dnn4_v202009083Net7forwardERKNS_12 #20

Open zkailinzhang opened 3 years ago

zkailinzhang commented 3 years ago

cmake .. make 都没报错 opencv4.5.0

./opencv_test_project: symbol lookup error: ./opencv_test_project: undefined symbol: _ZN2cv3dnn14dnn4_v202009083Net7forwardERKNS_12_OutputArrayERKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaISC_EE

hpc203 commented 3 years ago

升级opencv,重新编译运行

---Original--- From: "kailin @.> Date: Wed, Sep 1, 2021 18:36 PM To: @.>; Cc: @.***>; Subject: [hpc203/yolov5-dnn-cpp-python] undefined symbol: _ZN2cv3dnn14dnn4_v202009083Net7forwardERKNS_12 (#20)

cmake .. make 都没报错 opencv4.5.0

./opencv_test_project: symbol lookup error: ./opencv_test_project: undefined symbol: _ZN2cv3dnn14dnn4_v202009083Net7forwardERKNS_12_OutputArrayERKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaISC_EE

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android.