kennethone

Forum Replies Created

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • in reply to: Cannot find Pkg-Config when compiling opencv #21967
    kennethone
    Participant

    Ignore the last 2 lines above, that was for pkg-config not pkg-config-lite.

    Still the question remains, cmake cannot find pkg-config and it cannot build the GTK library

     

    I made sure the sysroot is synchronized, and I included  /usr/share/pkgconfig and /opt/vc  in the synchronized folders.

    Again, both of these folders contain .pc files. Thanks,

    C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/lib/arm-linux-gnueabihf/pkgconfig

    C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/share/pkgconfig

     

    • This reply was modified 6 years, 3 months ago by kennethone.
    • This reply was modified 6 years, 3 months ago by kennethone.
    kennethone
    Participant

    Ok I found that Libpng resides in /usr/lib/arm-Linux-gnueabihf/ but I only had libpng.12.so so I copied it to libpng16.so.16, probably wont use it, not a big deal

    The new errors I’m get

    /home/pi/LightBar: /usr/lib/arm-linux-gnueabihf/libstdc++.so.6: version `CXXABI_1.3.9' not found (required by /lib/libopencv_dnn.so.3.4)
     /home/pi/LightBar: /usr/lib/arm-linux-gnueabihf/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by /lib/libopencv_dnn.so.3.4)
     /home/pi/LightBar: /usr/lib/arm-linux-gnueabihf/libstdc++.so.6: version `CXXABI_1.3.9' not found (required by /lib/libopencv_ml.so.3.4)
     /home/pi/LightBar: /usr/lib/arm-linux-gnueabihf/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by /lib/libopencv_ml.so.3.4)
     /home/pi/LightBar: /usr/lib/arm-linux-gnueabihf/libstdc++.so.6: version `CXXABI_1.3.9' not found (required by /lib/libopencv_objdetect.so.3.4)
     /home/pi/LightBar: /usr/lib/arm-linux-gnueabihf/libstdc++.so.6: version `GLIBCXX_3.4.22' not found (required by /lib/libopencv_objdetect.so.3.4)
     /home/pi/LightBar: /usr/lib/arm-linux-gnueabihf/libstdc++.so.6: version `CXXABI_1.3.9' not found (required by /lib/libopencv_shape.so.3.4)
     /home/pi/LightBar: /usr/lib/arm-linux-gnueabihf/libstdc++.so.6: version `CXXABI_1.3.9' not found (required by /lib/libopencv_stitching.so.3.4)
     /home/pi/LightBar: /usr/lib/arm-linux-gnueabihf/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by /lib/libopencv_stitching.so.3.4)
     /home/pi/LightBar: /usr/lib/arm-linux-gnueabihf/libstdc++.so.6: version `CXXABI_1.3.9' not found (required by /lib/libopencv_superres.so.3.4)
     /home/pi/LightBar: /usr/lib/arm-linux-gnueabihf/libstdc++.so.6: version `CXXABI_1.3.9' not found (required by /lib/libopencv_videostab.so.3.4)
     /home/pi/LightBar: /usr/lib/arm-linux-gnueabihf/libstdc++.so.6: version `CXXABI_1.3.9' not found (required by /lib/libopencv_calib3d.so.3.4)
     /home/pi/LightBar: /usr/lib/arm-linux-gnueabihf/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by /lib/libopencv_calib3d.so.3.4)
     /home/pi/LightBar: /usr/lib/arm-linux-gnueabihf/libstdc++.so.6: version `CXXABI_1.3.9' not found (required by /lib/libopencv_features2d.so.3.4)
     /home/pi/LightBar: /usr/lib/arm-linux-gnueabihf/libstdc++.so.6: version `CXXABI_1.3.9' not found (required by /lib/libopencv_flann.so.3.4)
     /home/pi/LightBar: /usr/lib/arm-linux-gnueabihf/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by /lib/libopencv_flann.so.3.4)
     /home/pi/LightBar: /usr/lib/arm-linux-gnueabihf/libstdc++.so.6: version `CXXABI_1.3.9' not found (required by /lib/libopencv_photo.so.3.4)
     /home/pi/LightBar: /usr/lib/arm-linux-gnueabihf/libstdc++.so.6: version `CXXABI_1.3.9' not found (required by /lib/libopencv_video.so.3.4)
     /home/pi/LightBar: /usr/lib/arm-linux-gnueabihf/libstdc++.so.6: version `CXXABI_1.3.9' not found (required by /lib/libopencv_videoio.so.3.4)
     /home/pi/LightBar: /usr/lib/arm-linux-gnueabihf/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by /lib/libopencv_videoio.so.3.4)
     /home/pi/LightBar: /usr/lib/arm-linux-gnueabihf/libpng16.so.16: version `PNG16_0' not found (required by /lib/libopencv_imgcodecs.so.3.4)
     /home/pi/LightBar: /usr/lib/arm-linux-gnueabihf/libstdc++.so.6: version `CXXABI_1.3.9' not found (required by /lib/libopencv_imgcodecs.so.3.4)
     /home/pi/LightBar: /usr/lib/arm-linux-gnueabihf/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by /lib/libopencv_imgcodecs.so.3.4)
     /home/pi/LightBar: /usr/lib/arm-linux-gnueabihf/libstdc++.so.6: version `CXXABI_1.3.9' not found (required by /lib/libopencv_imgproc.so.3.4)
     /home/pi/LightBar: /usr/lib/arm-linux-gnueabihf/libstdc++.so.6: version `CXXABI_1.3.9' not found (required by /lib/libopencv_core.so.3.4)
     /home/pi/LightBar: /usr/lib/arm-linux-gnueabihf/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by /lib/libopencv_core.so.3.4)
    Child exited with status 1
    GDBserver exiting

    What is missing here?

    • This reply was modified 6 years, 3 months ago by support. Reason: formatting
Viewing 2 posts - 1 through 2 (of 2 total)