1.method one, but still have some errors:

cd /usr/lib/x86_64-linux-gnu
sudo ln -s ~/anaconda3/lib/libzstd.so.1
sudo ldconfig

sudo ln -s ~/anaconda3/lib/libffi.so.7
sudo ldconfig

sudo ln -s ~/anaconda3/lib/libpcre.so.1
sudo ldconfig

2.method two:ok
在.bashrc里面屏蔽anaconda
在cmake编译opencv时候加参数编译-DBUILD_TIFF=ON

Logo

更多推荐