GStreamer1.2 and Object-C++ project

Andoni Morales ylatuya at gmail.com
Sat Oct 26 16:05:43 CEST 2013


2013/10/26 Kyrylo V Polezhaiev <polezhaiev at ukr.net>

>  -lstdc++?
>

By default XCode uses libc++ instead of libstdc++. You can change this
settings in Build Settings->C++ Standard Library

Cheers,
Andoni

>
>
> --- Original message ---
> From: "Elio Francesconi" <elio.francesconi at gmail.com>
> Date: 26 October 2013, 15:37:49
>
>   Hi all,
> I need to use GStreamer with a project written in Object-C++,  but when I
> link the project I receive this error:
>
>
> Ld
> /Users/elio/Library/Developer/Xcode/DerivedData/TestGstreamer1.2-eppjggzeluonidfwgtsjsdudxxkb/Build/Products/Debug-iphonesimulator/TestGstreamer1.2.app/TestGstreamer1.2
> normal i386
>     cd /Users/elio/Projects/tutorial/TestGstreamer1.2
>     setenv IPHONEOS_DEPLOYMENT_TARGET 6.0
>     setenv PATH
> "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/b
> in:/usr/sbin:/sbin"
>
> /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++
> -arch i386 -isysroot
> /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator7.0.sdk
> -L/Users/elio/Library/Developer/Xcode/DerivedData/TestGstreamer1.2-eppjggzeluonidfwgtsjsdudxxkb/Build/Products/Debug-iphonesimulator
> -F/Users/elio/Library/Developer/Xcode/DerivedData/TestGstreamer1.2-eppjggzeluonidfwgtsjsdudxxkb/Build/Products/Debug-iphonesimulator
> -F/Users/elio/Library/Developer/GStreamer/iPhone.sdk
> -F/Applications/Xcode.app/Contents/Developer/Library/Frameworks -filelist
> /Users/elio/Library/Developer/Xcode/DerivedData/TestGstreamer1.2-eppjggzeluonidfwgtsjsdudxxkb/Build/Intermediates/TestGstreamer1.2.build/Debug-iphonesimulator/TestGstreamer1.2.build/Objects-normal/i386/TestGstreamer1.2.LinkFileList
> -Xlinker -objc_abi_version -Xlinker 2 -lresolv -lstdc++ -frame work
> CoreFoundation -framework Foundation -framework AVFoundation -framework
> CoreMedia -framework CoreVideo -framework CoreAudio -framework AudioToolbox
> -framework OpenGLES -framework AssetsLibrary -framework QuartzCore
> -framework AssetsLibrary -fobjc-arc -fobjc-link-runtime -Xlinker
> -no_implicit_dylibs -stdlib=libc++ -mios-simulator-version-min=6.0
> -framework CoreGraphics -framework GStreamer -framework UIKit -framework
> Foundation -Xlinker -dependency_info -Xlinker
> /Users/elio/Library/Developer/Xcode/DerivedData/TestGstreamer1.2-eppjggzeluonidfwgtsjsdudxxkb/Build/Intermediates/TestGstreamer1.2.build/Debug-iphonesimulator/TestGstreamer1.2.build/Objects-normal/i386/TestGstreamer1.2_dependency_info.dat
> -o
> /Users/elio/Library/Developer/Xcode/DerivedData/TestGstreamer1.2-eppjggzeluonidfwgtsjsdudxxkb/Build/Products/Debug-iphonesimulator/TestGstreamer1.2.app/TestGstreamer1.2
>
> ld: warning: could not create compact unwind for .LFB3: non-standard
> register 5 being saved in prolog
> ld: '___cxx_global_var_init' in
> /Users/elio/Library/Developer/GStreamer/iPhone.sdk/GStreamer.framework/GStreamer(libgsttaglib_a_i386_-libgsttaglib_la-gstapev2mux.o)
> contains undefined reference for architecture i386
> clang: error: linker command failed with exit code 1 (use -v to see
> invocation)
>
> This issue is simple to reproduce, it is enough rename main.m into main.mma Gtreamer Project.
>
> Can someone give me some hints to solve it?
> Thanks
> Elio
>
> _______________________________________________
> gstreamer-devel mailing listgstreamer-devel at lists.freedesktop.orghttp://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
>


-- 
Andoni Morales Alastruey

LongoMatch:The Digital Coach
http://www.longomatch.ylatuya.es
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20131026/f89c56c7/attachment.html>


More information about the gstreamer-devel mailing list