Closed zenny closed 3 years ago
In line with the StreamFX build instructions, I have also tried with the following command without success:
$ cmake -H. -B"build/flux" -G"Ninja" -DOBS_DOWNLOAD=ON -DCMAKE_PACKAGE_NAME=motion-effect -DCMAKE_PACKAGE_PREFIX="build/package" -DCMAKE_INSTALL_PREFIX="build/distrib" -DCMAKE_CXX_COMPILER=g++ -DCMAKE_C_COMPILER=gcc -DCMAKE_SKIP_RPATH="YES" -DLIBOBS_INCLUDE_DIR="./obs-studio/"
-- Found Libobs: /usr/bin/../lib64/libobs.so
CMake Error at external/FindLibObs.cmake:98 (include):
include could not find load file:
/home/zenny/Downloads/obs/motion-effect-build/motion-effect/obs-studio/../cmake/external/ObsPluginHelpers.cmake
Call Stack (most recent call first):
src/motion-filter/CMakeLists.txt:4 (include)
CMake Error at external/FindLibObs.cmake:98 (include):
include could not find load file:
/home/zenny/Downloads/obs/motion-effect-build/motion-effect/obs-studio/../cmake/external/ObsPluginHelpers.cmake
Call Stack (most recent call first):
src/motion-transition/CMakeLists.txt:4 (include)
-- Configuring incomplete, errors occurred!
See also "/home/zenny/Downloads/obs/motion-effect-build/motion-effect/build/flux/CMakeFiles/CMakeOutput.log".
The related log is posted in http://ix.io/2x2H
Thanks!
[Please see #31 for a solution]
Hi,
I am trying to build the motion-effect in voidlinux which has similar directory-structure like ubuntu.
There is a confusion about some of the flags described to compile and build with cmake.
cmake -DLIBOBS_INCLUDE_DIR="<libobs path>" -DCMAKE_INSTALL_PREFIX=/usr ..
1st Try
Directory structure: http://ix.io/2x1y
I have downloaded the
obs-studio
master in the same directory which holdsmotion-effect
plugin. The directory structure looks like in http://ix.io/2x1y.When I tried to compile, it gives an error:
2nd Try
Directory structure: http://ix.io/2x1A
Alternatively, I have moved the
obs-studio
source repo inside themotion-effect
source directory as appeared in http://ix.io/2x1A, but the error remained the same.When checked in command line, the reportedly 'missing' file
ObsPluginHelpers.cmake
do exist!?3rd Try
Directory structure: http://ix.io/2x1A
In pursuant to https://github.com/CatxFish/motion-effect/issues/23#issuecomment-604191545, I even tried without success:
I have also changed to
-DLIBOBS_INCLUDE_DIR="../obs-studio/"
in all three tries, but with the same error output!Error Log
Relevant
CMakeOutput.log
is posted in http://ix.io/2x1E.Any clue on what exactly should be the defined against
LIBOBS_LIB
andLIBOBS_INCLUDE_DIR
in linux? Thanks in advance.Cheers and stay safe,