Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

obs-midi not showing up under Tools #211

Open
maksymm opened this issue Jun 28, 2023 · 7 comments
Open

obs-midi not showing up under Tools #211

maksymm opened this issue Jun 28, 2023 · 7 comments
Labels
bug Something isn't working

Comments

@maksymm
Copy link

maksymm commented Jun 28, 2023

Platform

Operating system and version:
Monterey 12.6.6

OBS Studio version:
29.1.3 (64bit)

Expected Behavior

ons-midi should appear under tools after installing the MacOS package.

Current Behavior

It does not appear.

https://obsproject.com/logs/Hu5E1QrpW2QfEENi

Steps to Reproduce

  1. Download installer
  2. Run installer
  3. ????
  4. ons-midi missing from tools

Additional information

I tried restarting OBS. I tried restarting my system. My MIDI Device works. I have jack installed.

20:26:52.316: os_dlopen(/Library/Application Support/obs-studio/plugins/obs-midi/bin/obs-midi.so->/Library/Application Support/obs-studio/plugins/obs-midi/bin/obs-midi.so): dlopen(/Library/Application Support/obs-studio/plugins/obs-midi/bin/obs-midi.so, 0x0101): Library not loaded: '@rpath/libobs-frontend-api.dylib'

It appears the plug in installer didn't install it correctly. I tried searching my system for obs-midi.so but there is not even a ons-midi directory in the plugins directory for robs-studio.

The build for the mac fails as well:

Pewter:obs-midi$ ./CI/install-dependencies-macos.sh
[obs-websocket] Updating Homebrew..
[obs-websocket] Checking installed Homebrew formulas..
[obs-websocket] Upgrading OBS-Studio dependency 'jack'..
[obs-websocket] Upgrading OBS-Studio dependency 'speexdsp'..
[obs-websocket] Upgrading OBS-Studio dependency 'ccache'..
[obs-websocket] Upgrading OBS-Studio dependency 'swig'..
[obs-websocket] Upgrading OBS-Studio dependency 'mbedtls'..
[obs-websocket] Installing obs-websocket dependency 'QT 5.10.1'..
./CI/install-dependencies-macos.sh: line 38: tap: command not found
Warning: jack 1.9.22 is already installed, it's just not linked.
To link this version, run:
  brew link jack
Warning: speexdsp 1.2.1 is already installed and up-to-date.
To reinstall 1.2.1, run:
  brew reinstall speexdsp
Warning: Treating cmake as a formula. For the cask, use homebrew/cask/cmake
Warning: cmake 3.26.4 is already installed and up-to-date.
To reinstall 3.26.4, run:
  brew reinstall cmake
Warning: freetype 2.13.1 is already installed and up-to-date.
To reinstall 2.13.1, run:
  brew reinstall freetype
Warning: fdk-aac 2.0.2 is already installed and up-to-date.
To reinstall 2.0.2, run:
  brew reinstall fdk-aac
Error: qt: undefined method `cellar' for #<BottleSpecification:0x00007fbdf392f708>
Error: swig: Invalid bottle tag symbol
Warning: akeru-inc/tap/xcnotary 0.4.9 is already installed and up-to-date.
To reinstall 0.4.9, run:
  brew reinstall xcnotary
Warning: qt already pinned
[obs-websocket] Installing Packaging app (might require password due to 'sudo')..
installer: Error - the package path specified was invalid: './Packages.pkg'.

ewter:obs-midi$ ./CI/install-dependencies-macos.sh
[obs-websocket] Updating Homebrew..
[obs-websocket] Checking installed Homebrew formulas..
[obs-websocket] Upgrading OBS-Studio dependency 'jack'..
[obs-websocket] Upgrading OBS-Studio dependency 'speexdsp'..
[obs-websocket] Upgrading OBS-Studio dependency 'ccache'..
[obs-websocket] Upgrading OBS-Studio dependency 'swig'..
[obs-websocket] Upgrading OBS-Studio dependency 'mbedtls'..
[obs-websocket] Installing obs-websocket dependency 'QT 5.10.1'..
./CI/install-dependencies-macos.sh: line 38: tap: command not found
Warning: jack 1.9.22 is already installed, it's just not linked.
To link this version, run:
  brew link jack
Warning: speexdsp 1.2.1 is already installed and up-to-date.
To reinstall 1.2.1, run:
  brew reinstall speexdsp
Warning: Treating cmake as a formula. For the cask, use homebrew/cask/cmake
Warning: cmake 3.26.4 is already installed and up-to-date.
To reinstall 3.26.4, run:
  brew reinstall cmake
Warning: freetype 2.13.1 is already installed and up-to-date.
To reinstall 2.13.1, run:
  brew reinstall freetype
Warning: fdk-aac 2.0.2 is already installed and up-to-date.
To reinstall 2.0.2, run:
  brew reinstall fdk-aac
Error: qt: undefined method `cellar' for #<BottleSpecification:0x00007faa64a076c8>
Error: swig: Invalid bottle tag symbol
Warning: akeru-inc/tap/xcnotary 0.4.9 is already installed and up-to-date.
To reinstall 0.4.9, run:
  brew reinstall xcnotary
