Git Product home page Git Product logo

obs-deps's Introduction

obs-deps

This repository is a collection of build scripts to build OBS dependencies for macOS and Windows.

Windows

OBS dependencies for Windows can be built via the Build-Dependencies.ps1 PowerShell script. For best compatibility, it is advised to use a recent version of PowerShell Core (pwsh). Older versions of PowerShell might work, but support for these is not provided.

macOS

OBS dependencies for macOS can be built via the build-deps.zsh Zsh-script. Zsh is the default interactive shell on macOS starting with macOS 10.15, the minimum version supported for building OBS. Both Intel and Apple Silicon are supported.

FFmpeg

FFmpeg can be built via the build-ffmpeg.zsh Zsh-script. FFmpeg can be compiled natively on macOS and Linux, and cross-compiled on Linux for Windows. In the latter case, specify a Windows-based target (e.g., windows-x64) to enable cross-compilation. On macOS, both Intel and Apple Silicon are supported.

Qt

Qt can be built via the build-qt.zsh Zsh-script. Qt can be compiled natively on macOS for Intel and Apple Silicon.

More Information

Further details can be found in the Wiki Pages.

Contributing

  • Add/edit separate build scripts in the appropriate subdirectory (e.g., deps.ffmpeg for FFmpeg and associated build dependencies)
  • Ensure that either a valid Git commit hash is specified or a checksum file for a downloaded artifact has been placed in the checksums subdirectory
  • If patches are necessary, ensure those are placed in a directory with the same name of the dependency inside the patches directory
  • Name patches numerically padded to 4 digits (e.g., 0001) and with a descriptive name

obs-deps's People

Contributors

absolucy avatar admshao avatar chensiyy avatar ddrboxman avatar derrod avatar dodgepong avatar falktx avatar fenrirthviti avatar flaeri avatar glikely avatar gxalpha avatar nickzman avatar obs-ci avatar patthemav avatar paulh-aja avatar pkviet avatar rytoex avatar scg82 avatar sean-der avatar thyintel avatar tommyvct avatar tytan652 avatar wizardcm avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

obs-deps's Issues

fail to build carla x64. fatal error C1083: Cannot open include file: 'serd/serd.h':

Operating System Info

Windows 11

Other OS

No response

OBS Studio Version

30.0.2

OBS Studio Version (Other)

No response

OBS Studio Log URL

no

OBS Studio Crash Log URL

No response

Expected Behavior

Build carla ok

Current Behavior

     Initializing build

HEAD is now at cb7f1a975 cmake: try another mac approach
carla => Checked out commit cb7f1a975790dda458481e88de0a29c433b706c9 on branch master
carla => Configure (x64)
Not searching for unused variables given on the command line.
-- Checking for module 'fluidsynth'
-- Package 'fluidsynth', required by 'virtual:world', not found
-- Checking for module 'sndfile'
-- Package 'sndfile', required by 'virtual:world', not found
-- Configuring done (8.8s)
-- Generating done (1.1s)
-- Build files have been written to: C:/tools/alpaca/obs/obs-deps/windows_build_temp/Carla/build_x64
carla => Build (x64)
MSBuild version 17.7.2+d6990bcfa for .NET Framework

carla-audio-decoder.vcxproj -> C:\tools\alpaca\obs\obs-deps\windows_build_temp\Carla\build_x64\Release\carla-audio-de
coder.lib
carla-jackbridge.vcxproj -> C:\tools\alpaca\obs\obs-deps\windows_build_temp\Carla\build_x64\Release\carla-jackbridge.
lib
carla-lilv_serd.vcxproj -> C:\tools\alpaca\obs\obs-deps\windows_build_temp\Carla\build_x64\Release\carla-lilv_serd.li
b
sord.c
C:\tools\alpaca\obs\obs-deps\windows_build_temp\Carla\cmake..\source\modules\lilv\sord-0.16.0\sord/sord.h(28,1): fatal
error C1083: Cannot open include file: 'serd/serd.h': No such file or directory [C:\tools\alpaca\obs\obs-deps\windows
_build_temp\Carla\build_x64\carla-lilv_sord.vcxproj]
sratom.c
C:\tools\alpaca\obs\obs-deps\windows_build_temp\Carla\cmake..\source\modules\lilv\sratom-0.6.0\sratom/sratom.h(29,1):
fatal error C1083: Cannot open include file: 'serd/serd.h': No such file or directory [C:\tools\alpaca\obs\obs-deps\wi
ndows_build_temp\Carla\build_x64\carla-lilv_sratom.vcxproj]
pthreads4w.vcxproj -> C:\tools\alpaca\obs\obs-deps\windows_build_temp\Carla\build_x64\Release\pthreads4w.lib
carla-native-plugins.vcxproj -> C:\tools\alpaca\obs\obs-deps\windows_build_temp\Carla\build_x64\Release\carla-native-
plugins.lib
carla-rtmempool.vcxproj -> C:\tools\alpaca\obs\obs-deps\windows_build_temp\Carla\build_x64\Release\carla-rtmempool.li
b
carla-sfzero.vcxproj -> C:\tools\alpaca\obs\obs-deps\windows_build_temp\Carla\build_x64\Release\carla-sfzero.lib
carla-water.vcxproj -> C:\tools\alpaca\obs\obs-deps\windows_build_temp\Carla\build_x64\Release\carla-water.lib
carla-ysfx.vcxproj -> C:\tools\alpaca\obs\obs-deps\windows_build_temp\Carla\build_x64\Release\carla-ysfx.lib
carla-zita-resampler.vcxproj -> C:\tools\alpaca\obs\obs-deps\windows_build_temp\Carla\build_x64\Release\carla-zita-re
sampler.lib
carla-water-files.vcxproj -> C:\tools\alpaca\obs\obs-deps\windows_build_temp\Carla\build_x64\Release\carla-water-file
s.lib

[OBS-DEPS] Error(s) occurred:

Write-Error: C:\tools\alpaca\obs\obs-deps\Build-Dependencies.ps1:238
Line |
238 | Build-Main
| ~~~~~~~~~~
| Error during build step Build - cmake --build build_x64 --config Release exited with non-zero code 1.

