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

Keep getting errors when running install.sh #50

Open toineenzo opened 2 years ago

toineenzo commented 2 years ago

Hi,

I already tried a lot of times to make a built with the included install.sh script, but every time it stops at around 50% and gives the following error:

[ 53%] Building C object plugins/obs-filters/CMakeFiles/obs-filters.dir/noise-suppress-filter.c.o
[ 53%] Built target mac-decklink
[ 53%] Built target obs-transitions
[ 53%] Linking C shared module obs-filters.so
[ 53%] Built target obs-filters
make: *** [all] Error 2
[vr 25 feb 2022 20:46:15 CET] FATAL: Unable to build OBS; see above logs for more info. Try running this instead: REPACKAGE=true ./install.sh

and when I run REPACKAGE=true ./install.sh it gives me the same error.

I already tried to clean all packages, check for updates in all my package managers, install the LTS version and a newer version of node.js (if that's actually being used in the script), but that also didn't help. Does anybody know a solution?

You can find my full log here, which also contains a lot of errors: https://pastebin.com/VenXYaPq

toineenzo commented 2 years ago

Also, the Download Experimental Official Build-option DOES work and gives me not a single error. Here's a download for that: https://drive.google.com/file/d/1NaFN4Y7uQxhR7XGZErUFD6Sit5R5SLAY/view?usp=sharing

carlosonunez commented 2 years ago

Hello! Thanks for using my script.

It looks like the build script is having trouble finding libjansson:

/tmp/obs/plugins/obs-outputs/ftl-sdk/libftl/ingest.c:5:10: fatal error: 'jansson.h' file not found

I thought I fixed this a few releases ago; I'll see if I can repro.

carlosonunez commented 2 years ago

Can you try the latest build?

lurenJBD commented 2 years ago
error2

Can you try the latest build?

Still get same Error

Bash Raw output https://pastebin.com/uR2FErVk

lurenJBD commented 2 years ago
error2

Can you try the latest build?

Still get same Error

Bash Raw output https://pastebin.com/uR2FErVk

I think I find a way to fix it

fixit

download this two files form https://github.com/akheron/jansson/tree/master/src

and then put them to

/tmp/obs/plugins/obs-outputs/ftl-sdk/libftl/

then rename jansson_config.h.in to jansson_config.h

run the script again , Hope it would help you.