libdisplaydevice is a WIP library that provides a common interface for interacting with display devices. It is intended to be used by applications that need to interact with displays, such as screen capture software, remote desktop software, and video players.
Initial support is planned for Windows, but could be expanded to other platforms in the future.
Ensure git is installed and run the following:
git clone https://github.com/lizardbyte/libdisplaydevice.git --recurse-submodules
cd libdisplaydevice && mkdir build && cd build
First you need to install MSYS2, then startup "MSYS2 UCRT64" and execute the following codes.
- Update all packages:
pacman -Suy
- Install dependencies:
pacman -S \ mingw-w64-ucrt-x86_64-binutils \ mingw-w64-ucrt-x86_64-cmake \ mingw-w64-ucrt-x86_64-ninja \ mingw-w64-ucrt-x86_64-toolchain
Attention!
Ensure you are in the build directory created during the clone step earlier before continuing.
cmake -DCMAKE_BUILD_TYPE:STRING=Debug -G Ninja ..
ninja
tests\test_libdisplaydevice.exe
Our support methods are listed in our LizardByte Docs.