Error reporting of OpenCV and Darknet under Python 2.7
Python 2.7 is run by default during the whole ROS. I don’t know how to adjust it, so Yolo can’t run. The following error is reported
Gtk-ERROR **: GTK+ 2.x symbols detected. Using GTK+ 2.x and GTK+ 3 in the same process is not supported
The solution is to recompile opencv in the following order
cmake -D CMAKE_BUILD_TYPE=RELEASE -D CMAKE_INSTALL_PREFIX=/usr/local -D WITH_TBB=ON -D BUILD_NEW_PYTHON_SUPPORT=ON -D WITH_V4L=ON -D INSTALL_C_EXAMPLES=ON -D INSTALL_PYTHON_EXAMPLES=ON -D BUILD_EXAMPLES=ON -D WITH_QT=ON -D WITH_GTK=ON -D WITH_OPENGL=ON ..
sudo make install
Read More:
- Installing opencv and Linux Makefile:160 : recipe for target ‘all’ failed problem resolution
- CMake Error: Could not find CMAKE_ROOT !!!
- [opencv + openvino] opencv-vino4.5.1 + opencv contrib installation
- Ubuntu 18.04 installation of opencv2.4.13 encountered fatal error. Possible solutions
- VTK installation
- OpenGL Programming Guide 8th Edition 9th Edition vs2015 vs2017 configuration method
- [VTK] cmake compiling VTK
- Visual slam Lesson 6: curve fitting with g2o, error: cmake error at CMakeList.txt (find_ package) By not providing“FindG2O.cmake“
- Vs2017 compiles pcl1.8.1 with vtk8.0 and uses qt5.9.5
- Cmake compile opencv report error qtcore_ DIR QtOpenglDIR QtGui_ Dir ffmpeg loading failed
- Mac clion configuring opencv environment
- “Error in configuration process project files may be invalid” appears during cmake compilation
- Vs2012 compiling PCL dependency library vtk7.0
- Raspberry pie upgrade to Python 3.7.3
- How to Use paho.mqtt.cpp
- [VTK] vtk8.2.0 + vs2015 + win10 compilation and configuration
- Cmake error on qt5core
- Vtk8.2.0 (32bit + 64bit) compilation and installation test (win10 + vs2017 + Qt5)
- How to Solve Ubuntu18 Compile Kalibr Error (Various Errors)
- CMake Error: The source directory “opencv_install_catalog“ does not appear to contain CMakeLists.txt.