Open zllshu opened 5 years ago
it's a strange question while I make the project.I spent a lot of time debugging。But there are almost no corresponding answers to the online answers.So I have to ask you for help, can you give me some advice?
Do you have libqt5 or something installed (im not on ubuntu but should be easy enough to find...)?
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 :
but when i open libQT5IopenGL.so, i cant't find reference to qt_5
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!
Thank you very much for your kindness, I will try your method later.
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