ma3uk / obs-qsv-onevpl

obs-qsv11 plugin with oneVPL support
44 stars 1 forks source link

Unable to build on Linux #14

Closed RoboMico closed 1 year ago

RoboMico commented 1 year ago

I want to use this plugin on Linux but found no pre-built binaries, so I decided to build manually. But CMake throws this error when trying to run cmake . in sources:

CMake Warning (dev) at CMakeLists.txt:8 (project):
  cmake_minimum_required() should be called prior to this top-level project()
  call.  Please see the cmake-commands(7) manual for usage documentation of
  both commands.
This warning is for project developers.  Use -Wno-dev to suppress it.

-- The C compiler identification is GNU 13.2.1
-- The CXX compiler identification is GNU 13.2.1
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Warning (dev) at CMakeLists.txt:16 (target_sources):
  Policy CMP0076 is not set: target_sources() command converts relative paths
  to absolute.  Run "cmake --help-policy CMP0076" for policy details.  Use
  the cmake_policy command to set the policy and suppress this warning.

  An interface source of target "libmfx" has a relative path.
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Error at CMakeLists.txt:150 (setup_plugin_target):
  Unknown CMake command "setup_plugin_target".

CMake Warning (dev) in CMakeLists.txt:
  No cmake_minimum_required command is present.  A line of code such as

    cmake_minimum_required(VERSION 3.27)

  should be added at the top of the file.  The version specified may be lower
  if you wish to support older CMake versions for this project.  For more
  information run "cmake --help-policy CMP0000".
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Configuring incomplete, errors occurred!

Are there any dependencies missing or something else goes wrong?

Environment:

ma3uk commented 1 year ago

In the near future (1-2 days), the source code with support for Linux systems will be posted in the dev branch

RoboMico commented 1 year ago

OK, Thanks :)

BrycensRanch commented 1 year ago

In the near future (1-2 days), the source code with support for Linux systems will be posted in the dev branch

image

ma3uk commented 1 year ago

In the near future (1-2 days), the source code with support for Linux systems will be posted in the dev branch

image

The current version in main branch supports Linux build. Ready-made assemblies for Linux are not supplied, the assembly must be performed independently