4JX / L5P-Keyboard-RGB

Cross platform software to control the RGB/lighting of the 4 zone keyboard included in the 2020, 2021, 2022 and 2023 lineup of the Lenovo Legion laptops. Works on Windows and Linux.
GNU General Public License v3.0
308 stars 39 forks source link

Compilation fixes #128

Closed Jalopy-Tech closed 11 months ago

Jalopy-Tech commented 1 year ago

I followed the instructions, but had to do extra steps to compile. To compile from a fresh installation of Ubuntu, I had to install the extra libraries libclang-dev, libxcb-shm0-dev and libusb-1.0-0-dev:

sudo apt-get install -y libclang-dev
sudo apt-get install -y libxcb-shm0-dev
sudo apt-get install -y libusb-1.0-0-dev

I also had to export both variables VCPKG_INSTALLATION_ROOT and VCPKG_ROOT:

export VCPKG_INSTALLATION_ROOT=$HOME/vcpkg
export VCPKG_ROOT=$HOME/vcpkg

My complete steps to compile were as follows: