Closed armincerf closed 2 years ago
I'm running into the exact same issue on 12.0.1 (21A559).
That's strange. I can't repro this.
Can you send me the output from running ./install.sh
as well as the output from running env
? (Please remove any sensitive values prior to responding.)
@carlosonunez Do you want me to set anything like LOG_LEVEL
?
LOG_LEVEL=debug would be nice, actually. Thanks for asking! On Nov 9, 2021, 6:12 PM -0600, David Manouchehri @.***>, wrote:
@carlosonunez Do you want me to set anything like LOG_LEVEL? — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android.
MacBook-Air:obs-installer-for-apple-silicon dave$ LOG_LEVEL=debug ./install.sh
[Tue 9 Nov 2021 19:17:04 EST] DEBUG: Linux variant: Darwin; CPU arch: arm
[Tue 9 Nov 2021 19:17:04 EST] DEBUG: Checking for Homebrew
[Tue 9 Nov 2021 19:17:04 EST] INFO: Deleting OBS, StreamFX, and Virtual Camera. Type your password in when prompted...
[Tue 9 Nov 2021 19:17:04 EST] INFO: ---> Deleting /Applications/OBS.app
[Tue 9 Nov 2021 19:17:05 EST] INFO: ---> Deleting /Library/CoreMediaIO/Plug-Ins/DAL/
[Tue 9 Nov 2021 19:17:05 EST] INFO: ---> Deleting /Library/Application Support/obs-studio/plugins
[Tue 9 Nov 2021 19:17:05 EST] DEBUG: OBS version is a branch name or commit SHA: 27.1.3
[Tue 9 Nov 2021 19:17:05 EST] INFO: Installing build dependencies
Warning: Treating cmake as a formula. For the cask, use homebrew/cask/cmake
[Tue 9 Nov 2021 19:17:06 EST] INFO: Installing dylibbundler from OBS repo
[Tue 9 Nov 2021 19:17:06 EST] DEBUG: [OBS] repo already downloaded; skipping.
[Tue 9 Nov 2021 19:17:06 EST] DEBUG: [OBS Dependencies] repo already downloaded; skipping.
[Tue 9 Nov 2021 19:17:06 EST] INFO: Copying [files/CMakeLists.txt] into [/tmp/obs/CMakeLists.txt]
[Tue 9 Nov 2021 19:17:06 EST] INFO: Copying [files/cmake/Modules/ObsHelpers.cmake] into [/tmp/obs/cmake/Modules/ObsHelpers.cmake]
[Tue 9 Nov 2021 19:17:06 EST] INFO: Copying [files/plugins/CMakeLists.txt] into [/tmp/obs/plugins/CMakeLists.txt]
[Tue 9 Nov 2021 19:17:06 EST] INFO: Copying template [template/cmake/osxbundle/fixup_bundle.sh] into [/tmp/obs/cmake/osxbundle/fixup_bundle.sh]
[Tue 9 Nov 2021 19:17:06 EST] INFO: Copying template [template/cmake/osxbundle/obslaunch.sh] into [/tmp/obs/cmake/osxbundle/obslaunch.sh]
[Tue 9 Nov 2021 19:17:06 EST] INFO: Copying template [template/cmake/osxbundle/obs.icns] into [/tmp/obs/cmake/osxbundle/obs.icns]
[Tue 9 Nov 2021 19:17:06 EST] INFO: Copying template [template/cmake/osxbundle/Info.plist] into [/tmp/obs/cmake/osxbundle/Info.plist]
[Tue 9 Nov 2021 19:17:06 EST] INFO: Copying template [template/cmake/helper_subdir/CMakeLists.txt] into [/tmp/obs/cmake/helper_subdir/CMakeLists.txt]
[Tue 9 Nov 2021 19:17:06 EST] DEBUG: [SpeexDSP] repo already downloaded; skipping.
/tmp/obs/cmake ~/Movies/obs-installer-for-apple-silicon
-- OBS_VERSION: 27.1.3-132-gc36a5ae92-modified
-- No Native SSE2 SIMD Support - Using SIMDE
-- Found FFmpeg: /opt/homebrew/Cellar/ffmpeg/4.4.1_3/lib/../lib/libavcodec.dylib (found version "58.134.100") found components: avcodec avdevice avutil avformat
-- Luajit support not found.
-- Scripting: Python 3 support disabled
-- Scripting: Neither Python 3 nor Luajit was found; scripting plugin disabled
-- Using system Jansson library
-- Found FFmpeg: /opt/homebrew/Cellar/ffmpeg/4.4.1_3/lib/../lib/libavformat.dylib (found version "58.76.100") found components: avformat avutil swscale swresample avcodec
-- Using libavcodec for image loading in libobs
-- Found jack: /opt/homebrew/lib/libjack.dylib
-- Using the bundled VST header.
-- Libfdk not found - obs-libfdk plugin disabled
-- Found FFmpeg: /opt/homebrew/Cellar/ffmpeg/4.4.1_3/lib/../lib/libavcodec.dylib (found version "58.134.100") found components: avcodec avfilter avdevice avutil swscale avformat swresample
-- Found FFmpeg: /opt/homebrew/Cellar/ffmpeg/4.4.1_3/lib/../lib/libavcodec.dylib (found version "58.134.100") found components: avcodec avutil avformat
-- Checking for module 'libftl'
-- No package 'libftl' found
-- Found ftl-sdk: ftl outputs enabled
-- Could NOT find Libspeexdsp (missing: SPEEXDSP_LIB)
-- Configuring done
-- Generating done
-- Build files have been written to: /tmp/obs/cmake
Consolidate compiler generated dependencies of target glad
[ 1%] Built target glad
Consolidate compiler generated dependencies of target media-playback
[ 2%] Built target media-playback
Consolidate compiler generated dependencies of target caption
[ 4%] Built target caption
Consolidate compiler generated dependencies of target libobs
[ 22%] Built target libobs
Consolidate compiler generated dependencies of target file-updater
[ 22%] Built target file-updater
Consolidate compiler generated dependencies of target opts-parser
[ 23%] Built target opts-parser
Consolidate compiler generated dependencies of target libobs-opengl
[ 26%] Built target libobs-opengl
Consolidate compiler generated dependencies of target coreaudio-encoder
[ 27%] Built target coreaudio-encoder
Consolidate compiler generated dependencies of target mac-avcapture
[ 28%] Built target mac-avcapture
Consolidate compiler generated dependencies of target mac-capture
[ 29%] Built target mac-capture
Consolidate compiler generated dependencies of target mac-vth264
[ 29%] Built target mac-vth264
Consolidate compiler generated dependencies of target syphon-framework
[ 33%] Built target syphon-framework
Consolidate compiler generated dependencies of target mac-syphon
[ 34%] Built target mac-syphon
Consolidate compiler generated dependencies of target mac-virtualcam
[ 35%] Built target mac-virtualcam
Consolidate compiler generated dependencies of target mac-dal-plugin
[ 37%] Built target mac-dal-plugin
Consolidate compiler generated dependencies of target mac-decklink
[ 41%] Built target mac-decklink
[ 41%] Building C object plugins/vlc-video/CMakeFiles/vlc-video.dir/vlc-video-plugin.c.o
[ 41%] Building C object plugins/vlc-video/CMakeFiles/vlc-video.dir/vlc-video-source.c.o
/tmp/obs/plugins/vlc-video/vlc-video-source.c:550:23: warning: adding 'int' to a string does not append to the string [-Wstring-plus-int]
b = EXTENSIONS_MEDIA + 1;
~~~~~~~~~~~~~~~~~^~~
/tmp/obs/plugins/vlc-video/vlc-video-source.c:550:23: note: use array indexing to silence this warning
b = EXTENSIONS_MEDIA + 1;
^
& [ ]
1 warning generated.
[ 42%] Linking C shared module vlc-video.so
[ 42%] Built target vlc-video
[ 42%] Building C object plugins/linux-jack/CMakeFiles/linux-jack.dir/linux-jack.c.o
[ 43%] Building C object plugins/linux-jack/CMakeFiles/linux-jack.dir/jack-wrapper.c.o
[ 43%] Building C object plugins/linux-jack/CMakeFiles/linux-jack.dir/jack-input.c.o
[ 43%] Linking C shared module linux-jack.so
ld: warning: dylib (/opt/homebrew/lib/libjack.dylib) was built for newer macOS version (12.0) than being linked (11.0)
[ 43%] Built target linux-jack
[ 43%] Automatic MOC for target obs-vst
[ 43%] Built target obs-vst_autogen
[ 43%] Building CXX object plugins/obs-vst/CMakeFiles/obs-vst.dir/obs-vst_autogen/mocs_compilation.cpp.o
In file included from /tmp/obs/cmake/plugins/obs-vst/obs-vst_autogen/mocs_compilation.cpp:2:
In file included from /tmp/obs/cmake/plugins/obs-vst/obs-vst_autogen/K6S233IZAZ/moc_VSTPlugin.cpp:10:
In file included from /tmp/obs/cmake/plugins/obs-vst/obs-vst_autogen/K6S233IZAZ/../../../../../plugins/obs-vst/headers/VSTPlugin.h:30:
/tmp/obs/cmake/plugins/obs-vst/obs-vst_autogen/K6S233IZAZ/../../../../../plugins/obs-vst/headers/EditorWidget.h:52:2: warning: 'QMacCocoaViewContainer' is deprecated: Use QWindow::fromWinId and QWidget::createWindowContainer instead [-Wdeprecated-declarations]
QMacCocoaViewContainer *cocoaViewContainer = NULL;
^
/opt/homebrew/opt/qt@5/lib/QtWidgets.framework/Headers/qmaccocoaviewcontainer_mac.h:52:7: note: 'QMacCocoaViewContainer' has been explicitly marked deprecated here
class QT_DEPRECATED_X("Use QWindow::fromWinId and QWidget::createWindowContainer instead")
^
/opt/homebrew/opt/qt@5/lib/QtCore.framework/Headers/qglobal.h:294:33: note: expanded from macro 'QT_DEPRECATED_X'
# define QT_DEPRECATED_X(text) Q_DECL_DEPRECATED_X(text)
^
/opt/homebrew/opt/qt@5/lib/QtCore.framework/Headers/qcompilerdetection.h:675:55: note: expanded from macro 'Q_DECL_DEPRECATED_X'
# define Q_DECL_DEPRECATED_X(text) __attribute__ ((__deprecated__(text)))
^
In file included from /tmp/obs/cmake/plugins/obs-vst/obs-vst_autogen/mocs_compilation.cpp:2:
In file included from /tmp/obs/cmake/plugins/obs-vst/obs-vst_autogen/K6S233IZAZ/moc_VSTPlugin.cpp:10:
In file included from /tmp/obs/cmake/plugins/obs-vst/obs-vst_autogen/K6S233IZAZ/../../../../../plugins/obs-vst/headers/VSTPlugin.h:28:
/tmp/obs/plugins/obs-vst/vst_header/aeffectx.h:199:7: warning: private field 'dump' is not used [-Wunused-private-field]
char dump[sizeof( VstMidiEvent )];
^
2 warnings generated.
[ 43%] Building CXX object plugins/obs-vst/CMakeFiles/obs-vst.dir/obs-vst.cpp.o
In file included from /tmp/obs/plugins/obs-vst/obs-vst.cpp:19:
In file included from /tmp/obs/plugins/obs-vst/headers/VSTPlugin.h:30:
/tmp/obs/plugins/obs-vst/headers/EditorWidget.h:52:2: warning: 'QMacCocoaViewContainer' is deprecated: Use QWindow::fromWinId and QWidget::createWindowContainer instead [-Wdeprecated-declarations]
QMacCocoaViewContainer *cocoaViewContainer = NULL;
^
/opt/homebrew/opt/qt@5/lib/QtWidgets.framework/Headers/qmaccocoaviewcontainer_mac.h:52:7: note: 'QMacCocoaViewContainer' has been explicitly marked deprecated here
class QT_DEPRECATED_X("Use QWindow::fromWinId and QWidget::createWindowContainer instead")
^
/opt/homebrew/opt/qt@5/lib/QtCore.framework/Headers/qglobal.h:294:33: note: expanded from macro 'QT_DEPRECATED_X'
# define QT_DEPRECATED_X(text) Q_DECL_DEPRECATED_X(text)
^
/opt/homebrew/opt/qt@5/lib/QtCore.framework/Headers/qcompilerdetection.h:675:55: note: expanded from macro 'Q_DECL_DEPRECATED_X'
# define Q_DECL_DEPRECATED_X(text) __attribute__ ((__deprecated__(text)))
^
In file included from /tmp/obs/plugins/obs-vst/obs-vst.cpp:19:
In file included from /tmp/obs/plugins/obs-vst/headers/VSTPlugin.h:28:
/tmp/obs/plugins/obs-vst/vst_header/aeffectx.h:199:7: warning: private field 'dump' is not used [-Wunused-private-field]
char dump[sizeof( VstMidiEvent )];
^
2 warnings generated.
[ 44%] Building CXX object plugins/obs-vst/CMakeFiles/obs-vst.dir/VSTPlugin.cpp.o
In file included from /tmp/obs/plugins/obs-vst/VSTPlugin.cpp:19:
In file included from /tmp/obs/plugins/obs-vst/headers/VSTPlugin.h:30:
/tmp/obs/plugins/obs-vst/headers/EditorWidget.h:52:2: warning: 'QMacCocoaViewContainer' is deprecated: Use QWindow::fromWinId and QWidget::createWindowContainer instead [-Wdeprecated-declarations]
QMacCocoaViewContainer *cocoaViewContainer = NULL;
^
/opt/homebrew/opt/qt@5/lib/QtWidgets.framework/Headers/qmaccocoaviewcontainer_mac.h:52:7: note: 'QMacCocoaViewContainer' has been explicitly marked deprecated here
class QT_DEPRECATED_X("Use QWindow::fromWinId and QWidget::createWindowContainer instead")
^
/opt/homebrew/opt/qt@5/lib/QtCore.framework/Headers/qglobal.h:294:33: note: expanded from macro 'QT_DEPRECATED_X'
# define QT_DEPRECATED_X(text) Q_DECL_DEPRECATED_X(text)
^
/opt/homebrew/opt/qt@5/lib/QtCore.framework/Headers/qcompilerdetection.h:675:55: note: expanded from macro 'Q_DECL_DEPRECATED_X'
# define Q_DECL_DEPRECATED_X(text) __attribute__ ((__deprecated__(text)))
^
In file included from /tmp/obs/plugins/obs-vst/VSTPlugin.cpp:19:
In file included from /tmp/obs/plugins/obs-vst/headers/VSTPlugin.h:28:
/tmp/obs/plugins/obs-vst/vst_header/aeffectx.h:199:7: warning: private field 'dump' is not used [-Wunused-private-field]
char dump[sizeof( VstMidiEvent )];
^
2 warnings generated.
[ 44%] Building CXX object plugins/obs-vst/CMakeFiles/obs-vst.dir/EditorWidget.cpp.o
In file included from /tmp/obs/plugins/obs-vst/EditorWidget.cpp:19:
/tmp/obs/plugins/obs-vst/headers/EditorWidget.h:52:2: warning: 'QMacCocoaViewContainer' is deprecated: Use QWindow::fromWinId and QWidget::createWindowContainer instead [-Wdeprecated-declarations]
QMacCocoaViewContainer *cocoaViewContainer = NULL;
^
/opt/homebrew/opt/qt@5/lib/QtWidgets.framework/Headers/qmaccocoaviewcontainer_mac.h:52:7: note: 'QMacCocoaViewContainer' has been explicitly marked deprecated here
class QT_DEPRECATED_X("Use QWindow::fromWinId and QWidget::createWindowContainer instead")
^
/opt/homebrew/opt/qt@5/lib/QtCore.framework/Headers/qglobal.h:294:33: note: expanded from macro 'QT_DEPRECATED_X'
# define QT_DEPRECATED_X(text) Q_DECL_DEPRECATED_X(text)
^
/opt/homebrew/opt/qt@5/lib/QtCore.framework/Headers/qcompilerdetection.h:675:55: note: expanded from macro 'Q_DECL_DEPRECATED_X'
# define Q_DECL_DEPRECATED_X(text) __attribute__ ((__deprecated__(text)))
^
In file included from /tmp/obs/plugins/obs-vst/EditorWidget.cpp:19:
In file included from /tmp/obs/plugins/obs-vst/headers/EditorWidget.h:33:
/tmp/obs/plugins/obs-vst/vst_header/aeffectx.h:199:7: warning: private field 'dump' is not used [-Wunused-private-field]
char dump[sizeof( VstMidiEvent )];
^
2 warnings generated.
[ 44%] Building CXX object plugins/obs-vst/CMakeFiles/obs-vst.dir/mac/VSTPlugin-osx.mm.o
In file included from /tmp/obs/plugins/obs-vst/mac/VSTPlugin-osx.mm:18:
In file included from /tmp/obs/plugins/obs-vst/mac/../headers/VSTPlugin.h:30:
/tmp/obs/plugins/obs-vst/mac/../headers/EditorWidget.h:52:2: warning: 'QMacCocoaViewContainer' is deprecated: Use QWindow::fromWinId and QWidget::createWindowContainer instead [-Wdeprecated-declarations]
QMacCocoaViewContainer *cocoaViewContainer = NULL;
^
/opt/homebrew/opt/qt@5/lib/QtWidgets.framework/Headers/qmaccocoaviewcontainer_mac.h:52:7: note: 'QMacCocoaViewContainer' has been explicitly marked deprecated here
class QT_DEPRECATED_X("Use QWindow::fromWinId and QWidget::createWindowContainer instead")
^
/opt/homebrew/opt/qt@5/lib/QtCore.framework/Headers/qglobal.h:294:33: note: expanded from macro 'QT_DEPRECATED_X'
# define QT_DEPRECATED_X(text) Q_DECL_DEPRECATED_X(text)
^
/opt/homebrew/opt/qt@5/lib/QtCore.framework/Headers/qcompilerdetection.h:675:55: note: expanded from macro 'Q_DECL_DEPRECATED_X'
# define Q_DECL_DEPRECATED_X(text) __attribute__ ((__deprecated__(text)))
^
In file included from /tmp/obs/plugins/obs-vst/mac/VSTPlugin-osx.mm:18:
In file included from /tmp/obs/plugins/obs-vst/mac/../headers/VSTPlugin.h:28:
/tmp/obs/plugins/obs-vst/vst_header/aeffectx.h:199:7: warning: private field 'dump' is not used [-Wunused-private-field]
char dump[sizeof( VstMidiEvent )];
^
2 warnings generated.
[ 44%] Building CXX object plugins/obs-vst/CMakeFiles/obs-vst.dir/mac/EditorWidget-osx.mm.o
In file included from /tmp/obs/plugins/obs-vst/mac/EditorWidget-osx.mm:17:
/tmp/obs/plugins/obs-vst/mac/../headers/EditorWidget.h:52:2: warning: 'QMacCocoaViewContainer' is deprecated: Use QWindow::fromWinId and QWidget::createWindowContainer instead [-Wdeprecated-declarations]
QMacCocoaViewContainer *cocoaViewContainer = NULL;
^
/opt/homebrew/opt/qt@5/lib/QtWidgets.framework/Headers/qmaccocoaviewcontainer_mac.h:52:7: note: 'QMacCocoaViewContainer' has been explicitly marked deprecated here
class QT_DEPRECATED_X("Use QWindow::fromWinId and QWidget::createWindowContainer instead")
^
/opt/homebrew/opt/qt@5/lib/QtCore.framework/Headers/qglobal.h:294:33: note: expanded from macro 'QT_DEPRECATED_X'
# define QT_DEPRECATED_X(text) Q_DECL_DEPRECATED_X(text)
^
/opt/homebrew/opt/qt@5/lib/QtCore.framework/Headers/qcompilerdetection.h:675:55: note: expanded from macro 'Q_DECL_DEPRECATED_X'
# define Q_DECL_DEPRECATED_X(text) __attribute__ ((__deprecated__(text)))
^
/tmp/obs/plugins/obs-vst/mac/EditorWidget-osx.mm:24:28: warning: 'QMacCocoaViewContainer' is deprecated: Use QWindow::fromWinId and QWidget::createWindowContainer instead [-Wdeprecated-declarations]
cocoaViewContainer = new QMacCocoaViewContainer(nullptr, this);
^
/opt/homebrew/opt/qt@5/lib/QtWidgets.framework/Headers/qmaccocoaviewcontainer_mac.h:52:7: note: 'QMacCocoaViewContainer' has been explicitly marked deprecated here
class QT_DEPRECATED_X("Use QWindow::fromWinId and QWidget::createWindowContainer instead")
^
/opt/homebrew/opt/qt@5/lib/QtCore.framework/Headers/qglobal.h:294:33: note: expanded from macro 'QT_DEPRECATED_X'
# define QT_DEPRECATED_X(text) Q_DECL_DEPRECATED_X(text)
^
/opt/homebrew/opt/qt@5/lib/QtCore.framework/Headers/qcompilerdetection.h:675:55: note: expanded from macro 'Q_DECL_DEPRECATED_X'
# define Q_DECL_DEPRECATED_X(text) __attribute__ ((__deprecated__(text)))
^
In file included from /tmp/obs/plugins/obs-vst/mac/EditorWidget-osx.mm:17:
In file included from /tmp/obs/plugins/obs-vst/mac/../headers/EditorWidget.h:33:
/tmp/obs/plugins/obs-vst/vst_header/aeffectx.h:199:7: warning: private field 'dump' is not used [-Wunused-private-field]
char dump[sizeof( VstMidiEvent )];
^
3 warnings generated.
[ 45%] Linking CXX shared module obs-vst.so
[ 45%] Built target obs-vst
[ 45%] Building C object plugins/image-source/CMakeFiles/image-source.dir/image-source.c.o
[ 45%] Building C object plugins/image-source/CMakeFiles/image-source.dir/color-source.c.o
[ 45%] Building C object plugins/image-source/CMakeFiles/image-source.dir/obs-slideshow.c.o
[ 45%] Linking C shared module image-source.so
[ 45%] Built target image-source
[ 45%] Building C object plugins/obs-x264/CMakeFiles/obs-x264-test.dir/obs-x264-test.c.o
[ 45%] Linking C executable obs-x264-test
[ 45%] Built target obs-x264-test
[ 45%] Building C object plugins/obs-x264/CMakeFiles/obs-x264.dir/obs-x264.c.o
[ 45%] Building C object plugins/obs-x264/CMakeFiles/obs-x264.dir/obs-x264-plugin-main.c.o
[ 46%] Linking C shared module obs-x264.so
[ 46%] Built target obs-x264
[ 46%] Building C object plugins/obs-ffmpeg/CMakeFiles/obs-ffmpeg.dir/obs-ffmpeg.c.o
[ 47%] Building C object plugins/obs-ffmpeg/CMakeFiles/obs-ffmpeg.dir/obs-ffmpeg-audio-encoders.c.o
[ 47%] Building C object plugins/obs-ffmpeg/CMakeFiles/obs-ffmpeg.dir/obs-ffmpeg-nvenc.c.o
/tmp/obs/plugins/obs-ffmpeg/obs-ffmpeg-nvenc.c:442:2: warning: 'av_init_packet' is deprecated [-Wdeprecated-declarations]
av_init_packet(&av_pkt);
^
/opt/homebrew/Cellar/ffmpeg/4.4.1_3/include/libavcodec/packet.h:487:1: note: 'av_init_packet' has been explicitly marked deprecated here
attribute_deprecated
^
/opt/homebrew/Cellar/ffmpeg/4.4.1_3/include/libavutil/attributes.h:100:49: note: expanded from macro 'attribute_deprecated'
# define attribute_deprecated __attribute__((deprecated))
^
1 warning generated.
[ 47%] Building C object plugins/obs-ffmpeg/CMakeFiles/obs-ffmpeg.dir/obs-ffmpeg-av1.c.o
/tmp/obs/plugins/obs-ffmpeg/obs-ffmpeg-av1.c:413:7: warning: taking the absolute value of unsigned type 'unsigned long long' has no effect [-Wabsolute-value]
if (llabs(cur_ts - recv_ts_nsec) > TIMEOUT_MAX_NSEC) {
^
/tmp/obs/plugins/obs-ffmpeg/obs-ffmpeg-av1.c:413:7: note: remove the call to 'llabs' since unsigned values cannot be negative
if (llabs(cur_ts - recv_ts_nsec) > TIMEOUT_MAX_NSEC) {
^~~~~
1 warning generated.
[ 47%] Building C object plugins/obs-ffmpeg/CMakeFiles/obs-ffmpeg.dir/obs-ffmpeg-output.c.o
/tmp/obs/plugins/obs-ffmpeg/obs-ffmpeg-output.c:728:2: warning: 'av_init_packet' is deprecated [-Wdeprecated-declarations]
av_init_packet(&packet);
^
/opt/homebrew/Cellar/ffmpeg/4.4.1_3/include/libavcodec/packet.h:487:1: note: 'av_init_packet' has been explicitly marked deprecated here
attribute_deprecated
^
/opt/homebrew/Cellar/ffmpeg/4.4.1_3/include/libavutil/attributes.h:100:49: note: expanded from macro 'attribute_deprecated'
# define attribute_deprecated __attribute__((deprecated))
^
1 warning generated.
[ 48%] Building C object plugins/obs-ffmpeg/CMakeFiles/obs-ffmpeg.dir/obs-ffmpeg-mux.c.o
[ 48%] Building C object plugins/obs-ffmpeg/CMakeFiles/obs-ffmpeg.dir/obs-ffmpeg-hls-mux.c.o
[ 48%] Building C object plugins/obs-ffmpeg/CMakeFiles/obs-ffmpeg.dir/obs-ffmpeg-source.c.o
[ 48%] Linking C shared module obs-ffmpeg.so
ld: warning: dylib (/opt/homebrew/Cellar/ffmpeg/4.4.1_3/lib/../lib/libavcodec.dylib) was built for newer macOS version (12.0) than being linked (11.0)
ld: warning: dylib (/opt/homebrew/Cellar/ffmpeg/4.4.1_3/lib/../lib/libavfilter.dylib) was built for newer macOS version (12.0) than being linked (11.0)
ld: warning: dylib (/opt/homebrew/Cellar/ffmpeg/4.4.1_3/lib/../lib/libavdevice.dylib) was built for newer macOS version (12.0) than being linked (11.0)
ld: warning: dylib (/opt/homebrew/Cellar/ffmpeg/4.4.1_3/lib/../lib/libavutil.dylib) was built for newer macOS version (12.0) than being linked (11.0)
ld: warning: dylib (/opt/homebrew/Cellar/ffmpeg/4.4.1_3/lib/../lib/libswscale.dylib) was built for newer macOS version (12.0) than being linked (11.0)
ld: warning: dylib (/opt/homebrew/Cellar/ffmpeg/4.4.1_3/lib/../lib/libswresample.dylib) was built for newer macOS version (12.0) than being linked (11.0)
ld: warning: dylib (/opt/homebrew/Cellar/ffmpeg/4.4.1_3/lib/../lib/libavformat.dylib) was built for newer macOS version (12.0) than being linked (11.0)
[ 48%] Built target obs-ffmpeg
[ 49%] Building C object plugins/obs-ffmpeg/ffmpeg-mux/CMakeFiles/obs-ffmpeg-mux.dir/ffmpeg-mux.c.o
/tmp/obs/plugins/obs-ffmpeg/ffmpeg-mux/ffmpeg-mux.c:405:21: warning: 'codec' is deprecated [-Wdeprecated-declarations]
ffm->video_stream->codec->time_base = context->time_base;
^
/opt/homebrew/Cellar/ffmpeg/4.4.1_3/include/libavformat/avformat.h:887:5: note: 'codec' has been explicitly marked deprecated here
attribute_deprecated
^
/opt/homebrew/Cellar/ffmpeg/4.4.1_3/include/libavutil/attributes.h:100:49: note: expanded from macro 'attribute_deprecated'
# define attribute_deprecated __attribute__((deprecated))
^
/tmp/obs/plugins/obs-ffmpeg/ffmpeg-mux/ffmpeg-mux.c:783:2: warning: 'av_init_packet' is deprecated [-Wdeprecated-declarations]
av_init_packet(&packet);
^
/opt/homebrew/Cellar/ffmpeg/4.4.1_3/include/libavcodec/packet.h:487:1: note: 'av_init_packet' has been explicitly marked deprecated here
attribute_deprecated
^
/opt/homebrew/Cellar/ffmpeg/4.4.1_3/include/libavutil/attributes.h:100:49: note: expanded from macro 'attribute_deprecated'
# define attribute_deprecated __attribute__((deprecated))
^
2 warnings generated.
[ 49%] Linking C executable obs-ffmpeg-mux
ld: warning: dylib (/opt/homebrew/Cellar/ffmpeg/4.4.1_3/lib/../lib/libavcodec.dylib) was built for newer macOS version (12.0) than being linked (11.0)
ld: warning: dylib (/opt/homebrew/Cellar/ffmpeg/4.4.1_3/lib/../lib/libavutil.dylib) was built for newer macOS version (12.0) than being linked (11.0)
ld: warning: dylib (/opt/homebrew/Cellar/ffmpeg/4.4.1_3/lib/../lib/libavformat.dylib) was built for newer macOS version (12.0) than being linked (11.0)
[ 49%] Built target obs-ffmpeg-mux
[ 49%] Building C object plugins/obs-outputs/CMakeFiles/obs-outputs.dir/ftl-stream.c.o
[ 49%] Building C object plugins/obs-outputs/CMakeFiles/obs-outputs.dir/ftl-sdk/libftl/hmac/hmac.c.o
[ 49%] Building C object plugins/obs-outputs/CMakeFiles/obs-outputs.dir/ftl-sdk/libftl/hmac/sha2.c.o
[ 50%] Building C object plugins/obs-outputs/CMakeFiles/obs-outputs.dir/ftl-sdk/libftl/ftl-sdk.c.o
In file included from /tmp/obs/plugins/obs-outputs/ftl-sdk/libftl/ftl-sdk.c:4:
/tmp/obs/plugins/obs-outputs/ftl-sdk/libftl/ftl_private.h:163:13: warning: redefinition of typedef 'SOCKET' is a C11 feature [-Wtypedef-redefinition]
typedef int SOCKET;
^
/tmp/obs/plugins/obs-outputs/ftl-sdk/libftl/posix/socket.h:1:13: note: previous definition is here
typedef int SOCKET;
^
In file included from /tmp/obs/plugins/obs-outputs/ftl-sdk/libftl/ftl-sdk.c:4:
/tmp/obs/plugins/obs-outputs/ftl-sdk/libftl/ftl_private.h:164:14: warning: redefinition of typedef 'BOOL' is a C11 feature [-Wtypedef-redefinition]
typedef bool BOOL;
^
/tmp/obs/plugins/obs-outputs/ftl-sdk/libftl/posix/threads.h:37:14: note: previous definition is here
typedef bool BOOL;
^
2 warnings generated.
[ 50%] Building C object plugins/obs-outputs/CMakeFiles/obs-outputs.dir/ftl-sdk/libftl/handshake.c.o
In file included from /tmp/obs/plugins/obs-outputs/ftl-sdk/libftl/handshake.c:27:
/tmp/obs/plugins/obs-outputs/ftl-sdk/libftl/ftl_private.h:163:13: warning: redefinition of typedef 'SOCKET' is a C11 feature [-Wtypedef-redefinition]
typedef int SOCKET;
^
/tmp/obs/plugins/obs-outputs/ftl-sdk/libftl/posix/socket.h:1:13: note: previous definition is here
typedef int SOCKET;
^
In file included from /tmp/obs/plugins/obs-outputs/ftl-sdk/libftl/handshake.c:27:
/tmp/obs/plugins/obs-outputs/ftl-sdk/libftl/ftl_private.h:164:14: warning: redefinition of typedef 'BOOL' is a C11 feature [-Wtypedef-redefinition]
typedef bool BOOL;
^
/tmp/obs/plugins/obs-outputs/ftl-sdk/libftl/posix/threads.h:37:14: note: previous definition is here
typedef bool BOOL;
^
/tmp/obs/plugins/obs-outputs/ftl-sdk/libftl/handshake.c:153:23: warning: implicit conversion from enumeration type 'ftl_status_t' to different enumeration type 'ftl_response_code_t' [-Wenum-conversion]
response_code = FTL_INGEST_NO_RESPONSE;
~ ^~~~~~~~~~~~~~~~~~~~~~
/tmp/obs/plugins/obs-outputs/ftl-sdk/libftl/handshake.c:231:25: warning: implicit conversion from enumeration type 'ftl_status_t' to different enumeration type 'ftl_response_code_t' [-Wenum-conversion]
response_code = FTL_MALLOC_FAILURE;
~ ^~~~~~~~~~~~~~~~~~
/tmp/obs/plugins/obs-outputs/ftl-sdk/libftl/handshake.c:236:25: warning: implicit conversion from enumeration type 'ftl_status_t' to different enumeration type 'ftl_response_code_t' [-Wenum-conversion]
response_code = FTL_MALLOC_FAILURE;
~ ^~~~~~~~~~~~~~~~~~
/tmp/obs/plugins/obs-outputs/ftl-sdk/libftl/handshake.c:243:23: warning: implicit conversion from enumeration type 'ftl_status_t' to different enumeration type 'ftl_response_code_t' [-Wenum-conversion]
response_code = FTL_MALLOC_FAILURE;
~ ^~~~~~~~~~~~~~~~~~
/tmp/obs/plugins/obs-outputs/ftl-sdk/libftl/handshake.c:250:23: warning: implicit conversion from enumeration type 'ftl_status_t' to different enumeration type 'ftl_response_code_t' [-Wenum-conversion]
response_code = FTL_MALLOC_FAILURE;
~ ^~~~~~~~~~~~~~~~~~
7 warnings generated.
[ 50%] Building C object plugins/obs-outputs/CMakeFiles/obs-outputs.dir/ftl-sdk/libftl/ingest.c.o
In file included from /tmp/obs/plugins/obs-outputs/ftl-sdk/libftl/ingest.c:2:
/tmp/obs/plugins/obs-outputs/ftl-sdk/libftl/ftl_private.h:163:13: warning: redefinition of typedef 'SOCKET' is a C11 feature [-Wtypedef-redefinition]
typedef int SOCKET;
^
/tmp/obs/plugins/obs-outputs/ftl-sdk/libftl/posix/socket.h:1:13: note: previous definition is here
typedef int SOCKET;
^
In file included from /tmp/obs/plugins/obs-outputs/ftl-sdk/libftl/ingest.c:2:
/tmp/obs/plugins/obs-outputs/ftl-sdk/libftl/ftl_private.h:164:14: warning: redefinition of typedef 'BOOL' is a C11 feature [-Wtypedef-redefinition]
typedef bool BOOL;
^
/tmp/obs/plugins/obs-outputs/ftl-sdk/libftl/posix/threads.h:37:14: note: previous definition is here
typedef bool BOOL;
^
/tmp/obs/plugins/obs-outputs/ftl-sdk/libftl/ingest.c:5:10: fatal error: 'jansson.h' file not found
#include <jansson.h>
^~~~~~~~~~~
2 warnings and 1 error generated.
make[2]: *** [plugins/obs-outputs/CMakeFiles/obs-outputs.dir/ftl-sdk/libftl/ingest.c.o] Error 1
make[1]: *** [plugins/obs-outputs/CMakeFiles/obs-outputs.dir/all] Error 2
make: *** [all] Error 2
[Tue 9 Nov 2021 19:17:25 EST] FATAL: Unable to build OBS; see above logs for more info. Try running this instead: REPACKAGE=true ./install.sh
TERM_PROGRAM=iTerm.app
TERM=xterm-256color
SHELL=/bin/bash
TMPDIR=/var/folders/jx/x/T/
TERM_PROGRAM_VERSION=3.4.8
OLDPWD=/Users/dave/Movies
TERM_SESSION_ID=x-x-x-x
USER=dave
COMMAND_MODE=unix2003
SSH_AUTH_SOCK=/Users/dave/.gnupg/S.gpg-agent.ssh
__CF_USER_TEXT_ENCODING=0x0:0:82
PATH=/opt/homebrew/opt/openjdk/bin:/opt/homebrew/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Applications/VMware Fusion.app/Contents/Public:/Applications/Little Snitch.app/Contents/Components:/opt/X11/bin:/Library/Apple/usr/bin:/Applications/Wireshark.app/Contents/MacOS:/Users/dave/.cargo/bin
LaunchInstanceID=x-x-x-x
__CFBundleIdentifier=com.googlecode.iterm2
PWD=/Users/dave/Movies/obs-installer-for-apple-silicon
LANG=en_CA.UTF-8
ITERM_PROFILE=Default
XPC_FLAGS=0x0
XPC_SERVICE_NAME=0
GPG_TTY=/dev/ttys003
SHLVL=1
HOME=/Users/dave
COLORFGBG=7;0
LC_TERMINAL_VERSION=3.4.8
ITERM_SESSION_ID=xxx:x-xxx-xxxx-xx-xxx
LOGNAME=dave
LC_TERMINAL=iTerm2
DISPLAY=/private/tmp/com.apple.launchd.xxxxx/org.macosforge.xquartz:0
SECURITYSESSIONID=xxxx
COLORTERM=truecolor
_=/usr/bin/env
That's strange. I can't repro this.
@carlosonunez What OS version are you building on?
@Manouchehri Let's have you try adding this to your install command:
CPPFLAGS="${CPPFLAGS} -I $(brew --prefix)/jansson/2.14/include" ./install.sh
If you get a file or directory not found
exception, try installing jansson first:
brew install jansson
That directory doesn't exist, but this one does:
CPPFLAGS="${CPPFLAGS} -I $(brew --prefix)/Cellar/jansson/2.14/include" ./install.sh
Sadly I still get the same error, which is a bit confusing.
/tmp/obs/plugins/obs-outputs/ftl-sdk/libftl/ingest.c:5:10: fatal error: 'jansson.h' file not found
#include <jansson.h>
^~~~~~~~~~~
2 warnings and 1 error generated.
The files definitely exist. =(
MacBook-Air:~ dave$ ls /opt/homebrew/Cellar/jansson/2.14/include
jansson.h jansson_config.h
Same issue: 12.0.1 on an M1 Max. Thank you.
Update - I can get past the issue if I switch to the 1.0.0 branch. I was building off of main branch before. However I run into another issue about arc4.h not being found for mbedtls; probably has to do with multiple versions of mbedtls I have installed via homebrew. One has the header file and the other doesn't. But I don't want to over-elaborate as it's a separate issue.
FYI - I have also come up with this issue on 12.1 and M1 Pro, but overcame it with copying jansson.h and jansson_config.h to /tmp/obs/plugins/obs-outputs/ftl-sdk/libftl/
and running install.sh again and it worked.
Please try using the latest version. It seems that git push --atomic --tags
wasn't updating main
like I thought it was.
This is on a fairly new install of OSX (big sur), I already had an intel OBS installed and removed it manually before running the script. But I get the following (no difference with REPACKAGE=true)