HSU-ANT/gstpeaq

Compiling on macOS 10.13

Opened this issue · 3 comments

I'm trying to compile this on macOS 10.13 but have run into difficulties. I installed the GStreamer.framework in /Library/Frameworks. I also simlinked the all of the directories in Versions/1.0 to the base directory (since at first xcode was complaining that it couldn't find glib.h). Where I'm stuck now is that xcode is halting with "ld: framework not found GStreamer". I have no idea why it can't find the framework as the correct directory is included in the search path (/Library/Frameworks), and the the GStreamer.framework is included in "Build Phases > Link Binary With Libraries". It's a long shot, but if someone had a helpful idea I would appreciate hearing it!

I'm afraid I cannot be of much help here since I'm not a Mac user. But please, if you figure out what to do, post here or better yet, open a PR adding instructions to INSTALL.OSX.

I just managed to compile and use the peaq CLI tool on macOS 10.15.3 without XCode by doing this:

  • Used brew to install gstreamer, gst-plugins-base and gst-plugins-good
  • Downloaded the latest released tarball of gstpeaq
  • ./configure --with-gstreamer=1.0 && make && make install

The resulting peaq executable seems to return the same values shown in the paper when applied to the ITU reference files in https://www.itu.int/rec/R-REC-BS.1387 .

If you could open a PR updating INSTALL.OSX with these instructions, that would be very much appreciated.