Skip to content
This repository has been archived by the owner on Dec 5, 2022. It is now read-only.

Compile QmlVlc for iOS Devices #20

Open
julienchevet opened this issue Aug 20, 2014 · 9 comments
Open

Compile QmlVlc for iOS Devices #20

julienchevet opened this issue Aug 20, 2014 · 9 comments

Comments

@julienchevet
Copy link

julienchevet commented Aug 20, 2014

I'm trying to compile your project QmlVlcDemo on iOS devices.

I have successfully compile it on a Mac by simply adding the vlc library compiled for mac osx in the .pro file, see code below :

X86_64 {
    LIBS += $$PWD/lib/libvlc.5.dylib
}

Then I have compiled VLC for iOS and tried to add it to the project like that :

armv7 {
    LIBS += $$PWD/lib/libMobileKit.a
}

I have tried with libvlc.a and libvlccore.a, but when I build I've got these issues :

Xcodebuild failed
symbol(s) not found for architecture armv7
linker command failed with exit code 1 (use -v to see invocation)

Do you think it's possible to compile QmlVlc for iOS Devices ? Can you help me do this ?

Build info :

Ide : Qt Creator 3.1.1 Based on Qt 5.2.1 (Clang 5.0 (Apple), 64 bit)
Mac osx compiler : Clang (x86 64bit)
iOS compiler : iphoneos-clang
VlcLib for Mac osx : https://wiki.videolan.org/OSXCompile/
MobileVlcKit for iOS : https://wiki.videolan.org/iOSCompile

@RSATom
Copy link
Owner

RSATom commented Aug 20, 2014

I think it's possible but I didn't try it yet. My current goal is solve same task for android (since I don't have developer license for iOS)

@mzafers
Copy link

mzafers commented Oct 27, 2014

Hello RSATom, thank you for this project. I run QmlVlcDemo on Win7,Ubuntu and see libvlc power. So I want to use QmlVlc on Android device. Can you please explain a little bit what must I do. I'm on Ubuntu 14, Qt5. Must we compile vlc-android and use compiled libs? In fact, I'm new on compiling. Can you please help me?

@RSATom
Copy link
Owner

RSATom commented Oct 27, 2014

I didn't try it with Android, so can't help you. Sorry.

You could start from: https://wiki.videolan.org/AndroidCompile/

@mzafers
Copy link

mzafers commented Nov 30, 2015

@julienchevet Same errors for me. Did you solve it?

@RSATom
Copy link
Owner

RSATom commented Nov 30, 2015

@mzafers, didn't hear somebody got it working on iOS.

@mpeniak
Copy link

mpeniak commented Feb 23, 2017

I am having the same problem, has anyone solved this yet?

@mzafers
Copy link

mzafers commented Feb 24, 2017

Sorry, I didn't try QmlVlc on IOS.

@modricl
Copy link

modricl commented May 10, 2017

Anyone managed to build for ios?

Stuck on:

Undefined symbols for architecture armv7:
  "_vlc_static_modules", referenced from:
      _module_LoadPlugins in libvlccore.a(bank.o)
ld: symbol(s) not found for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)

@AndFod
Copy link

AndFod commented Jun 27, 2017

I'm interested in using this approach on an iPhone/iOS as well.

Anyone any experiences with that? Got it working or gave up?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

6 participants