Warning: qt already pinned
[obs-websocket] Installing Packaging app (might require password due to 'sudo')..
installer: Error - the package path specified was invalid: './Packages.pkg'.

ewter:obs-midi$ ./CI/install-build-obs-macos.sh
[obs-midi] Downloading and unpacking OBS dependencies
./CI/install-build-obs-macos.sh: line 24: wget: command not found
tar: Error opening archive: Failed to open './osx-deps-2018-08-09.tar.gz'
[obs-midi] Cloning obs-studio from GitHub..
Cloning into 'obs-studio'...
remote: Enumerating objects: 99885, done.
remote: Counting objects: 100% (99884/99884), done.
remote: Compressing objects: 100% (28435/28435), done.
remote: Total 99885 (delta 69263), reused 99271 (delta 69009), pack-reused 1
Receiving objects: 100% (99885/99885), 67.88 MiB | 3.19 MiB/s, done.
Resolving deltas: 100% (69263/69263), done.
Updating files: 100% (4820/4820), done.
Note: switching to '29.1.0'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by switching back to a branch.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -c with the switch command. Example:

  git switch -c <new-branch-name>

Or undo this operation with:

  git switch -

Turn off this advice by setting config variable advice.detachedHead to false

HEAD is now at 34e3d6415 libobs: Update version to 29.1.0
[obs-midi] Building obs-studio..
-- OBS:  Application Version: 29.1.0 - Build Number: 1
-- The C compiler identification is AppleClang 14.0.0.14000029
-- The CXX compiler identification is AppleClang 14.0.0.14000029
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found OpenGL: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.1.sdk/System/Library/Frameworks/OpenGL.framework   
-- Found FFmpeg: /opt/local/lib/../lib/libavcodec.dylib (found version "58.134.100") found components: avcodec avdevice avutil avformat 
-- Found CURL: /opt/local/lib/libcurl.dylib (found version "7.86.0")  
-- OBS:  DISABLED   obs-scripting
-- OBS:  Jansson >=2.5 not found, building bundled version.
CMake Warning (dev) at deps/jansson/CMakeLists.txt:38 (project):
  Policy CMP0048 is not set: project() command manages VERSION variables.
  Run "cmake --help-policy CMP0048" for policy details.  Use the cmake_policy
  command to set the policy and suppress this warning.

  The following variable(s) would be set to empty:

    PROJECT_VERSION
    PROJECT_VERSION_MAJOR
    PROJECT_VERSION_MINOR
    PROJECT_VERSION_PATCH
This warning is for project developers.  Use -Wno-dev to suppress it.

