Closed virenbajaj closed 3 years ago
None of these should be required. We are not officially supporting Catalina as some of the 3rd party dependencies (such as GStreamer) are having issues with the file system protection. Disable the file system protection and retry installing.
Follow the readme to set the env variables for LD_LIBPATH and the plugin path for the GStreamer.
Please resolve once you've done.
I disabled file system protection:
csrutil status
System Integrity Protection status: disabled.
uninstalled gstreamer:
brew uninstall --ignore-dependencies gstreamer gst-plugins-base gst-plugins-good gst-plugins-bad gst-plugins-ugly gst-libav
then reinstalled it.
But I still get the same error.
Check out other Catalina related issues here:
For more info please reach out to GStreamer forums to get help installing and configuring.
One thing I noticed is that you have not installed GStreamer-app. Check out the Travis ci script in the root directory to properly install the prerequisites and to configure them
Closing due to staleness. Please try to resolve the issue with the GStreamer using GStreamer forums. Please cut a new issue with KVS specific questions.
Problem
I'm trying to build the sdk by following the README on my mac OS Catalina 10.15.7, but the command:
cmake .. -DBUILD_DEPENDENCIES=OFF -DBUILD_GSTREAMER_PLUGIN=ON
fails with error:Full output:
Tries:
1
I added the following code to CMakeLists.txt right after line
188 if(BUILD_GSTREAMER_PLUGIN)
2
Followed this issue and did
before running cmake. It didn't work. I also reinstalled gstreamer as the fix by @disa6302 suggested. It didn't work.
3
Before this, I was getting errors while installing log4cplus and gtest, despite running the commands given in the README. I rectified the gtest error by following this post on StackOverflow. The solution was basically downloading and building gtest from the github repo and then manually moving the generated lib and include files to /usr/local/lib and /usr/local/include. So by following the same pattern I moved the lib and include files from the Homebrew Cellar: /usr/local/Cellar to /usr/local as so:
cp -r /usr/local/Cellar/gstreamer/1.18.1/lib/ /usr/local/lib
andcp -r /usr/local/Cellar/gstreamer/1.18.1/include/ /usr/local/include
I was able to cmake without errors, then make successfully BUT running
gst-inspect-1.0 kvssink
gave the error:(process:74572): glib-gobject-critical **: 15:45:32.920: g_param_spec_pool_lookup: assertion 'pool != null' failed
Please help me understand how to make CMakeLists look for gstreamer in the Homebrew Cellar.