Gtk-ERROR **: GTK+ 2.x symbols detected. Using GTK+ 2.x and GTK+ 3 in the same process is not suppor

Gtk-ERROR **: GTK+ 2.x symbols detected. Using GTK+ 2.x and GTK+ 3 in the same process is not supported

cmake -D CMAKE_BUILD_TYPE=Release -D CMAKE_INSTALL_PREFIX=/usr/local -DWITH_GTK_2_X=ON ..
make -j4
sudo make install

用这个参数重新编译一下opencv-3.4.0

猜你喜欢

转载自blog.csdn.net/qq_21950671/article/details/107469264