carlosonunez / obs-installer-for-apple-silicon

Conveniently build and install OBS from source on your ultra-fast Apple M1 MacBook or Mac
206 stars 22 forks source link

Build fails on missing libvlc.h #42

Closed shrubberies closed 2 years ago

shrubberies commented 2 years ago

/.Confirmed fixed, builds 27.2.0-beta4 successfully. thx Carlos./

40%] Building C object plugins/vlc-video/CMakeFiles/vlc-video.dir/vlc-video-plugin.c.o In file included from /tmp/obs/plugins/vlc-video/vlc-video-plugin.c:6: /tmp/obs/plugins/vlc-video/vlc-video-plugin.h:2:10: fatal error: 'libvlc.h' file not found

include

     ^~~~~~~~~~

1 error generated. make[2]: [plugins/vlc-video/CMakeFiles/vlc-video.dir/vlc-video-plugin.c.o] Error 1 make[1]: [plugins/vlc-video/CMakeFiles/vlc-video.dir/all] Error 2 make: *** [all] Error 2

carlosonunez commented 2 years ago

Is vlc installed? brew info vlc

shrubberies commented 2 years ago

VLC is installed. Re-installed with same result. Tryimg to build 27.20-beta2 on Monterey 12.1 with current Xcode release.

shrubberies commented 2 years ago

MacBook-Air ~ % brew info vlc vlc: 3.0.16 (auto_updates) https://www.videolan.org/vlc/ /opt/homebrew/Caskroom/vlc/3.0.16 (2 files, 49.6KB) From: https://github.com/Homebrew/homebrew-cask/blob/HEAD/Casks/vlc.rb ==> Name VLC media player ==> Description Multimedia player ==> Artifacts VLC.app (App) /opt/homebrew/Caskroom/vlc/3.0.16/vlc.wrapper.sh -> vlc (Binary) ==> Analytics install: 8,470 (30 days), 25,102 (90 days), 93,969 (365 days)

carlosonunez commented 2 years ago

Do you get the same result when you git pull the latest commit from main? On Jan 5, 2022, 6:19 PM -0600, shrubberies @.***>, wrote:

MacBook-Air ~ % brew info vlc vlc: 3.0.16 (auto_updates) https://www.videolan.org/vlc/ /opt/homebrew/Caskroom/vlc/3.0.16 (2 files, 49.6KB) From: https://github.com/Homebrew/homebrew-cask/blob/HEAD/Casks/vlc.rb ==> Name VLC media player ==> Description Multimedia player ==> Artifacts VLC.app (App) /opt/homebrew/Caskroom/vlc/3.0.16/vlc.wrapper.sh -> vlc (Binary) ==> Analytics install: 8,470 (30 days), 25,102 (90 days), 93,969 (365 days) — Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android. You are receiving this because you commented.Message ID: @.***>

mikeev261 commented 2 years ago

I'm getting the same when building from master, or one of the recent 27.2 beta releases.

Building from default (27.1.3) works fine. So this seems to be an issue with the newer commits in the repo.

carlosonunez commented 2 years ago

Okay, thanks. Perhaps one of their dependencies changed. I'll try building against that release to see what's up.

mikeev261 commented 2 years ago

Anyone have luck figuring this one out yet?

carlosonunez commented 2 years ago

Thanks for using my script! I was able to repro and am pushing a fix later today. On Jan 23, 2022, 10:30 AM -0600, mikeev261 @.***>, wrote:

Anyone have luck figuring this one out yet? — Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android. You are receiving this because you commented.Message ID: @.***>

carlosonunez commented 2 years ago

Confirmed resolved. Please re-raise if you are still encountering this issue. Thanks!