PSENet icon indicating copy to clipboard operation
PSENet copied to clipboard

ImportError:/PSENet/pse/adaptor.so: undefined symbol: _ZN2cv8fastFreeEPv

Open ganliqiang opened this issue 5 years ago • 5 comments

i meet the same error,but when i remove all opencv and reinstall it ,that mathod still do not work,so i use the python-opencv , it is very slow, so i still want to use c++ version of pse,so who do run this project successfully ?please help me , i appreciated very much ?

ganliqiang avatar Jul 02 '19 02:07 ganliqiang

Have you solved it? I met the same error.

luckydog5 avatar Jul 10 '19 11:07 luckydog5

Have you solved it? I met the same error

yudie433 avatar Aug 05 '19 05:08 yudie433

I solved it as bellow.

  • download opencv3.4.7 and install
    • https://docs.opencv.org/3.4.7/d7/d9f/tutorial_linux_install.html
    • installing, you have to add pkg option -DOPENCV_GENERATE_PKGCONFIG=ON
  • export PKG_CONFIG_PATH='where_to_locate_opencv.pc/build_opencv/unix-install' make for generating adaptor.so

chankyu-choi avatar Aug 05 '19 06:08 chankyu-choi

I solved it as bellow.

  • download opencv3.4.7 and install

    • https://docs.opencv.org/3.4.7/d7/d9f/tutorial_linux_install.html
    • installing, you have to add pkg option -DOPENCV_GENERATE_PKGCONFIG=ON
  • export PKG_CONFIG_PATH='where_to_locate_opencv.pc/build_opencv/unix-install' make for generating adaptor.so

我是在anaconda3下装的opencv3.4.3

jun214384468 avatar Dec 29 '19 04:12 jun214384468

You may not get all the information related to the compilation of opencv, try to run

apt-get install pkg-config

Then delete adaptor.so and recompile

buptlihang avatar Sep 19 '20 08:09 buptlihang