C compiler: Clang
-- Looking for include file endian.h
-- Looking for include file endian.h - not found
-- Looking for include file fcntl.h
-- Looking for include file fcntl.h - found
-- Looking for include file sched.h
-- Looking for include file sched.h - found
-- Looking for include file unistd.h
-- Looking for include file unistd.h - found
-- Looking for include file sys/param.h
-- Looking for include file sys/param.h - found
-- Looking for include file sys/stat.h
-- Looking for include file sys/stat.h - found
-- Looking for include file sys/time.h
-- Looking for include file sys/time.h - found
-- Looking for include file sys/time.h
-- Looking for include file sys/time.h - found
-- Looking for close
-- Looking for close - found
-- Looking for getpid
-- Looking for getpid - found
-- Looking for gettimeofday
-- Looking for gettimeofday - found
-- Looking for open
-- Looking for open - found
-- Looking for read
-- Looking for read - found
-- Looking for sched_yield
-- Looking for sched_yield - found
-- Looking for include file stdint.h
-- Looking for include file stdint.h - found
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Check size of __int64
-- Check size of __int64 - failed
-- Check size of int64_t
-- Check size of int64_t - done
-- Check size of long long
-- Check size of long long - done
-- Check size of int32_t
-- Check size of int32_t - done
-- Check size of __int32
-- Check size of __int32 - failed
-- Check size of long
-- Check size of long - done
-- Check size of int
-- Check size of int - done
-- Check size of unsigned long
-- Check size of unsigned long - done
-- Check size of unsigned int
-- Check size of unsigned int - done
-- Check size of unsigned short
-- Check size of unsigned short - done
-- Check size of uint32_t
-- Check size of uint32_t - done
-- Check size of __uint32
-- Check size of __uint32 - failed
-- Check size of uint16_t
-- Check size of uint16_t - done
-- Check size of __uint16
-- Check size of __uint16 - failed
-- Check size of uint8_t
-- Check size of uint8_t - done
-- Check size of __uint8
-- Check size of __uint8 - failed
-- Check size of ssize_t
-- Check size of ssize_t - done
-- Check size of SSIZE_T
-- Check size of SSIZE_T - failed
-- Looking for strtoll
-- Looking for strtoll - found
-- Looking for strtoq
-- Looking for strtoq - found
-- Looking for _strtoi64
-- Looking for _strtoi64 - not found
-- Looking for include file locale.h
-- Looking for include file locale.h - found
-- Looking for localeconv
-- Looking for localeconv - found
-- Looking for setlocale
-- Looking for setlocale - found
-- Performing Test HAVE_INLINE
-- Performing Test HAVE_INLINE - Success
-- Performing Test HAVE___INLINE
-- Performing Test HAVE___INLINE - Success
-- Performing Test HAVE___INLINE__
-- Performing Test HAVE___INLINE__ - Success
-- Performing Test HAVE_SYNC_BUILTINS
-- Performing Test HAVE_SYNC_BUILTINS - Success
-- Performing Test HAVE_ATOMIC_BUILTINS
-- Performing Test HAVE_ATOMIC_BUILTINS - Success
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE  
-- Found FFmpeg: /opt/local/lib/libavformat.dylib (found version "58.76.100") found components: avformat avutil swscale swresample avcodec 
-- Found ZLIB: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.1.sdk/usr/lib/libz.tbd (found version "1.2.11")  
-- Performing Test HAVE_STDATOMIC
-- Performing Test HAVE_STDATOMIC - Success
-- OBS:  Qt version: 6
-- Performing Test COMPILER_HAS_HIDDEN_VISIBILITY
-- Performing Test COMPILER_HAS_HIDDEN_VISIBILITY - Success
-- Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY
-- Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY - Success
-- Performing Test COMPILER_HAS_DEPRECATED_ATTR
-- Performing Test COMPILER_HAS_DEPRECATED_ATTR - Success
-- OBS:  Building with plugins disabled.
-- Found FFmpeg: /opt/local/lib/libavcodec.dylib (found version "58.134.100") found components: avcodec avutil avformat 
-- Found WrapOpenGL: TRUE  
-- Could NOT find WrapVulkanHeaders (missing: Vulkan_INCLUDE_DIR) 
-- OBS:  ENABLED    frontend-tools
-- Could NOT find WrapVulkanHeaders (missing: Vulkan_INCLUDE_DIR) 
-- Configuring done (25.8s)
-- Generating done (0.4s)
CMake Warning:
  Manually-specified variables were not used by the project:

    DepsPath


