obsproject / obsproject/obs-studio

fails to build with mbedtls 4.1.0

Open
#13,601 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

area/dependency area/outputs
Dominant language
C
Stars
76.4k
Forks
10.2k
Avg merge
4d 23h
Merged PRs (30d)
12

Description

Operating System Info

Other

Other OS

Arch Linux

OBS Studio Version

32.1.2

OBS Studio Version (Other)

No response

OBS Studio Log URL

this is a build-time issue, log below

OBS Studio Crash Log URL

No response

Expected Behavior

build successfully

Current Behavior

the build fails with

/build/obs-studio/src/obs-studio/plugins/obs-outputs/librtmp/rtmp.h:63:10: fatal error: mbedtls/ctr_drbg.h: No such file or directory
   63 | #include <mbedtls/ctr_drbg.h>
      |          ^~~~~~~~~~~~~~~~~~~~
compilation terminated.

obs-mbedtls4-build.log

Steps to Reproduce

build obs-studio with mbedtls version 4.1.0.

Anything else we should know?

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with plugins/obs-outputs/librtmp/rtmp.h and the attached obs-mbedtls4-build.log to trace why the mbedtls/ctr_drbg.h include is unavailable with mbedtls 4.1.0. Reproduce the OBS Studio build on Arch Linux with that dependency version; done means the build completes successfully.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
build-system
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Clearly specified
Newbie friendliness
62/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.