Error compile with open cv 2.4

Sysprogs forums Forums VisualGDB Error compile with open cv 2.4

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #8303
    khoinguyen
    Participant

    I am a newbie of VisualGDB as well as cross toolchain

    I use a raspberry 3 work on raspian jessie. I am trying to use open cv as this tutorial – step by step

    http://visualgdb.com/tutorials/raspberry/opencv/

    However, when I compile I got bunch of error like this

    1>c:/sysgcc/raspberry/bin/../lib/gcc/arm-linux-gnueabihf/4.9/../../../../arm-linux-gnueabihf/bin/ld.exe : warning : libatk-1.0.so.0, needed by C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/lib/arm-linux-gnueabihf/libopencv_highgui.so.2.4.9, not found (try using -rpath or -rpath-link)

    I search and found this article https://sysprogs.com/w/fixing-rpath-link-issues-with-cross-compilers/

    Then I change my ldconfig on my sysroot to

    /opt/vc/lib

    /lib/arm-linux-gnueabihf
    /usr/lib/arm-linux-gnueabihf

    /usr/local/lib

     

    But I still get the same error
    I hope anyone can help me

    • This topic was modified 8 years, 6 months ago by khoinguyen.
    • This topic was modified 8 years, 6 months ago by khoinguyen.
    #8310
    support
    Keymaster

    Hi,

    Does the “libatk-1.0.so.0” file actually exist in the toolchain’s sysroot? If no, please resynchronize the sysroot via VisualGDB Project Properties.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.