[MacPorts] #56781: gstreamer1-gst-plugins-bad @1.14.1_1: error: unknown type name 'CGLError'
MacPorts
noreply at macports.org
Tue Jul 31 05:51:45 UTC 2018
#56781: gstreamer1-gst-plugins-bad @1.14.1_1: error: unknown type name 'CGLError'
-----------------------------------------+--------------------
Reporter: Blokkendoos | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.5.3
Resolution: | Keywords:
Port: gstreamer1-gst-plugins-bad |
-----------------------------------------+--------------------
Comment (by arappe):
May I suggest a work-around.
A. Error reported by Blokkendoos
Problem: error: unknown type name 'CGLError'; did you mean 'GError'?
Fix. 1. Activate non-x11 versions of all gstreamer1 +x11 packages.
2. Upgrade gstreamer1-gst-plugins-bad
3. Activate non-x11 versions of all gstreamer1 packages.
I had the above error. The following works for me:
sudo port activate gstreamer1-gst-plugins-base @1.14.1_5+cocoa+ogg
sudo port activate gstreamer1-gst-plugins-good @1.12.4_1+pulseaudio
sudo port upgrade gstreamer1-gst-plugins-good @1.12.4_1+pulseaudio
sudo port upgrade gstreamer1-gst-plugins-bad
sudo port activate gstreamer1-gst-plugins-base @1.14.1_5+ogg+x11
sudo port activate gstreamer1-gst-plugins-good @1.14.1_1+pulseaudio+x11
sudo port rev-upgrade
B. Error reported by mopihopi
Problem: fatal error: 'gst/gl/gl.h' file not found
I had a different file missing. Mine was provided by gstreamer1.
Fix:
sudo port deactivate gstreamer1
sudo port activate gstreamer1
(the missing file was then found in the right place)
So, I am **guessing** that to fix the missing gst/gl/gl.h... (a guess)
port provides /opt/local/include/gstreamer-1.0/gst/gl/gl.h
/opt/local/include/gstreamer-1.0/gst/gl/gl.h is provided by: gstreamer1
-gst-plugins-base
So I would guess
sudo port deactivate gstreamer1-gst-plugins-base
sudo port activate gstreamer1-gst-plugins-base
See how this goes and report progress or problems.
I hope this was helpful.
--
Ticket URL: <https://trac.macports.org/ticket/56781#comment:12>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list