vlc compile error for iOS?

macOS specific usage questions
jinlsg
Blank Cone
Blank Cone
Posts: 26
Joined: 11 Aug 2012 11:38

vlc compile error for iOS?

Postby jinlsg » 15 Aug 2012 12:46

cd ffmpeg && CC="xcrun clang" CXX="xcrun clang++" LD="xcrun ld" AR="xcrun ar" RANLIB="xcrun ranlib" STRIP="xcrun strip" PATH="/Users/lsg/MobileVLC/ImportedSources/vlc/contrib/i686-apple-darwin11/bin:/Users/lsg/MobileVLC/ImportedSources/vlc/extras/tools/build/bin:/Users/lsg/mobilevlc/ImportedSources/vlc/extras/tools/build/bin:/Users/lsg/mobilevlc/ImportedSources/vlc/contrib/i686-apple-darwin11/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin:/Users/lsg/mobilevlc/ImportedSources/vlc/extras/package/ios/resources" CPPFLAGS="-isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator5.1.sdk -arch i386 -miphoneos-version-min=5.0 -m32 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator5.1.sdk -miphoneos-version-min=5.0 -I/Users/lsg/MobileVLC/ImportedSources/vlc/contrib/i686-apple-darwin11/include" CFLAGS="-isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator5.1.sdk -arch i386 -miphoneos-version-min=5.0 -m32 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator5.1.sdk -miphoneos-version-min=5.0 -I/Users/lsg/MobileVLC/ImportedSources/vlc/contrib/i686-apple-darwin11/include" CXXFLAGS="-isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator5.1.sdk -arch i386 -miphoneos-version-min=5.0 -m32 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator5.1.sdk -miphoneos-version-min=5.0 -I/Users/lsg/MobileVLC/ImportedSources/vlc/contrib/i686-apple-darwin11/include" LDFLAGS="-syslibroot=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator5.1.sdk/ -arch i386 -m32 -Wl,-syslibroot,/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator5.1.sdk -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator5.1.sdk -miphoneos-version-min=5.0 -L/Users/lsg/MobileVLC/ImportedSources/vlc/contrib/i686-apple-darwin11/lib" ./configure \
--extra-cflags="-DHAVE_LRINTF --std=gnu99 -DHAVE_STDINT_H" \
--extra-ldflags="-syslibroot=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator5.1.sdk/ -arch i386 -m32 -Wl,-syslibroot,/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator5.1.sdk -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator5.1.sdk -miphoneos-version-min=5.0 -L/Users/lsg/MobileVLC/ImportedSources/vlc/contrib/i686-apple-darwin11/lib" --cc="xcrun clang" --disable-doc --disable-decoder=libvpx --disable-decoder=bink --enable-libgsm --enable-libopenjpeg --disable-debug --disable-avdevice --disable-devices --disable-avfilter --disable-asm --disable-filters --disable-encoders --disable-muxers --enable-small --optflags=-O2 --enable-cross-compile --arch=x86 --arch=i386 --target-os=darwin --enable-memalign-hack --enable-pic --as="xcrun as" --disable-decoder=snow --enable-pthreads \
--prefix="/Users/lsg/MobileVLC/ImportedSources/vlc/contrib/i686-apple-darwin11" --enable-static --disable-shared

jinlsg
Blank Cone
Blank Cone
Posts: 26
Joined: 11 Aug 2012 11:38

Re: vlc compile error for iOS?

Postby jinlsg » 15 Aug 2012 12:49

when i compile vlc use -s,
./buildmobilevlc.sh -s

when output above info ,the compile is no response.
how to fix it?
thanks

jinlsg
Blank Cone
Blank Cone
Posts: 26
Joined: 11 Aug 2012 11:38

Re: vlc compile error for iOS?

Postby jinlsg » 16 Aug 2012 03:39

who can help?

yamanu
New Cone
New Cone
Posts: 1
Joined: 30 Aug 2012 14:38

Re: vlc compile error for iOS?

Postby yamanu » 30 Aug 2012 14:50

Quick fix: see MobileVLC/ImportedSources/vlc/contrib/iPhoneSimulator/ffmpeg/configure, function probe_cc. Probes with 'xcrun as -v' never return, as command expects input. Correcting the call

probe_cc as "$as"

with

probe_cc as "$as < /dev/null"

should solve the issue. But there is similar thing with iconv...

dongyafeiying
Blank Cone
Blank Cone
Posts: 22
Joined: 17 Aug 2012 03:36

Re: vlc compile error for iOS?

Postby dongyafeiying » 04 Sep 2012 02:40

Quick fix: see MobileVLC/ImportedSources/vlc/contrib/iPhoneSimulator/ffmpeg/configure, function probe_cc. Probes with 'xcrun as -v' never return, as command expects input. Correcting the call

probe_cc as "$as"

with

probe_cc as "$as < /dev/null"

should solve the issue. But there is similar thing with iconv...

can you help me to solv my problem:

Code: Select all

[info] Building MobileVLC (MobileVLC) Build settings from command line: SDKROOT = iphoneos5.0 === BUILD NATIVE TARGET MobileVLC OF PROJECT MobileVLC WITH CONFIGURATION Release === Check dependencies Ld build/Release-iphoneos/VLC.app/VLC normal armv7 cd /Users/**/MobileVLC setenv IPHONEOS_DEPLOYMENT_TARGET 5.0 setenv PATH "/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/local/git/bin:/usr/X11/bin:/Users/**/Documents/android-sdk-macosx/tools" /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/clang -arch armv7 -isysroot /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.0.sdk -L/Users/**/MobileVLC/build/Release-iphoneos -L/Users/**/MobileVLC/External/MobileVLCKit -L/Users/**/MobileVLC/External/MediaLibraryKit -F/Users/**/MobileVLC/build/Release-iphoneos -filelist /Users/**/MobileVLC/build/MobileVLC.build/Release-iphoneos/MobileVLC.build/Objects-normal/armv7/VLC.LinkFileList -dead_strip -Wl,-no_pie -miphoneos-version-min=5.0 -framework Foundation -framework UIKit -framework CoreGraphics -framework OpenGLES -framework AudioToolbox -framework QuartzCore -liconv -lz /Users/**/MobileVLC/ImportedSources/VLCKit/build/Release-iphoneos/libMobileVLCKit.a /Users/**/MobileVLC/ImportedSources/MediaLibraryKit/build/Release-iphoneos/libMobileMediaLibraryKit.a -lsqlite3 -lstdc++.6 -lbz2 -lxml2 -framework CoreData -framework CoreText -framework MediaPlayer -o /Users/**/MobileVLC/build/Release-iphoneos/VLC.app/VLC ld: '_AmplifyFloat' in /Users/**/MobileVLC/ImportedSources/VLCKit/build/Release-iphoneos/libMobileVLCKit.a(libvolume_neon_plugin_la-volume.o) contains undefined reference for architecture armv7 Command /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/clang failed with exit code 1


Return to “VLC media player for macOS Troubleshooting”

Who is online

Users browsing this forum: No registered users and 11 guests