Steps to Reproduce

  1. git clone https://github.com/obsproject/obs-deps
  2. enter obs-deps
    3..\Build-Dependencies.ps1
    ...

Anything else we should know?

No response

build script for macos-01.sh finishes with errors

build step macos-01 finishes with errors

Platform

Operating system and version:

Mac OSX 10.15
OBS Studio version: n/a

Expected Behavior

build step should finish without errors

Current Behavior

gcc -I/tmp/obsdeps/include -Wall -W -I. -I/usr/local/opt/qt/include -c -o cleanup.o ../../CCache/cleanup.c
In file included from ../../CCache/execute.c:19:
In file included from ../../CCache/mdfour.c../../CCache/ccache.h::20161:
:5: ../../CCache/ccache.h:161error:: 5: errorexpected: parameter declaratorexpected
parameter declarator
int snprintf(char *,size_t ,const char *, ...);
int snprintf(char *,size_t ,const char *, ...);
^
^
/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/secure/_stdio.h/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/secure/_stdio.h::5757::3939:: notenote: : expandedexpanded fromfrom macromacro

        'snprintf''snprintf'

__builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), VA_ARGS)
^ __builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), VA_ARGS)

                                  ^

In file included from ../../CCache/execute.c:19:
In file included from ../../CCache/mdfour.c../../CCache/ccache.h::20161:
:5../../CCache/ccache.h:: 161:5error:: expectederror : ')'
expected ')'/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/secure/_stdio.h
:57:39:/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/secure/_stdio.h :57:note39: : expanded fromnote : macro
expanded 'snprintf'from
macro
'snprintf'
__builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), VA_ARGS)
^
__builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), VA_ARGS)
../../CCache/ccache.h ^:
161:5:In file included from ../../CCache/ccache.c../../CCache/ccache.h::24note161:
: :5to:match this '('
/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/secure/_stdio.h:57:28: note: expanded from macro
'snprintf'
__builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), VA_ARGS)
^
[1m../../CCache/ccache.h:161:5: error: expected parameter declarator
In file included from ../../CCache/execute.c:19:
../../CCache/ccache.h:161:5: error: note: conflicting totypes int snprintf(char *,size_t ,const char *, ...);matchfor
'__builtin___snprintf_chk'this ^

'('
/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/secure/_stdio.h:57:28/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/secure/_stdio.h:: int snprintf(char *,size_t ,const char *, ...);57
:39note:: ^
expanded notefrom: macro/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/secure/_stdio.hexpanded
: 57from'snprintf': 3macro
:
'snprintf'note
: expanded from macro
'snprintf'
__builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), VA_ARGS)
^
__builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), VA_ARGS)
^
In file included from ../../CCache/hash.c:22:
../../CCache/ccache.h:161:5: error: expected parameter declarator
__builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), VA_ARGS)
^
int snprintf(char ,size_t ,const char , ...);
^
/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/secure/_stdio.h:57:39: note: expanded from macro
'snprintf'
../../CCache/ccache.h:161:5: note: __builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), VA_ARGS)'__builtin___snprintf_chk'
is ^
a builtin with In file included from type../../CCache/hash.c: 22'int:
(char../../CCache/ccache.h :
,161 :unsigned5 :long, int,error
: unsigned expectedlong, ')'const In file included from
char../../CCache/ccache.c :
,24 /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/secure/_stdio.h:
...)':57../../CCache/ccache.h
::39161:: 5/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/secure/_stdio.h:: 57note:: 3error:expanded: from expectedmacronote
: ')' 'snprintf'expanded

from macro/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/secure/_stdio.h
: 57'snprintf':39
: note: expanded from macro
'snprintf' __builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), VA_ARGS)

                                  ^

__builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), VA_ARGS)../../CCache/ccache.h
:161 ^:
5: note: __builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), VA_ARGS)to
match ^
this '('
/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/secure/_stdio.h../../CCache/ccache.h::57161::285:: notenote: : expandedto frommatch macrothis
'(''snprintf'

