Error: file not found: @rpath/lib/libgstcontroller-1.0.0.dylib for architecture x86_64

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Error: file not found: @rpath/lib/libgstcontroller-1.0.0.dylib for architecture x86_64

logs
I'm pretty new to GStreamer, and I'm trying to follow the official tutorials
online. Despite copy-and-pasting the code straight from the webpage, and
following all the instructions on the installation of Gstreamer, I seem to
be getting an error I just can't figure out. Also, I'm using Xcode on a
MacBook.

The error reads:
/ld: file not found: @rpath/lib/libgstcontroller-1.0.0.dylib for
architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see
invocation)

I've added 'GStreamer.framework' under the 'Link Binary with Libraries'
section on the Build Phases tab.
I've also added '/Library/Frameworks/GStreamer.framework/Headers' to Header
Search Paths under Build Settings.

I know there was another guy who had the same issue on this forum, see  HERE
<http://gstreamer-devel.966125.n4.nabble.com/How-to-add-Gstreamer-to-your-project-on-xcode-td4684708.html>
.
He mentions he copied some files to the framework's lib folder from the
/opt/local/lib/ folder, but I do not have the opt file like he seems to
have.

I'm pretty lost at the moment, so thanks in advance for the help!



--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Error: file not found: @rpath/lib/libgstcontroller-1.0.0.dylib for architecture x86_64

seigo
Hello.
It became the same phenomenon with the version up of GStreamer, so I tried
various things by trial and error.

The build was successful as follows:

Add
"/Libraries/Framework/GStreamer.framework/Headers/libgstcontroller-1.0.0.dylib"
to "Linked Frameworks and Libries".

I hope it works well.



--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel