Coder Social home page Coder Social logo

Comments (5)

yaceben avatar yaceben commented on September 25, 2024

Do you have libqt5 or something installed (im not on ubuntu but should be easy enough to find...)?

from drbox.

zllshu avatar zllshu commented on September 25, 2024

Do you have libqt5 or something installed (im not on ubuntu but should be easy enough to find...)?
Yeah,actually I find libqt5 in usr/lib/ ,but when i try to use command ldd libcaffe.so.1.0.0-rc3 |grep opencv,then i get the following :
1
but when i open libQT5IopenGL.so, i cant't find reference to qt_5

from drbox.

yaceben avatar yaceben commented on September 25, 2024

Never encountered this, but from https://stackoverflow.com/questions/36128645/error-on-execution-version-qt-5-not-found-required-by
I would suggest trying first

sudo apt-get install qt5-default

and if it still not working, force point your execution by prepending LD_LIBRARY_PATH as such

Issue happens because you have Qt installed in /usr/lib/x86_64-linux-gnu from distro which ld will use by default. To avoid such issues you can compile with -rpath or run with LD_LIBRARY_PATH=/path/to/your/Qt/libs/location to help linker find needed Qt version.

eg. LD_LIBRARY_PATH=/path/to/your/Qt/libs/location make -j<nthreads> ...

or fiddle a bit in the makefiles to point it to the correct qt lib paths

Good luck!

from drbox.

zllshu avatar zllshu commented on September 25, 2024

Thank you very much for your kindness, I will try your method later.

from drbox.

zllshu avatar zllshu commented on September 25, 2024

Never encountered this, but from https://stackoverflow.com/questions/36128645/error-on-execution-version-qt-5-not-found-required-by
I would suggest trying first

sudo apt-get install qt5-default

and if it still not working, force point your execution by prepending LD_LIBRARY_PATH as such

Issue happens because you have Qt installed in /usr/lib/x86_64-linux-gnu from distro which ld will use by default. To avoid such issues you can compile with -rpath or run with LD_LIBRARY_PATH=/path/to/your/Qt/libs/location to help linker find needed Qt version.

eg. LD_LIBRARY_PATH=/path/to/your/Qt/libs/location make -j<nthreads> ...

or fiddle a bit in the makefiles to point it to the correct qt lib paths

Good luck!

it's bad news for me,it don't work for my work any more

from drbox.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.