-
-
Notifications
You must be signed in to change notification settings - Fork 4
Build
Norihiro Kamae edited this page Aug 17, 2022
·
1 revision
- Install these libraries.
libpango1.0-dev
libpng-dev
- Install obs-studio and have
libobs.cmake
. - Configure plugin.
cmake \
-D CMAKE_INSTALL_PREFIX=/usr \
-D CMAKE_INSTALL_LIBDIR=/usr/lib \
-D LINUX_PORTABLE=OFF \
..
You might need to adjust CMAKE_INSTALL_LIBDIR
. CMAKE_INSTALL_LIBDIR
should be /usr/lib64
for Fedora.
4. Build and install
make -j3
make install
- Install these packages.
brew install pkg-config pango cairo libpng
- Install obs-studio and have
libobs.cmake
. - Configure plugin.
cmake -S . -B build -G Ninja \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DCMAKE_PREFIX_PATH="$HOME/Library/Application Support/obs-studio/plugins/"
- Build and install.
cmake --build build --config RelWithDebInfo
cmake --install build --config RelWithDebInfo