Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Linking fails with gstreamer 1.15.2 on oF 0.10.1 #23

Open
woutgg opened this issue Apr 5, 2019 · 2 comments
Open

Linking fails with gstreamer 1.15.2 on oF 0.10.1 #23

woutgg opened this issue Apr 5, 2019 · 2 comments

Comments

@woutgg
Copy link
Contributor

woutgg commented Apr 5, 2019

The error occurs in a project created with the project generator (i.c.w. Xcode 8), without any modification:
ld: file not found: @rpath/lib/libgstcontroller-1.0.0.dylib for architecture x86_64.

I am not sure what the proper fix would be, but applying the patch below provides at least a temporary solution.

--- addon_config.mk.org	2019-04-05 22:49:35.000000000 +0200
+++ addon_config.mk	2019-04-05 22:53:03.000000000 +0200
@@ -110,6 +110,7 @@
 
 osx:
 	ADDON_LDFLAGS = -F/Library/Frameworks -framework GStreamer
+	ADDON_LDFLAGS += -L/Library/Frameworks/GStreamer.framework/Versions/Current/lib
 	ADDON_INCLUDES += /Library/Frameworks/GStreamer.framework/Headers
 	ADDON_SOURCES += $(OF_ROOT)/libs/openFrameworks/video/ofGstUtils.h
 	ADDON_SOURCES += $(OF_ROOT)/libs/openFrameworks/video/ofGstUtils.cpp
@arturoc
Copy link
Owner

arturoc commented Apr 6, 2019

That's strange cause supposedly the framework should have everything needed in it but can you send a PR anyway with this changes?

@woutgg
Copy link
Contributor Author

woutgg commented Apr 6, 2019

Strange indeed, as it works with 1.7 but not with 1.15.
I found at least one other person reporting the same issue.
See PR #24.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants