Closed Ruturajn closed 2 years ago
I'm on Ubuntu 20.04, and had no problems compiling/installing from source. Here are my exact steps, perhaps you missed one? Also, idk why you are trying picom-8 (9 gives you the rounded corners everyone is so fond of since Jan 2022).
mkdir ~/tmp
cd ~/tmp
git clone https://github.com/yshui/picom.git
cd picom
git submodule update --init --recursive
meson --buildtype=release . build
meson configure -Dprefix=/usr/local/picom build
ninja -C build
sudo ninja -C build install
My variation installs everything under /usr/local/picom so that I can delete the source folder and if I ever want to uninstall, I can just remove one folder rm -rf /usr/local/picom
Hope this helps
Note, prior to building, I installed deps with apt via sudo apt install libxext-dev libxcb1-dev libxcb-damage0-dev libxcb-xfixes0-dev libxcb-shape0-dev libxcb-render-util0-dev libxcb-render0-dev libxcb-randr0-dev libxcb-composite0-dev libxcb-image0-dev libxcb-present-dev libxcb-xinerama0-dev libxcb-glx0-dev libpixman-1-dev libdbus-1-dev libconfig-dev libgl1-mesa-dev libpcre2-dev libpcre3-dev libevdev-dev uthash-dev libev-dev libx11-xcb-dev meson
Thanks, I will try this out, and let you know.
It compiled without any errors this time, I don't know what mistake I was doing before. Thanks.
You might want to mark this issue as resolved @jonaburg
I am closing this issue, since it was resolved. Thanks, again for the help.
Platform
Ubuntu 20.04 amd64, running on a Laptop.
GPU, drivers, and screen setup
NVIDIA GeForce 940MX Driver Version: 510.60.02 | CUDA Version: 11.6
Environment
I am trying to make picom work with
bspwm
, installed alongside gnome.picom version
picom-8
Compilation Error
I have followed the installation guide for building picom from source.
I have installed the dependencies :
libxext-dev libxcb1-dev libxcb-damage0-dev libxcb-xfixes0-dev libxcb-shape0-dev libxcb-render-util0-dev libxcb-render0-dev libxcb-randr0-dev libxcb-composite0-dev libxcb-image0-dev libxcb-present-dev libxcb-xinerama0-dev libxcb-glx0-dev libpixman-1-dev libdbus-1-dev libconfig-dev libgl1-mesa-dev libpcre2-dev libevdev-dev uthash-dev libev-dev libx11-xcb-dev
For the build process I have downloaded the source code from the releases section, and used the following commands, as mentioned in the
README.md
,$ meson --buildtype=release . build
$ ninja -C build
Output from meson,
The Compilation Error,
Can someone please help me with this?
Thanks