GStreamer1.2 and Object-C++ project

Elio Francesconi elio.francesconi at gmail.com
Sat Oct 26 14:37:26 CEST 2013


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:/bin:/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++ -framework 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.mm a Gtreamer Project.

Can someone give me some hints to solve it?
Thanks
Elio
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20131026/b0db17a3/attachment.html>


More information about the gstreamer-devel mailing list