Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to cmake for installation on Linux #27

Open
ctsdownloads opened this issue May 7, 2020 · 2 comments
Open

Unable to cmake for installation on Linux #27

ctsdownloads opened this issue May 7, 2020 · 2 comments

Comments

@ctsdownloads
Copy link

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
Copy link

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
Copy link

zenny commented Sep 10, 2020

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants