antimof / UxPlay

AirPlay Unix mirroring server
GNU General Public License v3.0
1.27k stars 177 forks source link

renderers/audio_renderer_gstreamer.c:22:10: fatal error: 'gst/gst.h' file not found #88

Open satoshinotdead opened 2 years ago

satoshinotdead commented 2 years ago

I tried to install PKGs and brew different Gstreamer (following README.MD) but stills no working.

I'm building on MacOS Monterrey.

`Mac UxPlay % make [ 18%] Built target playfair [ 30%] Built target llhttp [ 84%] Built target airplay [ 87%] Building C object renderers/CMakeFiles/renderers.dir/audio_renderer_gstreamer.c.o /Users/$USER/UxPlay/renderers/audio_renderer_gstreamer.c:22:10: fatal error: 'gst/gst.h' file not found

include <gst/gst.h>

     ^~~~~~~~~~~

1 error generated. make[2]: [renderers/CMakeFiles/renderers.dir/audio_renderer_gstreamer.c.o] Error 1 make[1]: [renderers/CMakeFiles/renderers.dir/all] Error 2`

I've installed on Debian with sucess (ATI weird propietary drivers problem but nothing with UxPlay)

Thanks for your time :)

fduncanh commented 2 years ago
  1. repost your issue at http://github.com/FDH2/UxPlay where development now takes place.

  2. you mention "brew" : are you building on macOS?

satoshinotdead commented 2 years ago
  1. repost your issue at http://github.com/FDH2/UxPlay where development now takes place.
  2. you mention "brew" : are you building on macOS? So I'm supposed to reply here but reposting too?

Sorry I just pick the repo with most issues, but I reposted as you suggested.

I'm building in macOS (and updated first message too).

fduncanh commented 2 years ago

I reproduced your issue. I found it's because of changes in the GStreamer for mac build. it now needs pkg-config to be run with --define-prefix option in CMakeList.txt in directory renderers, when cmake is run, I'll fix this in the next day or two, hopefully.

satoshinotdead commented 2 years ago

I reproduced your issue. I found it's because of changes in the GStreamer for mac build. it now needs pkg-config to be run with --define-prefix option in CMakeList.txt in directory renderers, when cmake is run, I'll fix this in the next day or two, hopefully.

Hi there! I tried to use with that path

export GST_PLUGINS_PATH=/usr/local/lib/gstreamer-1.0

But stills don't working. Plus tried to add --define-prefix option to CMakeList.txt but maybe I miss something doing it because It don't work too.

Thanks.

fduncanh commented 2 years ago

the antimof site is no longer involved in development: and is only passing down updates from the new UxPlay site

UxPlay on macOS works with either brew gstreamer, or gstreamer official. This has been verified.

Please say (1) which version of UxPlay you are using. I hope its the current github version. 1.52 Please get a fresh version.

The current version has --define-prefix option included in lib/CMakeLists.txt. Dont change anything.

. also, give full details of your problem : "not working" is not a useful report.

Did cmake work ? (if not give the error message)

Did make work ? if not, describe.

did sudo make install work ?

did uxplay work? if not, describe

Your should post the error messages of what ever did not work at the new UxPlay site