-- Build files have been written to: /Users//Downloads/obs-studio/build
[  1%] Building C object deps/libcaption/CMakeFiles/caption.dir/src/caption.c.o
[  1%] Building C object deps/glad/CMakeFiles/obsglad.dir/src/glad.c.o
[  1%] Building C object deps/libcaption/CMakeFiles/caption.dir/src/cea708.c.o
[  1%] Building C object deps/jansson/CMakeFiles/jansson.dir/src/dump.c.o
error: unknown warning option '-Wno-format-truncation' [-Werror,-Wunknown-warning-option]
make[2]: *** [deps/jansson/CMakeFiles/jansson.dir/src/dump.c.o] Error 1
make[1]: *** [deps/jansson/CMakeFiles/jansson.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[  2%] Building C object deps/libcaption/CMakeFiles/caption.dir/src/eia608.c.o
[  2%] Building C object deps/libcaption/CMakeFiles/caption.dir/src/eia608_charmap.c.o
[  3%] Building C object deps/libcaption/CMakeFiles/caption.dir/src/eia608_from_utf8.c.o
[  3%] Building C object deps/libcaption/CMakeFiles/caption.dir/src/mpeg.c.o
[  3%] Building C object deps/libcaption/CMakeFiles/caption.dir/src/srt.c.o
[  4%] Building C object deps/libcaption/CMakeFiles/caption.dir/src/scc.c.o
[  4%] Building C object deps/libcaption/CMakeFiles/caption.dir/src/utf8.c.o
[  5%] Building C object deps/libcaption/CMakeFiles/caption.dir/src/xds.c.o
[  5%] Linking C static library libcaption.a
[  5%] Built target caption
[  6%] Linking C static library libobsglad.a
[  6%] Built target obsglad
make: *** [all] Error 2
Pewter:obs-midi$ ./CI/build-macos.sh
cat: /Users//Downloads/obs-midi/.github/workflows/main.yml: No such file or directory
cat: /Users//Downloads/obs-midi/.github/workflows/main.yml: No such file or directory
cat: /Users//Downloads/obs-midi/.github/workflows/main.yml: No such file or directory
cat: /Users//Downloads/obs-midi/.github/workflows/main.yml: No such file or directory
cat: /Users//Downloads/obs-midi/.github/workflows/main.yml: No such file or directory
cat: /Users//Downloads/obs-midi/.github/workflows/main.yml: No such file or directory
  + Check macOS version...
  + Check Architecture...
  + Fetching version tags...
[obs-plugin] Installing Homebrew dependencies
==> Tapping homebrew/bundle
Cloning into '/usr/local/Homebrew/Library/Taps/homebrew/homebrew-bundle'...
remote: Enumerating objects: 7200, done.
remote: Counting objects: 100% (7200/7200), done.
remote: Compressing objects: 100% (2846/2846), done.
remote: Total 7200 (delta 4258), reused 7084 (delta 4196), pack-reused 0
Receiving objects: 100% (7200/7200), 1.67 MiB | 1.17 MiB/s, done.
Resolving deltas: 100% (4258/4258), done.
Tapped 1 command (103 files, 2MB).
==> Downloading https://formulae.brew.sh/api/formula.jws.json
###################################################################################################################################### 100.0%
Using cmake
Installing ninja
Homebrew Bundle complete! 2 Brewfile dependencies now installed.
[obs-plugin] Set up precompiled macOS OBS dependencies v
  + Download...
###################################################################################################################################### 100.0%
/Users//Downloads/obs-midi/CI/include/build_support.sh: line 129: sha256sum: command not found
  + macos-deps--universal.tar.xz downloaded successfully and passed hash check
  + Unpack...
tar: Error opening archive: Unrecognized archive format
  + ERROR during build step: obs-deps
Pewter:obs-midi$ ./CI/package-macos.sh
[obs-midi] Preparing package build
[obs-midi] Modifying obs-midi.so
error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/install_name_tool: can't open file: ./build/obs-midi.so (No such file or directory)
@maksymm maksymm added the bug Something isn't working label Jun 28, 2023
@maksymm
Copy link
Author

maksymm commented Jul 22, 2023

any action on this?

@aaazv
Copy link

aaazv commented Aug 11, 2023

I agree on this bug on obs 29 version.

@andrew0302
Copy link

Same issue, with Ventura 13.4.1. Any action on this?

@baeisi
Copy link

baeisi commented Sep 4, 2023

Any idea if and when this will be fixed?

@RamonGebben
Copy link

Same issue here, no additional information to add. Just wanna keep the issue alive.

@DaveSkowron
Copy link

Probably never going to work

@ketanjain24
Copy link

Same problem for Sonoma 14.0. I hope this resolves soon

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

7 participants