obsproject / obs-deps Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
Windows 11
No response
30.0.0-beta2
29.0.2
。
No response
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
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)
1.Generate qt by script compilation
2.Compiling obs with advanced scene switcher plugin using compiled qt
No response
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.
macOS 13
No response
29.0.2
No response
This repository doesn't need this detail...
No response
CI build succeeds
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
No response
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.
build step macos-01 finishes with errors
Operating system and version:
Mac OSX 10.15
OBS Studio version: n/a
build step should finish without errors
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
Windows 10
No response
27.2.4
No response
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'.
No response
buid
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
=> 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
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>
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
=> 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
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'.
...
No response
macOS 11.6
No response
27.2.0
No response
N/A
No response
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 # <---
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 # <---
Check the OBS.app bundle contents, under the Frameworks folder as shown above.
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.
macOS 11.3
mac
27.0.1
No response
ror: 'MoltenVK/mvk_vulkan.h' file not found
No response
./build-script-macos-02.sh
/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>
...
No response
Windows 11
No response
30.0.2
No response
no
No response
Build carla ok
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
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.
No response
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.
macOS 12
No response
Other
2022-08-02
https://github.com/obsproject/obs-deps/actions/runs/3099336070/jobs/5018349974
No response
Expected qt6 build to link without errors
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.
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.
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.
Operating system and version: macOS Catalina (10.15.6)
OBS Studio version: git (commit 2744ca99 - 6 Aug 2020)
CI/full-build-macos.sh -b
build completes successfully with a OBS.App in
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.
brew remove xz pcre
)CI/full-build-macos.sh -b
will fail with the two error messages.Related to obsproject/obs-studio#3242
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.