<html>
<body>
<span class="xfm_2356520173"><span style="font-family: Arial, 'Liberation Sans', 'DejaVu Sans', sans-serif; font-size: 14px; line-height: 18px;">-lstdc++?</span><br/><br/><div style="font-size: 0.9em; font-style: italic;"> --- Original message ---<br/> From: "Elio Francesconi" <<a href="mailto:elio.francesconi@gmail.com" target="_self">elio.francesconi@gmail.com</a>><br/> Date: 26 October 2013, 15:37:49<br/></div> <br/><blockquote class="xfmc0" style="border-left: 1px solid rgb(204, 204, 204); margin: 0px 0px 0px 0.8ex; padding-left: 1ex;"><span class="xfmc1">
<span> </span>
<span>Hi all,<div>I need to use GStreamer with a project written in Object-C++, but when I link the project I receive this error:</div><div><br/></div><div style="margin: 0px 0px 0px 12px; text-indent: -12px; font-size: 11px; font-family: Menlo;"><br/></div><div style="margin: 0px 0px 0px 12px; text-indent: -12px; font-size: 11px; font-family: Menlo;"><div style="margin: 0px 0px 0px 12px;">Ld /Users/elio/Library/Developer/Xcode/DerivedData/TestGstreamer1.2-eppjggzeluonidfwgtsjsdudxxkb/Build/Products/Debug-iphonesimulator/TestGstreamer1.2.app/TestGstreamer1.2 normal i386</div><div style="margin: 0px 0px 0px 12px;"> cd /Users/elio/Projects/tutorial/TestGstreamer1.2</div><div style="margin: 0px 0px 0px 12px;"> setenv IPHONEOS_DEPLOYMENT_TARGET 6.0</div><div style="margin: 0px 0px 0px 12px;"> 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"</div><div style="margin: 0px 0px 0px 12px;"> /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</div><div style="margin: 0px 0px 0px 12px;"><br/></div><div style="margin: 0px 0px 0px 12px;"><div style="margin: 0px 0px 0px 12px;">ld: warning: could not create compact unwind for .LFB3: non-standard register 5 being saved in prolog</div><div style="margin: 0px 0px 0px 12px;">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</div><div style="margin: 0px 0px 0px 12px;">clang: error: linker command failed with exit code 1 (use -v to see invocation)</div><div><br/></div><div>This issue is simple to reproduce, it is enough rename main.m into main.mm a Gtreamer Project.</div><div><br/></div><div>Can someone give me some hints to solve it?</div><div>Thanks</div><div>Elio</div></div></div></span>
</span>
<pre>_______________________________________________
gstreamer-devel mailing list
<a href="mailto:gstreamer-devel@lists.freedesktop.org" target="_self">gstreamer-devel@lists.freedesktop.org</a>
<a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a>
</pre></blockquote></span>
<img src="https://freemail.ukr.net/api/public/message_read?a=hKm-vMJPPHu7y5W_e502BHagZNI5H83qWlFNfLTDLx-seSBO38_W0-R0grqFdnb12D1sTrCb_ZvEhPhucv9pHGvdkSxiZJ8VzQSxSf9El2cHBEFy4AqJzuPC0lCo" alt="" /> </body>
</html>