obs-streamlink icon indicating copy to clipboard operation
obs-streamlink copied to clipboard

Building on ubuntu fails

Open ethaniel opened this issue 1 year ago • 1 comments

Hello!

I am trying to build obs-streamlink on Ubuntu and getting the following error:

CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
Python3Gen
    linked by target "obs-streamlink" in directory /tmp/obs-streamlink-0.3.1

-- Configuring incomplete, errors occurred!
See also "/tmp/obs-streamlink-0.3.1/CMakeFiles/CMakeOutput.log".

Can you help resolve this? Thank you.

My commands are:

sudo apt install libavfilter-dev libavdevice-dev python3.8-dev
cd /tmp
wget -O obs-streamlink.tar.gz https://github.com/dd-center/obs-streamlink/archive/refs/tags/0.3.1.tar.gz
tar zvfx obs-streamlink.tar.gz
cd obs-streamlink-*
cmake -DGLOBAL_INSTALLATION=true .

ethaniel avatar Sep 21 '22 20:09 ethaniel

Well... Currently this project is Windows-only since it used several Windows-only features (namely adding dll directory at runtime and delaying dll loading). It's those features that prevented us to port this project to other platforms. I'm thinking about replacing all DLL calls to pure-dynamic resolving (e.g. via dlopen/LoadLibrary and dlsym/GetProcAddress``), instead of linking against a stub and have the OS find the DLL file.

cqjjjzr avatar Sep 21 '22 23:09 cqjjjzr