Thanks for your reply, <div><br></div><div>In fact , I have not install iOS4.2 SDK yet. I will try it later.</div><div><br></div><div>I comment out "<span class="Apple-style-span" style="font-family: Menlo; font-size: 11px; color: rgb(0, 131, 38); ">plugins+="video_output/vout_ios</span>" in "AggregateStaticPlugins.sh" from MobileVLCKit project , then I can build MobileVLC successfully, But when ran it in simulator, audio was ok, but there was no video output.</div>
<div><br></div><div>So, it seems that "<span class="Apple-style-span" style="font-family: Menlo; font-size: 11px; ">libMobileVLCKit.a" didn't link against with Object C frameworks.</span></div><div><span class="Apple-style-span" style="font-family: Menlo; font-size: 11px; ">is there something wrong with build script ?</span></div>
<div><br><br><div class="gmail_quote">On Wed, Dec 1, 2010 at 5:30 AM, Pierre d'Herbemont <span dir="ltr"><<a href="mailto:pdherbemont@free.fr">pdherbemont@free.fr</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div><div></div><div class="h5">On Tue, Nov 30, 2010 at 4:03 PM, zongfei zhang <<a href="mailto:zongfei.zhang@gmail.com">zongfei.zhang@gmail.com</a>> wrote:<br>
> hi all,<br>
> I am trying to compile MobileVLC for iphone simulator following the steps<br>
> described at :<a href="http://wiki.videolan.org/MobileVLC" target="_blank">http://wiki.videolan.org/MobileVLC</a> , I met the problems below,<br>
> please help me.<br>
> thanks in advance.<br>
><br>
> Ld build/Debug-iphonesimulator/VLC.app/VLC normal i386<br>
><br>
> cd /Users/zongfeizhang/Documents/xcode_project/VLC_Mobile/MobileVLC<br>
><br>
> setenv MACOSX_DEPLOYMENT_TARGET 10.5<br>
><br>
> setenv PATH<br>
> "/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"<br>
><br>
> /Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/gcc-4.2<br>
> -arch i386 -isysroot<br>
> /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator3.2.sdk<br>
> -L/Users/zongfeizhang/Documents/xcode_project/VLC_Mobile/MobileVLC/build/Debug-iphonesimulator<br>
> -L/Users/zongfeizhang/Documents/xcode_project/VLC_Mobile/MobileVLC/External/MobileVLCKit<br>
> -L/Users/zongfeizhang/Documents/xcode_project/VLC_Mobile/MobileVLC/External/MediaLibraryKit<br>
> -F/Users/zongfeizhang/Documents/xcode_project/VLC_Mobile/MobileVLC/build/Debug-iphonesimulator<br>
> -filelist<br>
> /Users/zongfeizhang/Documents/xcode_project/VLC_Mobile/MobileVLC/build/MobileVLC.build/Debug-iphonesimulator/MobileVLC.build/Objects-normal/i386/VLC.LinkFileList<br>
> -mmacosx-version-min=10.5 -lMobileVLCKit -framework Foundation -framework<br>
> UIKit -framework CoreGraphics -framework OpenGLES -framework AudioToolbox<br>
> -framework QuartzCore -liconv -lz -lsqlite3 -lstdc++.6 -lbz2 -lxml2<br>
> -framework CoreData -lMobileMediaLibraryKit -framework CoreText -framework<br>
> MediaPlayer -o<br>
> /Users/zongfeizhang/Documents/xcode_project/VLC_Mobile/MobileVLC/build/Debug-iphonesimulator/VLC.app/VLC<br>
><br>
> ld: warning: can't add line info to anonymous symbol<br>
> __ZL7ConnectP7demux_t.lsda from<br>
> /Users/zongfeizhang/Documents/xcode_project/VLC_Mobile/MobileVLC/External/MobileVLCKit/libMobileVLCKit.a(liblive555_plugin_la-live555.o)<br>
><br>
> Undefined symbols:<br>
><br>
>   "_OBJC_CLASS_$_CAEAGLLayer", referenced from:<br>
><br>
>       objc-class-ref-to-CAEAGLLayer in<br>
> libMobileVLCKit.a(libvout_ios_plugin_la-ios.o)<br>
><br>
>   "___objc_personality_v0", referenced from:<br>
><br>
>       ___objc_personality_v0$non_lazy_ptr in<br>
> libMobileVLCKit.a(libvout_ios_plugin_la-ios.o)<br>
><br>
>      (maybe you meant: ___objc_personality_v0$non_lazy_ptr)<br>
><br>
>   "_OBJC_CLASS_$_EAGLContext", referenced from:<br>
><br>
>       objc-class-ref-to-EAGLContext in<br>
> libMobileVLCKit.a(libvout_ios_plugin_la-ios.o)<br>
><br>
>   "_OBJC_CLASS_$_NSAutoreleasePool", referenced from:<br>
><br>
>       objc-class-ref-to-NSAutoreleasePool in<br>
> libMobileVLCKit.a(libvout_ios_plugin_la-ios.o)<br>
><br>
>   "_OBJC_CLASS_$_NSString", referenced from:<br>
><br>
>       objc-class-ref-to-NSString in<br>
> libMobileVLCKit.a(libvout_ios_plugin_la-ios.o)<br>
><br>
>   "_OBJC_CLASS_$_NSAssertionHandler", referenced from:<br>
><br>
>       objc-class-ref-to-NSAssertionHandler in<br>
> libMobileVLCKit.a(libvout_ios_plugin_la-ios.o)<br>
><br>
>   "_objc_msgSendSuper2", referenced from:<br>
><br>
>       -[VLCOpenGLESVideoView dealloc] in<br>
> libMobileVLCKit.a(libvout_ios_plugin_la-ios.o)<br>
><br>
>       -[VLCOpenGLESVideoView initWithFrame:andVOutDisplay:] in<br>
> libMobileVLCKit.a(libvout_ios_plugin_la-ios.o)<br>
><br>
>   "_OBJC_METACLASS_$_UIView", referenced from:<br>
><br>
>       _OBJC_METACLASS_$_VLCOpenGLESVideoView in<br>
> libMobileVLCKit.a(libvout_ios_plugin_la-ios.o)<br>
><br>
>   "__objc_empty_vtable", referenced from:<br>
><br>
>       _OBJC_METACLASS_$_VLCOpenGLESVideoView in<br>
> libMobileVLCKit.a(libvout_ios_plugin_la-ios.o)<br>
><br>
>       _OBJC_CLASS_$_VLCOpenGLESVideoView in<br>
> libMobileVLCKit.a(libvout_ios_plugin_la-ios.o)<br>
><br>
>   "_OBJC_METACLASS_$_NSObject", referenced from:<br>
><br>
>       _OBJC_METACLASS_$_VLCOpenGLESVideoView in<br>
> libMobileVLCKit.a(libvout_ios_plugin_la-ios.o)<br>
><br>
>   "_OBJC_CLASS_$_NSDictionary", referenced from:<br>
><br>
>       objc-class-ref-to-NSDictionary in<br>
> libMobileVLCKit.a(libvout_ios_plugin_la-ios.o)<br>
><br>
>   "_OBJC_CLASS_$_UIView", referenced from:<br>
><br>
>       _OBJC_CLASS_$_VLCOpenGLESVideoView in<br>
> libMobileVLCKit.a(libvout_ios_plugin_la-ios.o)<br>
><br>
>       objc-class-ref-to-UIView in<br>
> libMobileVLCKit.a(libvout_ios_plugin_la-ios.o)<br>
><br>
> ld: symbol(s) not found<br>
><br>
> collect2: ld returned 1 exit status<br>
<br>
</div></div>Try to switch to the 4.2 SDK. It seems like you are mixing the old and<br>
the new objc ABI.<br>
<br>
Pierre.<br>
_______________________________________________<br>
vlc-devel mailing list<br>
To unsubscribe or modify your subscription options:<br>
<a href="http://mailman.videolan.org/listinfo/vlc-devel" target="_blank">http://mailman.videolan.org/listinfo/vlc-devel</a><br>
</blockquote></div><br><br clear="all"><br>-- <br>Best Regards<br>Zongfei Zhang<br>
</div>