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

Building on ubuntu fails #31

Open
ethaniel opened this issue Sep 21, 2022 · 1 comment
Open

Building on ubuntu fails #31

ethaniel opened this issue Sep 21, 2022 · 1 comment

Comments

@ethaniel
Copy link

ethaniel commented Sep 21, 2022

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 .
@cqjjjzr
Copy link
Member

cqjjjzr commented Sep 21, 2022

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 cqjjjzr mentioned this issue Nov 29, 2022
4 tasks
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

2 participants