Building VLC for iOS seems to reference OSC framework?

macOS specific usage questions
sita
New Cone
New Cone
Posts: 1
Joined: 24 Feb 2013 19:53

Building VLC for iOS seems to reference OSC framework?

Postby sita » 24 Feb 2013 20:10

I check out VLC from git, and if I try to build it it eventually fails due to not finding ApplicationServices/ApplicationServices.h. It is referenced from a file called mac.c:

Code: Select all

cd ImportedSources/vlc; ./extras/package/ios/build.sh /Users/simont/projects/vlc/ios/ImportedSources/vlc [info] Building libvlc for iOS [info] Using armv7 with SDK version 6.1 SDKROOT not specified, assuming /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.1.sdk [info] Building tools You are ready to build VLC and its contribs make: `.gas' is up to date. [info] Building contrib for iOS in '/Users/simont/projects/vlc/ios/ImportedSources/vlc/contrib/iPhoneOS-armv7' [info] LD FLAGS SELECTED = '-L/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.1.sdk/usr/lib -arch armv7 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.1.sdk -miphoneos-version-min=5.1' /Users/simont/projects/vlc/ios/ImportedSources/vlc make: Nothing to be done for `all'. [info] Bootstraping vlc /Users/simont/projects/vlc/ios/ImportedSources/vlc [info] VLCROOT = /Users/simont/projects/vlc/ios/ImportedSources/vlc [info] Bootstraping vlc finished [info] >> --prefix=/Users/simont/projects/vlc/ios/ImportedSources/vlc/install-ios-OS/armv7 --host=arm-apple-darwin11 [info] Building libvlc /Users/simont/projects/vlc/ios/ImportedSources/vlc/modules/access/screen/mac.c:41:9: fatal error: 'ApplicationServices/ApplicationServices.h' file not found #import <ApplicationServices/ApplicationServices.h> ^ 1 error generated. make[5]: *** [libscreen_plugin_la-mac.lo] Error 1 make[5]: *** Waiting for unfinished jobs.... make[4]: *** [all-recursive] Error 1 make[3]: *** [all] Error 2 make[2]: *** [all-recursive] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2
What am I doing wrong?

/Simon

(PS The URL in the HOWTO doesn't match where I cloned from. Is that significant? DS

fkuehne
Developer
Developer
Posts: 7264
Joined: 16 Mar 2004 19:37
VLC version: 0.4.6 - present
Operating System: Darwin
Location: Germany
Contact:

Re: Building VLC for iOS seems to reference OSC framework?

Postby fkuehne » 25 Feb 2013 01:45

Add --disable-screen to the configure line or wait until I do it, soon.

No idea where you see the reference to OSC though. Screen is just a Mac-only moduled which is getting compiled for iOS by accident.
VideoLAN
Felix Paul Kühne
Medic. VLC developer for appleOS since before you were born.
Blog: https://www.feepk.net

kiddnesta
New Cone
New Cone
Posts: 3
Joined: 19 Feb 2013 15:05

Re: Building VLC for iOS seems to reference OSC framework?

Postby kiddnesta » 25 Feb 2013 04:15

I check out VLC from git, and if I try to build it it eventually fails due to not finding ApplicationServices/ApplicationServices.h. It is referenced from a file called mac.c:

I have same problem.
Have you solved?
 

rikkles
Blank Cone
Blank Cone
Posts: 11
Joined: 03 Mar 2013 21:18

Re: Building VLC for iOS seems to reference OSC framework?

Postby rikkles » 04 Mar 2013 00:57

Add --disable-screen to the configure line or wait until I do it, soon.

No idea where you see the reference to OSC though. Screen is just a Mac-only moduled which is getting compiled for iOS by accident.
I did add --disable-screen in the shell build script but it seems screen is still being compiled. I also verified that the configuration script wasn't requesting libscreen to be built, something is fishy. Please see viewtopic.php?f=12&t=108691#p368498


Return to “VLC media player for macOS Troubleshooting”

Who is online

Users browsing this forum: No registered users and 22 guests