/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/secure/_stdio.h:57:28: note: expanded from macro
'snprintf'
__builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), VA_ARGS)
^
__builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), VA_ARGS)
^
In file included from ../../CCache/hash.c:22:
../../CCache/ccache.h:161:5: error: conflicting types for '__builtin___snprintf_chk'
int snprintf(char *,size_t ,const char *, ...);
^
/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/secure/_stdio.h:57:3:In file included from ../../CCache/ccache.c:24note:
: ../../CCache/ccache.hexpanded: 161from: 5macro:
'snprintf'error
: conflicting types for '__builtin___snprintf_chk'
In file included from __builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), VA_ARGS)
../../CCache/mdfour.c: ^20
:
int snprintf(char *,size_t ,const char *, ...);
../../CCache/ccache.h ^:
161:5: /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/secure/_stdio.h:error57: :3:conflicting types notefor: '__builtin___snprintf_chk'expanded
from macro
'snprintf'
../../CCache/ccache.h:161:5int snprintf(char *,size_t ,const char *, ...);:
^note
: __builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), VA_ARGS)
^
../../CCache/ccache.h:161:5: note: '__builtin___snprintf_chk' is a builtin with type 'int (char , unsigned long, int,
unsigned long, const char/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/secure/_stdio.h :
,57 :...)'3:
note: /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/secure/_stdio.h:57expanded: 3from: macro
note'snprintf':
expanded from macro
'snprintf'
__builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), VA_ARGS)
^
__builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), VA_ARGS)
^
../../CCache/ccache.h:161:5: note: '__builtin___snprintf_chk' is a builtin with type 'int (char *, unsigned long, int,
unsigned long, const char *, ...)'
/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/secure/_stdio.h:57:3: note: expanded from macro
'snprintf'
__builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), VA_ARGS)
^
3 errors generated.
'__builtin___snprintf_chk' is a builtin with type 'int (char *, unsigned long, int,
unsigned long, const char *, ...)'
/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/secure/_stdio.h:57:3: note: expanded from macro
'snprintf'
__builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), VA_ARGS)
^
../../CCache/ccache.c:126:32: error: use of undeclared identifier 'PROGRAM_NAME'
char *p = find_executable(e, MYNAME);
^
../../CCache/ccache.h:54:16: note: expanded from macro 'MYNAME'
#define MYNAME PROGRAM_NAME
^
3 errors generated.
In file included from ../../CCache/args.c:21:
../../CCache/ccache.h:161:5: error: expected parameter declarator
int snprintf(char *,size_t ,const char *, ...);
^
/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/secure/_stdio.h:57:39: note: expanded from macro
'snprintf'
__builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), VA_ARGS)
^
In file included from ../../CCache/args.c:21:
../../CCache/ccache.h:161:5: error: expected ')'
/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/secure/_stdio.h:57:39: note: expanded from macro
'snprintf'
__builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), VA_ARGS)
^
../../CCache/ccache.h:161:5: note: to match this '('
/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/secure/_stdio.h:57:28: note: expanded from macro
'snprintf'
__builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), VA_ARGS)
^
In file included from ../../CCache/args.c:21:
../../CCache/ccache.h:161:5: error: conflicting types for '__builtin___snprintf_chk'
int snprintf(char *,size_t ,const char *, ...);
^
/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/secure/_stdio.h:57:3: note: expanded from macro
'snprintf'
__builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), VA_ARGS)
^
../../CCache/ccache.h:161:5: note: '__builtin___snprintf_chk' is a builtin with type 'int (char *, unsigned long, int,
unsigned long, const char *, ...)'
/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/secure/_stdio.h:57:3: note: expanded from macro
'snprintf'
__builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), VA_ARGS)
^
In file included from ../../CCache/util.c:19:
../../CCache/ccache.h:161:5: error: expected parameter declarator
int snprintf(char *,size_t ,const char *, ...);
^
/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/secure/_stdio.h:57:39: note: expanded from macro
'snprintf'
make[1]: *** [execute.o] Error 1
__builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), VA_ARGS)
^
In file included from ../../CCache/util.c:19:
../../CCache/ccache.h:161:5: make[1]: *** Waiting for unfinished jobs....
error: expected ')'
/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/secure/_stdio.h:57:39: note: expanded from macro
'snprintf'
__builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), VA_ARGS)
^
../../CCache/ccache.h:161:5: note: to match this '('
/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/secure/_stdio.h:57:28: note: expanded from macro
'snprintf'
__builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), VA_ARGS)
^
In file included from ../../CCache/util.c:19:
../../CCache/ccache.h:161:5: error: conflicting types for '__builtin___snprintf_chk'
int snprintf(char *,size_t ,const char *, ...);
^
/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/secure/_stdio.h:57:3: note: expanded from macro
'snprintf'
__builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), VA_ARGS)
^
../../CCache/ccache.h:161:5: note: '__builtin___snprintf_chk' is a builtin with type 'int (char *, unsigned long, int,
unsigned long, const char *, ...)'
/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/secure/_stdio.h:57:3: note: expanded from macro
'snprintf'
__builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), VA_ARGS)
^
3 errors generated.
3 errors generated.
make[1]: *** [hash.o] Error 1
../../CCache/ccache.c:772:19: error: use of undeclared identifier 'PROGRAM_NAME'
if (strcmp(base, MYNAME) == 0) {
^
../../CCache/ccache.h:54:16: note: expanded from macro 'MYNAME'
#define MYNAME PROGRAM_NAME
^
../../CCache/ccache.c:792:45: 3error error: s generated.
use of undeclared identifier 'PROGRAM_NAME'
In file included from ../../CCache/stats.c orig_args->argv[0] = find_executable(base, MYNAME);:
25:
^
../../CCache/ccache.h:161:5../../CCache/ccache.h:: 54:16error:: note: expectedexpanded parameterfrom declaratormacro
'MYNAME'
#define MYNAME PROGRAM_NAME
^
int snprintf(char *,size_t ,const char *, ...);
^
/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/secure/_stdio.h:57:39: note: expanded from macro
'snprintf'
__builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), VA_ARGS)
^
In file included from ../../CCache/stats.c:25:
../../CCache/ccache.h:161:5: error: expected ')'
/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/secure/_stdio.h:57:39: note: expanded from macro
'snprintf'
__builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), VA_ARGS)
^
../../CCache/ccache.h:161:5: note: to match this '('
/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/secure/_stdio.h:57:28: note: expanded from macro
'snprintf'
__builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), VA_ARGS)
^
In file included from ../../CCache/stats.c:25:
../../CCache/ccache.h:161:5: error: conflicting types for '__builtin___snprintf_chk'
int snprintf(char *,size_t ,const char *, ...);
^
/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/secure/_stdio.h:57:3: note: expanded from macro
'snprintf'
__builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), VA_ARGS)
^
../../CCache/ccache.h:161:5: note: '__builtin___snprintf_chk' is a builtin with type 'int (char *, unsigned long, int,
unsigned long, const char *, ...)'
/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/secure/_stdio.h:57:3: note: expanded from macro
'snprintf'
__builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), VA_ARGS)
^
make[1]: *** [mdfour.o] Error 1
make[1]: *** [args.o] Error 1
make[1]: *** [util.o] Error 1
3 errors generated.
../../CCache/ccache.c:1121:32: error: use of undeclared identifier 'PROGRAM_NAME'
char *p = find_executable(e, MYNAME);
^
../../CCache/ccache.h:54:16: note: expanded from macro 'MYNAME'
#define MYNAME PROGRAM_NAME
^
../../CCache/ccache.c:1200:74: error: use of undeclared identifier 'PROGRAM_NAME'
printf("%s, a compiler cache including support for SWIG. Version %s\n", MYNAME, CCACHE_VERSION);
^
../../CCache/ccache.h:54:16: note: expanded from macro 'MYNAME'
#define MYNAME PROGRAM_NAME
^
../../CCache/ccache.c:1204:14: error: expected ')'
printf("\t" MYNAME " [options]\n");
^
../../CCache/ccache.h:54:16: note: expanded from macro 'MYNAME'
#define MYNAME PROGRAM_NAME
^
../../CCache/ccache.c:1204:8: note: to match this '('
printf("\t" MYNAME " [options]\n");
^
../../CCache/ccache.c:1205:14: error: expected ')'
printf("\t" MYNAME " compiler [compile options]\n");
^
../../CCache/ccache.h:54:16: note: expanded from macro 'MYNAME'
#define MYNAME PROGRAM_NAME
^
../../CCache/ccache.c:1205:8: note: to match this '('
printf("\t" MYNAME " compiler [compile options]\n");
^
make[1]: *** [stats.o] Error 1
../../CCache/ccache.c:1235:30: error: use of undeclared identifier 'PROGRAM_NAME'
printf("%s version %s\n", MYNAME, CCACHE_VERSION);
^
../../CCache/ccache.h:54:16: note: expanded from macro 'MYNAME'
#define MYNAME PROGRAM_NAME
^
../../CCache/ccache.c:1359:32: error: use of undeclared identifier 'PROGRAM_NAME'
if (strlen(argv[0]) >= strlen(MYNAME) &&
^
../../CCache/ccache.h:54:16: note: expanded from macro 'MYNAME'
#define MYNAME PROGRAM_NAME
^
../../CCache/ccache.c:1360:48: error: use of undeclared identifier 'PROGRAM_NAME'
strcmp(argv[0] + strlen(argv[0]) - strlen(MYNAME), MYNAME) == 0) {
^
../../CCache/ccache.h:54:16: note: expanded from macro 'MYNAME'
#define MYNAME PROGRAM_NAME
^
../../CCache/ccache.c:1360:57: error: use of undeclared identifier 'PROGRAM_NAME'
strcmp(argv[0] + strlen(argv[0]) - strlen(MYNAME), MYNAME) == 0) {
^
../../CCache/ccache.h:54:16: note: expanded from macro 'MYNAME'
#define MYNAME PROGRAM_NAME
^
14 errors generated.
In file included from ../../CCache/cleanup.c:22:
../../CCache/ccache.h:161:5: error: expected parameter declarator
int snprintf(char *,size_t ,const char *, ...);
^
/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/secure/_stdio.h:57:39: note: expanded from macro
'snprintf'
__builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), VA_ARGS)
^
In file included from ../../CCache/cleanup.c:22:
../../CCache/ccache.h:161:5: error: expected ')'
/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/secure/_stdio.h:57:39: note: expanded from macro
'snprintf'
__builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), VA_ARGS)
^
../../CCache/ccache.h:161:5: note: to match this '('
/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/secure/_stdio.h:57:28: note: expanded from macro
'snprintf'
__builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), VA_ARGS)
^
In file included from ../../CCache/cleanup.c:22:
../../CCache/ccache.h:161:5: error: conflicting types for '__builtin___snprintf_chk'
int snprintf(char *,size_t ,const char *, ...);
^
/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/secure/_stdio.h:57:3: note: expanded from macro
'snprintf'
__builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), VA_ARGS)
^
../../CCache/ccache.h:161:5: note: '__builtin___snprintf_chk' is a builtin with type 'int (char *, unsigned long, int,
unsigned long, const char *, ...)'
/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/secure/_stdio.h:57:3: note: expanded from macro
'snprintf'
__builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), VA_ARGS)
^
3 errors generated.
make[1]: *** [ccache.o] Error 1
make[1]: *** [cleanup.o] Error 1
make: *** [ccache] Error 2

