CatxFish / motion-effect

obs-studio plugin for source item animation
https://obsproject.com/forum/resources/motion-filter.668/
GNU General Public License v2.0
214 stars 38 forks source link

Unable to cmake for installation on Linux #27

Open ctsdownloads opened 4 years ago

ctsdownloads commented 4 years ago

Hoping you can point me in the right direction. I've successfully built OBS from source. It was green across the board, ending with a [100%] Built target obs.

Now, I've spent hours trying to figure out which directories I'm not getting correct for installing this plugin. I'm on PCLinuxOS, a 64bit distro. No matter what I try when running:

cmake -DLIBOBS_INCLUDE_DIR="every-directory-I-could-think-of" -DCMAKE_INSTALL_PREFIX=/usr ..
make -j4

Tried every single every single directory for my home/matt/obs-studio/ build. I have no idea what the correct directory would be. All I get is:

-- Could NOT find Libobs (missing: LIBOBS_LIB) 
CMake Error at external/FindLibObs.cmake:106 (message):
  Could not find the libobs library
Call Stack (most recent call first):
  src/motion-filter/CMakeLists.txt:4 (include)

I've tried the following directories: /home/matt/obs-studio/build/UI/obs-frontend-api /home/matt/obs-studio/build/libobs /usr/include (did this as sudo)

And a few other directories I've forgotten about...

Please, what directory do I use to get this installed on an rpm based 64bit distro?

Thanks :)

pariterre commented 4 years ago

Hi there, I am walking through this project to This is actually easy to solve. On Ubuntu, you don't have to remove the "include(...FindLibObs)" in all the CMakeLists files (since FindLibObs is already provided if installed properly

zenny commented 4 years ago

@ctsdownloads Maybe #31 helps you, too!? Cheers,