How to add Gstreamer to your project on xcode

Arvin6 arvindn995 at gmail.com
Wed Sep 20 12:36:52 UTC 2017


I'm pretty new to Mac development. This is what gets displayed.

clang: error: linker command failed with exit code 1 (use -v to see
invocation)

When I reveal in log.
Ld
DerivedData/DisplayX/Build/Products/Debug/DXDemo.app/Contents/MacOS/DXDemo
normal x86_64
    cd /Users/arvindn/Stuff/Arvind/displayx-master
    export MACOSX_DEPLOYMENT_TARGET=10.12
   
/Applications/Xcode8.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++
-arch x86_64 -isysroot
/Applications/Xcode8.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk
-L/Users/arvindn/Stuff/Arvind/displayx-master/DerivedData/DisplayX/Build/Products/Debug
-F/Users/arvindn/Stuff/Arvind/displayx-master/DerivedData/DisplayX/Build/Products/Debug
-F/Users/arvindn/Stuff/Arvind/displayx-master -F/Library/Frameworks
-filelist
/Users/arvindn/Stuff/Arvind/displayx-master/DerivedData/DisplayX/Build/Intermediates/DisplayX.build/Debug/DXDemo.build/Objects-normal/x86_64/DXDemo.LinkFileList
-Xlinker -rpath -Xlinker @executable_path/../Frameworks
-mmacosx-version-min=10.12 -Xlinker -object_path_lto -Xlinker
/Users/arvindn/Stuff/Arvind/displayx-master/DerivedData/DisplayX/Build/Intermediates/DisplayX.build/Debug/DXDemo.build/Objects-normal/x86_64/DXDemo_lto.o
-Xlinker -export_dynamic -Xlinker -no_deduplicate -fobjc-arc
-fobjc-link-runtime -framework GStreamer -framework opencv2 -framework
Security -framework ServiceManagement -framework IOKit -framework
CoreServices -framework OpenGL -framework Cocoa -Xlinker -dependency_info
-Xlinker
/Users/arvindn/Stuff/Arvind/displayx-master/DerivedData/DisplayX/Build/Intermediates/DisplayX.build/Debug/DXDemo.build/Objects-normal/x86_64/DXDemo_dependency_info.dat
-o
/Users/arvindn/Stuff/Arvind/displayx-master/DerivedData/DisplayX/Build/Products/Debug/DXDemo.app/Contents/MacOS/DXDemo

ld: file not found:
/Library/Frameworks/GStreamer.framework/Versions/1.0/lib/libgstcontroller-1.0.0.dylib
for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see
invocation)

Seems like libgstcontroller is missing.




--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/


More information about the gstreamer-devel mailing list