Steps to Reproduce

  1. Follow instrucdtions to install pre-reqs as described
  2. Run 'bash ./build-script-macos-01.sh,

macOS: Add speex to pre-built dependencies

To fix crash issues on macOS 10.13 we need to build speex ourselves on CI with a minimum deployment target of 10.13 (Darwin-17).

Speex depends on libogg which we build ourselves already, so we just need to make sure to build speex at a later part of our workflow to link it statically.

GitHub action "Build macOS Qt6" fails on not finding GSS library

Operating System Info

macOS 12

Other OS

No response

OBS Studio Version

Other

OBS Studio Version (Other)

2022-08-02

OBS Studio Log URL

https://github.com/obsproject/obs-deps/actions/runs/3099336070/jobs/5018349974

OBS Studio Crash Log URL

No response

Expected Behavior

Expected qt6 build to link without errors

Current Behavior

The qt6 build fails with the following error:

[2969/3649] Linking CXX shared library lib/QtNetwork.framework/Versions/A/QtNetwork
FAILED: lib/QtNetwork.framework/Versions/A/QtNetwork 
: && /Applications/Xcode_13.4.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -w -pipe -stdlib=libc++ -DNDEBUG -O2 -arch x86_64 -arch arm64 -isysroot /Applications/Xcode_13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk -mmacosx-version-min=10.14 -dynamiclib -Wl,-headerpad_max_install_names -Wl,-undefined,error -fapplication-extension -compatibility_version 6.0.0 -current_version 6.3.1 -o lib/QtNetwork.framework/Versions/A/QtNetwork -install_name @rpath/QtNetwork.framework/Versions/A/QtNetwork src/network/CMakeFiles/Network.dir/Network_autogen/mocs_compilation.cpp.o 
[...]
src/network/CMakeFiles/Network.dir/ssl/qsslkey_p.cpp.o src/network/CMakeFiles/Network.dir/ssl/qsslpresharedkeyauthenticator.cpp.o src/network/CMakeFiles/Network.dir/ssl/qsslsocket.cpp.o src/network/CMakeFiles/Network.dir/kernel/qdnslookup_unix.cpp.o -F/Users/runner/work/obs-deps/obs-deps/macos_build_temp/qt6/qtbase/build_universal/lib -Wl,-rpath,/Users/runner/work/obs-deps/obs-deps/macos_build_temp/qt6/qtbase/build_universal/lib  -framework CoreFoundation  -framework Security  -framework CoreServices  -framework SystemConfiguration  -framework SystemConfiguration  /Applications/Xcode_13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/lib/libgssapi_krb5.tbd  lib/QtCore.framework/Versions/A/QtCore  -framework DiskArbitration  -framework IOKit  -lz && :
Undefined symbols for architecture x86_64:
  "___gss_c_nt_hostbased_service_oid_desc", referenced from:
      qGSsapiGetServiceName(QString const&) in qauthenticator.cpp.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
