Closed chenpei2 closed 3 years ago
cc @Neumann-A
It seems that the package name in the qt documentation is wrong. Anyway, I installed libxcb-xinerama0-dev with this command:
apt-get install libxcb-xinerama0-dev
and problem is solved.
Should we fix the required package name?
not sure, but I installed a full list of packages below to build qt5-base:
libx11-dev
libx11-xcb-dev
libxext-dev
libxfixes-dev
libxi-dev
libxrender-dev
libxcb1-dev
libxcb-glx0-dev
libxcb-keysyms1-dev
libxcb-image0-dev
libxcb-shm0-dev
libxcb-icccm4-dev
libxcb-sync0-dev
libxcb-xfixes0-dev
libxcb-shape0-dev
libxcb-randr0-dev
libxcb-render-util0-dev
libxcd-xinerama-dev (should be libxcb-xinerama0-dev on ubuntu 18.04)
libxkbcommon-dev
libxkbcommon-x11-dev
@JackBoosY
I can confirm that installing the above packages helped. BUT on Ubunutu 20.04:
libxcb-sync0-dev is just libxcb-sync-dev
libxcd-xinerama-dev is libxcb-xinerama0-dev
I'm facing the exact same issue, and nothing here solved the issue ! Any suggestions ? Note: I'm using ubuntu 16.04 !
@MohamadHalwani See https://github.com/microsoft/vcpkg/issues/16486#issuecomment-789374352
sudo apt-get install libx11- sudo apt-get install libx11
sudo apt-get install libxcb- sudo apt-get install libxcb
sudo apt-get install libxkbcommon-devsudo sudo apt-get install libxkbcommon-x11-dev
sudo apt-get install libx11- sudo apt-get install libx11
sudo apt-get install libxcb- sudo apt-get install libxcb
sudo apt-get install libxkbcommon-devsudo sudo apt-get install libxkbcommon-x11-dev
You are the man, thank you very much
So how can I install this dependences in rhel (my system version is 9.1)?
Described here
sudo apt-get install build-essential perl python3 git
sudo apt-get install '^libxcb.*-dev' libx11-xcb-dev libglu1-mesa-dev libxrender-dev libxi-dev libxkbcommon-dev libxkbcommon-x11-dev
sudo apt-get install libx11- sudo apt-get install libx11
sudo apt-get install libxcb- sudo apt-get install libxcb
sudo apt-get install libxkbcommon-devsudo sudo apt-get install libxkbcommon-x11-dev
sudo apt-get install libxkbcommon-dev not sudo apt-get install libxkbcommon-devsudo
You can use my example.
rm config.cache .qmake.cache run ./configure again
Host Environment
To Reproduce Steps to reproduce the behavior:
./vcpkg install qt5-base:x64-linux
Failure logs
Additional context I have installed all the needed libs according to this page:https://doc.qt.io/qt-5/linux-requirements.html , except libxcd-xinerama-dev, which is unable to locate on my machine. Is there anything to do with this lib?