libqxcb load failed.
./rtpose.bin
Got keys from plugin meta data ("xcb")
QFactoryLoader::QFactoryLoader() checking directory path "/home/huangw/workspace/openpose/.build_release/examples/openpose/platforms" ...
loaded library "/home/huangw/anaconda2/plugins/platforms/libqxcb.so"
QLibraryPrivate::loadPlugin failed on "/home/huangw/anaconda2/plugins/platforms/libqxcb.so" : "Cannot load library /home/huangw/anaconda2/plugins/platforms/libqxcb.so: (/home/huangw/anaconda2/lib/libQt5Core.so.5: version `Qt_5.8' not found (required by /home/huangw/Qt5.8.0/5.8/gcc_64/lib/libQt5XcbQpa.so.5))"
This application failed to start because it could not find or load the Qt platform plugin "xcb"
in "".
Available platform plugins are: minimal, offscreen, xcb.
Reinstalling the application may fix this problem.
Aborted (core dumped)
Distributor ID: Ubuntu
Description: Ubuntu 16.04.1 LTS
Release: 16.04
Codename: xenial
CUDA Version 8.0.44
± |master ↓7 U:2 ✗| → nvidia-smi
Wed May 17 16:18:23 2017
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 367.48 Driver Version: 367.48 |
|-------------------------------+----------------------+----------------------+
| GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
|===============================+======================+======================|
| 0 Quadro M5000 Off | 0000:03:00.0 On | Off |
| 38% 34C P8 14W / 150W | 253MiB / 8120MiB | 0% Default |
+-------------------------------+----------------------+----------------------+
+-----------------------------------------------------------------------------+
| Processes: GPU Memory |
| GPU PID Type Process name Usage |
|=============================================================================|
| 0 1160 G /usr/lib/xorg/Xorg 166MiB |
| 0 1923 G compiz 85MiB |
+-----------------------------------------------------------------------------+
± |master ↓7 U:2 ✗| → gcc --version
gcc (Ubuntu 5.4.0-6ubuntu1~16.04.4) 5.4.0 20160609
Copyright (C) 2015 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
I fixed some bugs related with OpenCV with Qt support in later releases (which might be related with your problem). Please, remove this OpenPose version and install the last version (it uses openpose.bin instead of rtpose.bin).
Another thought: Are using OpenCV 3? If so, it might be a OpenCV issue, so if after trying the last OpenPose version, if it does not work yet, can you try any OpenCV visualization example to check your OpenCV visualization is working fine? If not, try: a) Downloading Qt 5, and then re-compiling OpenCV from scratch with Qt support. Or b) Re-compile OpenCV without Qt support. You can always use the OpenCV 2 version from apt-get install libopencv-dev, but I'd say your problem should be easily solved by my previous hints.
If not, it is indicating a Qt 5.8 missing library. Try re-installing Qt 5.8.
Still, I do not understand why your program is asking for anaconda2 paths, how did you install OpenPose? Script? Manual steps? And which Caffe did you use? The default in our 3rdparty folder?
And which version of cuDNN are you using? You did not select one, OpenPose needs it, otherwise you will run out of memory.
Let me know your results!
I had similar issue but as @gineshidalgo99 mentioned in the one of the solutions above, recompiling OpenCV without Qt works for me. Openpose works perfectly fine on my end, finally! Thanks @gineshidalgo99
@ieyer, if you still have problems with openpose I can try to help by recalling the installation steps that I did.
Since some of you were able to fix this issue. I will close it. Thanks.
Other option from Qt + CMake: #271
I had a similar issue just now. Also compiled using my Anaconda3 installation, and the OpenCV installed from there.
The problem happens because the Qt version at my anaconda was different than the one at my linux installation. Which seems the case here as well, although it is pointing to your own Qt installation folder:
(/home/huangw/anaconda2/lib/libQt5Core.so.5: version `Qt_5.8' not found (required by /home/huangw/Qt5.8.0/5.8/gcc_64/lib/libQt5XcbQpa.so.5))"
The solution I found was to add anaconda lib to my LD_LIBRARY_PATH env var:
export LD_LIBRARY_PATH=/home/mauricio/anaconda3/lib:$LD_LIBRARY_PATH