[2970/3649] Building CXX object src/tools/qlalr/CMakeFiles/qlalr.dir/qlalr_autogen/mocs_compilation.cpp.o
[2971/3649] Building CXX object src/tools/uic/CMakeFiles/uic.dir/validator.cpp.o
[2972/3649] Building CXX object src/tools/uic/CMakeFiles/uic.dir/uic.cpp.o
[2973/3649] Building CXX object src/tools/uic/CMakeFiles/uic.dir/ui4.cpp.o
ninja: build stopped: subcommand failed.
    ✖︎ script execution error

    Callstack:
    /Users/runner/work/obs-deps/obs-deps/deps.qt/qt6.zsh:156
     ./build-qt6.zsh:56
     ./build-qt6.zsh:30
     ./build-qt6.zsh:149
     ./build-qt6.zsh:155
  
Error: Process completed with exit code 2.

Steps to Reproduce

Triggering a CI build of the current obs-deps tree will expose the failure, but building locally on a MacOS Arm machine completes successfully. However, if I install vcpkg on my local machine and set CMAKE_TOOLCHAIN_FILE to point to it then the failure can be reproduced.

  1. git clone https://github.com/obsproject/obs-deps $HOME/obs-deps
  2. git clone https://github.com/microsoft/vcpkg $HOME/vcpkg
  3. export VCPKG_ROOT=$HOME/vcpkg
  4. cd $HOME/obs-deps
  5. ./build-qt6.zsh --target macos-universal --config RELEASE --shared

Anything else we should know?

This bug has been reported in the vcpkg project. It is not clear if the issue has been resolved or how best to work around it.

microsoft/vcpkg#23782

MacOS Catalina has unmet dependencies pcre & zx

Platform

Operating system and version: macOS Catalina (10.15.6)
OBS Studio version: git (commit 2744ca99 - 6 Aug 2020)

Expected Behavior

CI/full-build-macos.sh -b build completes successfully with a OBS.App in

Current Behavior

The build is successful, the bundling fails -

Without pcre, obslua fails to build. Bundling fails.

[OBS-Studio] Bundle dylibs for macOS application
  + Run dylibBundler..
Collecting dependencies...
/Library/Developer/CommandLineTools/usr/bin/objdump: error: './OBS.app/Contents/MacOS/obslua.so': No such file or directory


/!\ ERROR: Cannot find file ./OBS.app/Contents/MacOS/obslua.so to read its load commands
  + ERROR during build step: bundle app

root cause appears highlighted below.

[OBS-Studio] Run CMAKE for OBS...
-- OBS_VERSION: 25.0.7-478-g2744ca99
-- Found FFmpeg: /tmp/obsdeps/lib/../bin/libavcodec.dylib (found version "58.54.100") found components: avcodec avdevice avutil avformat
-- Scripting: Luajit supported
-- Scripting: Python 3 support disabled
-- Command "/tmp/obsdeps/bin/swig -swiglib" failed with output:
dyld: Library not loaded: /usr/local/opt/pcre/lib/libpcre.1.dylib
  Referenced from: /tmp/obsdeps/bin/swig
  Reason: image not found

-- Scripting: SWIG not found; scripting disabled

As a shortcut, installing pcre via brew allows the bundling to be sucessful.

Likewise without xz, libavcodec fails to build, and is highlighted at the bundling stage.

[OBS-Studio] Bundle dylibs for macOS application
  + Run dylibBundler..
Collecting dependencies...

/!\ WARNING: Dependency liblzma.5.dylib of /private/tmp/obsdeps/bin/libavcodec.58.dylib not found

liblzma is included in brew's xz package.

Steps to Reproduce

  1. Fresh install with brew (or brew remove xz pcre)
  2. CI/full-build-macos.sh -b will fail with the two error messages.

Additional information

Related to obsproject/obs-studio#3242

Readme is outdated

Current Readme tells to "Enter the macos directory" and unpack some files but right after cloning repository there is no macos folder neither any tarball to unpack.

window10 Build-Dependencies.ps1 bug

Operating System Info

Windows 10

Other OS

No response

OBS Studio Version

27.2.4

OBS Studio Version (Other)

No response

OBS Studio Log URL

Build-Main | ~~~~~~~~~~ | A Visual Studio installation (2019 or newer) is required for this build script. The Visual Studio | Community edition is available for free at https://visualstudio.microsoft.com/vs/community/. If | Visual Studio is indeed installed, locate the directory | 'C:\ProgramData\Microsoft\VisualStudio\Packages\Microsoft.VisualStudio.Setup.WMIProvider,Version=xxxx' | right-click the file 'Microsoft.Visualstudio.Setup.WMIProvider.msi' and choose 'repair'.

OBS Studio Crash Log URL

No response

Expected Behavior

buid

Current Behavior

PS D:\Program Files\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build> .\vcvars64.bat


** Visual Studio 2019 Developer Command Prompt v16.11.16
** Copyright (c) 2021 Microsoft Corporation


[vcvarsall.bat] Environment initialized for: 'x64'
PS D:\Program Files\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build> e:
PS E:\temp_qt\OBS\obs-deps> .\Build-Dependencies.ps1

[OBS-DEPS] - configuration Release, target x64, shared libraries No
Dependencies: All

=>   Check for Git executable
 >   Git found
 >   Found dependency 7z as C:\Program Files (x86)\7-Zip\7z.exe
 >   Found dependency cmake as C:\Program Files\CMake\bin\cmake.exe

[OBS-DEPS] Error(s) occurred:

Exception: E:\temp_qt\OBS\obs-deps\Build-Dependencies.ps1:184
Line |
184 | Build-Main
| ~~~~~~~~~~
| A Visual Studio installation (2019 or newer) is required for this build script. The Visual Studio
| Community edition is available for free at https://visualstudio.microsoft.com/vs/community/. If
| Visual Studio is indeed installed, locate the directory
| 'C:\ProgramData\Microsoft\VisualStudio\Packages\Microsoft.VisualStudio.Setup.WMIProvider,Version=xxxx'
| right-click the file 'Microsoft.Visualstudio.Setup.WMIProvider.msi' and choose 'repair'.

