[vlc-devel] MobileVLC compile problems

zongfei zhang zongfei.zhang at gmail.com
Thu Dec 2 06:51:07 CET 2010


Hi, Pierre d'Herbemont

Thanks a lot. I switched to iOS4.2 and rebuild again, it works like a charm.
Actually , I'm trying to make it run in iOS 3.1, is it possible? would you
please to give me some instructions to do that?

On Wed, Dec 1, 2010 at 5:30 AM, Pierre d'Herbemont <pdherbemont at free.fr>wrote:

> On Tue, Nov 30, 2010 at 4:03 PM, zongfei zhang <zongfei.zhang at gmail.com>
> wrote:
> > hi all,
> > I am trying to compile MobileVLC for iphone simulator following the steps
> > described at :http://wiki.videolan.org/MobileVLC , I met the problems
> below,
> > please help me.
> > thanks in advance.
> >
> > Ld build/Debug-iphonesimulator/VLC.app/VLC normal i386
> >
> > cd /Users/zongfeizhang/Documents/xcode_project/VLC_Mobile/MobileVLC
> >
> > setenv MACOSX_DEPLOYMENT_TARGET 10.5
> >
> > setenv PATH
> >
> "/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
> >
> > /Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/gcc-4.2
> > -arch i386 -isysroot
> >
> /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator3.2.sdk
> >
> -L/Users/zongfeizhang/Documents/xcode_project/VLC_Mobile/MobileVLC/build/Debug-iphonesimulator
> >
> -L/Users/zongfeizhang/Documents/xcode_project/VLC_Mobile/MobileVLC/External/MobileVLCKit
> >
> -L/Users/zongfeizhang/Documents/xcode_project/VLC_Mobile/MobileVLC/External/MediaLibraryKit
> >
> -F/Users/zongfeizhang/Documents/xcode_project/VLC_Mobile/MobileVLC/build/Debug-iphonesimulator
> > -filelist
> >
> /Users/zongfeizhang/Documents/xcode_project/VLC_Mobile/MobileVLC/build/MobileVLC.build/Debug-iphonesimulator/MobileVLC.build/Objects-normal/i386/VLC.LinkFileList
> > -mmacosx-version-min=10.5 -lMobileVLCKit -framework Foundation -framework
> > UIKit -framework CoreGraphics -framework OpenGLES -framework AudioToolbox
> > -framework QuartzCore -liconv -lz -lsqlite3 -lstdc++.6 -lbz2 -lxml2
> > -framework CoreData -lMobileMediaLibraryKit -framework CoreText
> -framework
> > MediaPlayer -o
> >
> /Users/zongfeizhang/Documents/xcode_project/VLC_Mobile/MobileVLC/build/Debug-iphonesimulator/VLC.app/VLC
> >
> > ld: warning: can't add line info to anonymous symbol
> > __ZL7ConnectP7demux_t.lsda from
> >
> /Users/zongfeizhang/Documents/xcode_project/VLC_Mobile/MobileVLC/External/MobileVLCKit/libMobileVLCKit.a(liblive555_plugin_la-live555.o)
> >
> > Undefined symbols:
> >
> >   "_OBJC_CLASS_$_CAEAGLLayer", referenced from:
> >
> >       objc-class-ref-to-CAEAGLLayer in
> > libMobileVLCKit.a(libvout_ios_plugin_la-ios.o)
> >
> >   "___objc_personality_v0", referenced from:
> >
> >       ___objc_personality_v0$non_lazy_ptr in
> > libMobileVLCKit.a(libvout_ios_plugin_la-ios.o)
> >
> >      (maybe you meant: ___objc_personality_v0$non_lazy_ptr)
> >
> >   "_OBJC_CLASS_$_EAGLContext", referenced from:
> >
> >       objc-class-ref-to-EAGLContext in
> > libMobileVLCKit.a(libvout_ios_plugin_la-ios.o)
> >
> >   "_OBJC_CLASS_$_NSAutoreleasePool", referenced from:
> >
> >       objc-class-ref-to-NSAutoreleasePool in
> > libMobileVLCKit.a(libvout_ios_plugin_la-ios.o)
> >
> >   "_OBJC_CLASS_$_NSString", referenced from:
> >
> >       objc-class-ref-to-NSString in
> > libMobileVLCKit.a(libvout_ios_plugin_la-ios.o)
> >
> >   "_OBJC_CLASS_$_NSAssertionHandler", referenced from:
> >
> >       objc-class-ref-to-NSAssertionHandler in
> > libMobileVLCKit.a(libvout_ios_plugin_la-ios.o)
> >
> >   "_objc_msgSendSuper2", referenced from:
> >
> >       -[VLCOpenGLESVideoView dealloc] in
> > libMobileVLCKit.a(libvout_ios_plugin_la-ios.o)
> >
> >       -[VLCOpenGLESVideoView initWithFrame:andVOutDisplay:] in
> > libMobileVLCKit.a(libvout_ios_plugin_la-ios.o)
> >
> >   "_OBJC_METACLASS_$_UIView", referenced from:
> >
> >       _OBJC_METACLASS_$_VLCOpenGLESVideoView in
> > libMobileVLCKit.a(libvout_ios_plugin_la-ios.o)
> >
> >   "__objc_empty_vtable", referenced from:
> >
> >       _OBJC_METACLASS_$_VLCOpenGLESVideoView in
> > libMobileVLCKit.a(libvout_ios_plugin_la-ios.o)
> >
> >       _OBJC_CLASS_$_VLCOpenGLESVideoView in
> > libMobileVLCKit.a(libvout_ios_plugin_la-ios.o)
> >
> >   "_OBJC_METACLASS_$_NSObject", referenced from:
> >
> >       _OBJC_METACLASS_$_VLCOpenGLESVideoView in
> > libMobileVLCKit.a(libvout_ios_plugin_la-ios.o)
> >
> >   "_OBJC_CLASS_$_NSDictionary", referenced from:
> >
> >       objc-class-ref-to-NSDictionary in
> > libMobileVLCKit.a(libvout_ios_plugin_la-ios.o)
> >
> >   "_OBJC_CLASS_$_UIView", referenced from:
> >
> >       _OBJC_CLASS_$_VLCOpenGLESVideoView in
> > libMobileVLCKit.a(libvout_ios_plugin_la-ios.o)
> >
> >       objc-class-ref-to-UIView in
> > libMobileVLCKit.a(libvout_ios_plugin_la-ios.o)
> >
> > ld: symbol(s) not found
> >
> > collect2: ld returned 1 exit status
>
> Try to switch to the 4.2 SDK. It seems like you are mixing the old and
> the new objc ABI.
>
> Pierre.
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> http://mailman.videolan.org/listinfo/vlc-devel
>



-- 
Best Regards
Zongfei Zhang
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20101202/a5865b15/attachment.html>


More information about the vlc-devel mailing list