PS E:\temp_qt\OBS\obs-deps>

Steps to Reproduce

PS D:\Program Files\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build> .\vcvars64.bat


** Visual Studio 2019 Developer Command Prompt v16.11.16
** Copyright (c) 2021 Microsoft Corporation


PS E:\temp_qt\OBS\obs-deps> .\Build-Dependencies.ps1

[OBS-DEPS] - configuration Release, target x64, shared libraries No
Dependencies: All

=>   Check for Git executable
 >   Git found
 >   Found dependency 7z as C:\Program Files (x86)\7-Zip\7z.exe
 >   Found dependency cmake as C:\Program Files\CMake\bin\cmake.exe

[OBS-DEPS] Error(s) occurred:

Exception: E:\temp_qt\OBS\obs-deps\Build-Dependencies.ps1:184
Line |
184 | Build-Main
| ~~~~~~~~~~
| A Visual Studio installation (2019 or newer) is required for this build script. The Visual Studio
| Community edition is available for free at https://visualstudio.microsoft.com/vs/community/. If
| Visual Studio is indeed installed, locate the directory
| 'C:\ProgramData\Microsoft\VisualStudio\Packages\Microsoft.VisualStudio.Setup.WMIProvider,Version=xxxx'
| right-click the file 'Microsoft.Visualstudio.Setup.WMIProvider.msi' and choose 'repair'.

...

Anything else we should know?

No response

MoltenVK/mvk_vulkan.h' file not found

Operating System Info

macOS 11.3

Other OS

mac

OBS Studio Version

27.0.1

OBS Studio Version (Other)

No response

OBS Studio Log URL

ror: 'MoltenVK/mvk_vulkan.h' file not found

OBS Studio Crash Log URL

No response

Expected Behavior

./build-script-macos-02.sh

Current Behavior

/Users/wangxueyan/zntemp/temp_qt/_obs/obs-deps/CI_BUILD/qt-everywhere-src-5.15.2/qtbase/src/plugins/platforms/cocoa/qcocoawindow.h:56:10: fatal error: 'MoltenVK/mvk_vulkan.h' file not found
#include <MoltenVK/mvk_vulkan.h>

Steps to Reproduce

...

Anything else we should know?

No response

CI build failure (bad architecture on MacOS)

Operating System Info

macOS 13

Other OS

No response

OBS Studio Version

29.0.2

OBS Studio Version (Other)

No response

OBS Studio Log URL

This repository doesn't need this detail...

OBS Studio Crash Log URL

No response

Expected Behavior

CI build succeeds

Current Behavior

ld: warning: ignoring file /Users/runner/work/obs-custrnn/obs-custrnn/obs-build-dependencies/plugin-deps-2023-04-03-qt6-universal/lib/../lib/libjansson.a, building for macOS-x86_64 but attempting to link with file built for macOS-arm64
....
compliants about JSON related symbols
....
ld: symbol(s) not found for architecture x86_64

Steps to Reproduce

  1. Write a plugin using the template repository
  2. Configure to use Latest obs-deps, and stable obs release
  3. Publish to github
  4. Actions CI fails for MacOS universal, or whatever makes it to the ld stage first.

Anything else we should know?

No response

Error when compiling obs with advanced scene switcher plugin using qt generated by script compiler.

Operating System Info

Windows 11

Other OS

No response

OBS Studio Version

30.0.0-beta2

OBS Studio Version (Other)

29.0.2

OBS Studio Log URL

OBS Studio Crash Log URL

No response

Expected Behavior

I'm hoping that the qt generated by compiling with the method provided in the script will successfully compile the obs with the advanced scene switcher plugin

Current Behavior

I use the provided script to compile qt6.4.3 under windows, it can be compiled successfully, but when I use the compiled qt to compile OBS with Advanced Scene Switcher, it will report fatal error C1083: Cannot open include file: 'curl/curl.h': No such file or directory: 'curl/curl.h'. No such file or directory. but when I use the qt installer for msvc2019 to compile OBS with Advanced Scene Switcher, it doesn't give me any error!

The following is a partial error log at compile time:
35>D:\git\obs-studio\UI\frontend-plugins\SceneSwitcher\src\switcher-data-structs.hpp(8,10): fatal error C1083: Cannot open include file: 'curl/curl.h': No such file or directory (compiling source file D:\git\obs-studio\UI\frontend-plugins\SceneSwitcher\src\general.cpp)
35>switch-audio.cpp
45>util.cpp
45>platform.cpp
42>libobs-opengl.vcxproj -> D:\build\obs\libobs-opengl\Debug\libobs-opengl.dll
47>aja-vpid-data.cpp
47>aja-widget-io.cpp
35>D:\git\obs-studio\UI\frontend-plugins\SceneSwitcher\src\switcher-data-structs.hpp(8,10): fatal error C1083: Cannot open include file: 'curl/curl.h': No such file or directory (compiling source file D:\git\obs-studio\UI\frontend-plugins\SceneSwitcher\src\legacy\scene-trigger.cpp)

Steps to Reproduce

1.Generate qt by script compilation
2.Compiling obs with advanced scene switcher plugin using compiled qt

Anything else we should know?

No response

Bundled ffmpeg library files use real name instead of soname

Operating System Info

macOS 11.6

Other OS

No response

OBS Studio Version

27.2.0

OBS Studio Version (Other)

No response

OBS Studio Log URL

N/A

OBS Studio Crash Log URL

No response

Expected Behavior

OBS.app ships with the more generic "soname" for ffmpeg dylib files rather than full name.

This was the case up until OBS 27.1.3, eg:

/Volumes/OBS-Studio 27.1.3/OBS.app/Contents/Frameworks/libavcodec.58.dylib # <---
...
/Volumes/OBS-Studio 27.1.3/OBS.app/Contents/Frameworks/libavutil.56.dylib # <---

Current Behavior

As of OBS 27.2 this has changed, which breaks external modules (plugins) linked against libavcodec

/Volumes/OBS-Studio 27.2.0/OBS.app/Contents/Frameworks/libavcodec.58.134.100.dylib # <---
...
/Volumes/OBS-Studio 27.2.0/OBS.app/Contents/Frameworks/libavutil.56.70.100.dylib # <---

Steps to Reproduce

Check the OBS.app bundle contents, under the Frameworks folder as shown above.

Anything else we should know?

While external modules can link with the full library ("libavcodec.58.134.100.dylib") or maybe somehow ship their own copies of ffmpeg, it's reasonable to assume a big component like this should be shared and has consistent naming.

The "soname" (libfoo.X.dylib) convention makes things very easy, with plugin updates only being required when a major ffmpeg upgrade occurs within OBS.

Windows run Build-Dependencies.ps1 fail

Operating System Info

Windows 11

Other OS

No response

OBS Studio Version

30.2.2

OBS Studio Version (Other)

No response

OBS Studio Log URL

xx

OBS Studio Crash Log URL

No response

Expected Behavior

no

Current Behavior

  Up-to-date: C:/Users/Zexon/source/repos/obs-deps/windows/obs-dependencies-x64/share/doc/pcre2/html/pcre2compat.html
  Up-to-date: C:/Users/Zexon/source/repos/obs-deps/windows/obs-dependencies-x64/share/doc/pcre2/html/pcre2convert.html
  Up-to-date: C:/Users/Zexon/source/repos/obs-deps/windows/obs-dependencies-x64/share/doc/pcre2/html/pcre2demo.html
  Up-to-date: C:/Users/Zexon/source/repos/obs-deps/windows/obs-dependencies-x64/share/doc/pcre2/html/pcre2grep.html
  Up-to-date: C:/Users/Zexon/source/repos/obs-deps/windows/obs-dependencies-x64/share/doc/pcre2/html/pcre2jit.html
  Up-to-date: C:/Users/Zexon/source/repos/obs-deps/windows/obs-dependencies-x64/share/doc/pcre2/html/pcre2limits.html
  Up-to-date: C:/Users/Zexon/source/repos/obs-deps/windows/obs-dependencies-x64/share/doc/pcre2/html/pcre2matching.html
  Up-to-date: C:/Users/Zexon/source/repos/obs-deps/windows/obs-dependencies-x64/share/doc/pcre2/html/pcre2partial.html
  Up-to-date: C:/Users/Zexon/source/repos/obs-deps/windows/obs-dependencies-x64/share/doc/pcre2/html/pcre2pattern.html
  Up-to-date: C:/Users/Zexon/source/repos/obs-deps/windows/obs-dependencies-x64/share/doc/pcre2/html/pcre2perform.html
  Up-to-date: C:/Users/Zexon/source/repos/obs-deps/windows/obs-dependencies-x64/share/doc/pcre2/html/pcre2posix.html
  Up-to-date: C:/Users/Zexon/source/repos/obs-deps/windows/obs-dependencies-x64/share/doc/pcre2/html/pcre2sample.html
  Up-to-date: C:/Users/Zexon/source/repos/obs-deps/windows/obs-dependencies-x64/share/doc/pcre2/html/pcre2serialize.html
  Up-to-date: C:/Users/Zexon/source/repos/obs-deps/windows/obs-dependencies-x64/share/doc/pcre2/html/pcre2syntax.html
  Up-to-date: C:/Users/Zexon/source/repos/obs-deps/windows/obs-dependencies-x64/share/doc/pcre2/html/pcre2test.html
  Up-to-date: C:/Users/Zexon/source/repos/obs-deps/windows/obs-dependencies-x64/share/doc/pcre2/html/pcre2unicode.html
         Initializing build
HEAD is now at 4dd285fad Cosmetic rename SwigMovePointer -> SwigSmartPointer
  swig  =>   Checked out commit 4dd285fad736c014224ef2ad25b85e17f3dce1f9 on branch master
  swig  =>   Patch (x64)
  swig  =>   Hash of patch file 0001-add-Python-3-stable-abi.patch confirmed as '0fba519582d891a01953fd81f4e91ddd583f32cab398436df5632d98e0060309'
  swig  =>   Reverting patch 0001-add-Python-3-stable-abi.patch
checking file .github/workflows/ci.yml
Hunk obsproject/obs-plugintemplate#1 FAILED at 135 (different line endings).
1 out of 1 hunk FAILED
checking file Lib/python/director.swg
Hunk obsproject/obs-plugintemplate#1 FAILED at 14 (different line endings).
Hunk obsproject/obs-plugintemplate#2 FAILED at 262 (different line endings).
Hunk obsproject/obs-plugintemplate#3 FAILED at 412 (different line endings).
Hunk obsproject/obs-plugintemplate#4 FAILED at 464 (different line endings).
4 out of 4 hunks FAILED
checking file Lib/python/pybuffer.i
Hunk obsproject/obs-plugintemplate#1 FAILED at 12 (different line endings).
Hunk obsproject/obs-plugintemplate#2 FAILED at 70 (different line endings).
Hunk obsproject/obs-plugintemplate#3 FAILED at 119 (different line endings).
Hunk obsproject/obs-plugintemplate#4 FAILED at 170 (different line endings).
4 out of 4 hunks FAILED
checking file Lib/python/pyhead.swg
Hunk obsproject/obs-plugintemplate#1 FAILED at 36 (different line endings).
Hunk obsproject/obs-plugintemplate#2 FAILED at 57 (different line endings).
Hunk obsproject/obs-plugintemplate#3 FAILED at 92 (different line endings).
3 out of 3 hunks FAILED
checking file Lib/python/pyrun.swg
Hunk obsproject/obs-plugintemplate#1 FAILED at 334 (different line endings).
Hunk obsproject/obs-plugintemplate#2 FAILED at 399 (different line endings).
Hunk obsproject/obs-plugintemplate#3 FAILED at 731 (different line endings).
Hunk obsproject/obs-plugintemplate#4 FAILED at 884 (different line endings).
Hunk obsproject/obs-plugintemplate#5 FAILED at 1016 (different line endings).
Hunk obsproject/obs-plugintemplate#6 FAILED at 1110 (different line endings).
Hunk obsproject/obs-plugintemplate#7 FAILED at 1137 (different line endings).
Hunk obsproject/obs-plugintemplate#8 FAILED at 1225 (different line endings).
Hunk obsproject/obs-plugintemplate#9 FAILED at 1491 (different line endings).
Hunk obsproject/obs-plugintemplate#10 FAILED at 1578 (different line endings).
Hunk obsproject/obs-plugintemplate#11 FAILED at 1669 (different line endings).
Hunk obsproject/obs-plugintemplate#12 FAILED at 1895 (different line endings).
Hunk obsproject/obs-plugintemplate#13 FAILED at 1911 (different line endings).
13 out of 13 hunks FAILED
checking file Source/Modules/python.cxx
Hunk obsproject/obs-plugintemplate#1 FAILED at 68 (different line endings).
Hunk obsproject/obs-plugintemplate#2 FAILED at 130 (different line endings).
Hunk obsproject/obs-plugintemplate#3 FAILED at 395 (different line endings).
Hunk obsproject/obs-plugintemplate#4 FAILED at 464 (different line endings).
Hunk obsproject/obs-plugintemplate#5 FAILED at 642 (different line endings).
5 out of 5 hunks FAILED
  swig  =>   Applying patch 0001-add-Python-3-stable-abi.patch
patching file .github/workflows/ci.yml
Hunk obsproject/obs-plugintemplate#1 FAILED at 135 (different line endings).
1 out of 1 hunk FAILED   saving rejects to file .github/workflows/ci.yml.rej
patching file Lib/python/director.swg
Hunk obsproject/obs-plugintemplate#1 FAILED at 14 (different line endings).
Hunk obsproject/obs-plugintemplate#2 FAILED at 244 (different line endings).
Hunk obsproject/obs-plugintemplate#3 FAILED at 330 (different line endings).
Hunk obsproject/obs-plugintemplate#4 FAILED at 382 (different line endings).
4 out of 4 hunks FAILED   saving rejects to file Lib/python/director.swg.rej
patching file Lib/python/pybuffer.i
Hunk obsproject/obs-plugintemplate#1 FAILED at 12 (different line endings).
Hunk obsproject/obs-plugintemplate#2 FAILED at 45 (different line endings).
Hunk obsproject/obs-plugintemplate#3 FAILED at 74 (different line endings).
Hunk obsproject/obs-plugintemplate#4 FAILED at 106 (different line endings).
4 out of 4 hunks FAILED   saving rejects to file Lib/python/pybuffer.i.rej
patching file Lib/python/pyhead.swg
Hunk obsproject/obs-plugintemplate#1 FAILED at 36 (different line endings).
Hunk obsproject/obs-plugintemplate#2 FAILED at 57 (different line endings).
Hunk obsproject/obs-plugintemplate#3 FAILED at 92 (different line endings).
3 out of 3 hunks FAILED   saving rejects to file Lib/python/pyhead.swg.rej
patching file Lib/python/pyrun.swg
Hunk obsproject/obs-plugintemplate#1 FAILED at 334 (different line endings).
Hunk obsproject/obs-plugintemplate#2 FAILED at 398 (different line endings).
Hunk obsproject/obs-plugintemplate#3 FAILED at 714 (different line endings).
Hunk obsproject/obs-plugintemplate#4 FAILED at 859 (different line endings).
Hunk obsproject/obs-plugintemplate#5 FAILED at 991 (different line endings).
Hunk obsproject/obs-plugintemplate#6 FAILED at 1067 (different line endings).
Hunk obsproject/obs-plugintemplate#7 FAILED at 1084 (different line endings).
Hunk obsproject/obs-plugintemplate#8 FAILED at 1171 (different line endings).
Hunk obsproject/obs-plugintemplate#9 FAILED at 1421 (different line endings).
Hunk obsproject/obs-plugintemplate#10 FAILED at 1500 (different line endings).
Hunk obsproject/obs-plugintemplate#11 FAILED at 1582 (different line endings).
Hunk obsproject/obs-plugintemplate#12 FAILED at 1803 (different line endings).
Hunk obsproject/obs-plugintemplate#13 FAILED at 1818 (different line endings).
13 out of 13 hunks FAILED   saving rejects to file Lib/python/pyrun.swg.rej
patching file Source/Modules/python.cxx
Hunk obsproject/obs-plugintemplate#1 FAILED at 68 (different line endings).
Hunk obsproject/obs-plugintemplate#2 FAILED at 128 (different line endings).
Hunk obsproject/obs-plugintemplate#3 FAILED at 392 (different line endings).
Hunk obsproject/obs-plugintemplate#4 FAILED at 458 (different line endings).
Hunk obsproject/obs-plugintemplate#5 FAILED at 626 (different line endings).
5 out of 5 hunks FAILED   saving rejects to file Source/Modules/python.cxx.rej
                                                 -
[OBS-DEPS] Error(s) occurred:
                                                 -
Write-Error: C:\Users\Zexon\source\repos\obs-deps\Build-Dependencies.ps1:238
Line |
 238 |  Build-Main
     |  ~~~~~~~~~~
     | Error during build step Patch - C:\Program Files\Git\usr\bin\patch.exe  binary -g 0 -f -p1 -i
     | C:\Users\Zexon\source\repos\obs-deps\deps.windows/patches/swig/0001-add-Python-3-stable-abi.patch exited with non-zero code 1.
PS C:\Users\Zexon\source\repos\obs-deps>

Steps to Reproduce

1.execute .\Build-Dependencies.ps1
2.
3.
...

Anything else we should know?

No response

macOS: Add libjack to pre-built dependencies

To fix crash issues on macOS 10.13 we need to build libjack ourselves on CI with a minimum deployment target of 10.13 (Darwin-17).

Building just the library seems to require at least berkeley-db, which at least in its Homebrew incarnation depends on openssl - there is a chance that a "mvp" variant for libjack might do without it.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.