VLC build failure on the last step

iOS, iPad, iPhone, tvOS specific usage questions
wminghao
Blank Cone
Blank Cone
Posts: 18
Joined: 18 Mar 2014 00:26

VLC build failure on the last step

Postby wminghao » 26 Mar 2014 02:02

Hi,

I followed the instruction to build vlc on iOS for the simulator in release mode. My Xcode is 5.1, and mac OS lion

Here is what I run: sh ./compileVLCforiOS.sh -s

It took an hour, and eventually it failed at the end, here is the error:

info] Building MobileVLCKit (Aggregate static plugins, Release)
[info] Building MobileVLCKit (MobileVLCKit, Release)
[info] Build for iphonesimulator completed
[info] Building MobileVLCKit.framework
[info] Build of MobileVLCKit.framework completed
[info] Building MobileVLCKit (Aggregate static plugins, Release)
[info] Building MobileVLCKit (MobileVLCKit, Release)
[info] Building MediaLibraryKit (MediaLibraryKit, Release)
[info] Building upnpx (upnpx, Release)
[info] Building GTL (GTLTouchStaticLib, Release)
[info] Building CrashReporter (CrashReporter-iOS-Simulator, Release)
[info] Building QuincyLib (QuincyLib, Release)
[info] Building VLC for iOS (vlc-ios, Release)
2014-03-25 17:56:26.586 xcodebuild[76592:4303] DVTAssertions: Warning in /SourceCache/IDEXcode3ProjectSupport/IDEXcode3ProjectSupport-5067/Xcode3Core/LegacyProjects/Frameworks/DevToolsCore/DevToolsCore/SpecificationTypes/BuiltInSpecifications/Compilers/XCGccMakefileDependencies.m:76
Details: Failed to load dependencies output contents from ``/Users/wminghao/Develop/vlc-iOS/ios/build/VLC for iOS.build/Release-iphonesimulator/vlc-ios.build/Objects-normal/i386/VLCAboutViewController.d''. Error: Error Domain=NSCocoaErrorDomain Code=260 "The file “VLCAboutViewController.d” couldn’t be opened because there is no such file." UserInfo=0x7fde2a369ee0 {NSFilePath=/Users/wminghao/Develop/vlc-iOS/ios/build/VLC for iOS.build/Release-iphonesimulator/vlc-ios.build/Objects-normal/i386/VLCAboutViewController.d, NSUnderlyingError=0x7fde2a3edc90 "The operation couldn’t be completed. No such file or directory"}. User info: {
NSFilePath = "/Users/wminghao/Develop/vlc-iOS/ios/build/VLC for iOS.build/Release-iphonesimulator/vlc-ios.build/Objects-normal/i386/VLCAboutViewController.d";
NSUnderlyingError = "Error Domain=NSPOSIXErrorDomain Code=2 \"The operation couldn\U2019t be completed. No such file or directory\"";
}.
Function: void XCGccMakefileDependenciesParsePathsFromRuleFile(NSString *__strong, void (^__strong)(NSString *__strong))
Thread: <NSThread: 0x7fde2a368960>{name = (null), num = 10}
Please file a bug at http://bugreport.apple.com with this warning message and any useful information you can provide.
2014-03-25 17:56:26.586 xcodebuild[76592:6703] DVTAssertions: Warning in /SourceCache/IDEXcode3ProjectSupport/IDEXcode3ProjectSupport-5067/Xcode3Core/LegacyProjects/Frameworks/DevToolsCore/DevToolsCore/SpecificationTypes/BuiltInSpecifications/Compilers/XCGccMakefileDependencies.m:76
Details: Failed to load dependencies output contents from ``/Users/wminghao/Develop/vlc-iOS/ios/build/VLC for iOS.build/Release-iphonesimulator/vlc-ios.build/Objects-normal/i386/VLCDropboxController.d''. Error: Error Domain=NSCocoaErrorDomain Code=260 "The file “VLCDropboxController.d” couldn’t be opened because there is no such file." UserInfo=0x7fde2a592870 {NSFilePath=/Users/wminghao/Develop/vlc-iOS/ios/build/VLC for iOS.build/Release-iphonesimulator/vlc-ios.build/Objects-normal/i386/VLCDropboxController.d, NSUnderlyingError=0x7fde2a5927a0 "The operation couldn’t be completed. No such file or directory"}. User info: {
NSFilePath = "/Users/wminghao/Develop/vlc-iOS/ios/build/VLC for iOS.build/Release-iphonesimulator/vlc-ios.build/Objects-normal/i386/VLCDropboxController.d";
NSUnderlyingError = "Error Domain=NSPOSIXErrorDomain Code=2 \"The operation couldn\U2019t be completed. No such file or directory\"";
}.
Function: void XCGccMakefileDependenciesParsePathsFromRuleFile(NSString *__strong, void (^__strong)(NSString *__strong))
Thread: <NSThread: 0x7fde2a592760>{name = (null), num = 9}
Please file a bug at http://bugreport.apple.com with this warning message and any useful information you can provide.
2014-03-25 17:56:26.615 xcodebuild[76592:313] DVTAssertions: Warning in /SourceCache/IDEXcode3ProjectSupport/IDEXcode3ProjectSupport-5067/Xcode3Core/LegacyProjects/Frameworks/DevToolsCore/DevToolsCore/SpecificationTypes/BuiltInSpecifications/Compilers/XCGccMakefileDependencies.m:76
Details: Failed to load dependencies output contents from ``/Users/wminghao/Develop/vlc-iOS/ios/build/VLC for iOS.build/Release-iphonesimulator/vlc-ios.build/Objects-normal/i386/VLCPlaylistViewController.d''. Error: Error Domain=NSCocoaErrorDomain Code=260 "The file “VLCPlaylistViewController.d” couldn’t be opened because there is no such file." UserInfo=0x7fde2f0aadf0 {NSFilePath=/Users/wminghao/Develop/vlc-iOS/ios/build/VLC for iOS.build/Release-iphonesimulator/vlc-ios.build/Objects-normal/i386/VLCPlaylistViewController.d, NSUnderlyingError=0x7fde2f048f60 "The operation couldn’t be completed. No such file or directory"}. User info: {
NSFilePath = "/Users/wminghao/Develop/vlc-iOS/ios/build/VLC for iOS.build/Release-iphonesimulator/vlc-ios.build/Objects-normal/i386/VLCPlaylistViewController.d";
NSUnderlyingError = "Error Domain=NSPOSIXErrorDomain Code=2 \"The operation couldn\U2019t be completed. No such file or directory\"";
}.
Function: void XCGccMakefileDependenciesParsePathsFromRuleFile(NSString *__strong, void (^__strong)(NSString *__strong))
Thread: <NSThread: 0x7fde2ec81dc0>{name = (null), num = 11}
Please file a bug at http://bugreport.apple.com with this warning message and any useful information you can provide.
2014-03-25 17:56:26.833 xcodebuild[76592:3703] DVTAssertions: Warning in /SourceCache/IDEXcode3ProjectSupport/IDEXcode3ProjectSupport-5067/Xcode3Core/LegacyProjects/Frameworks/DevToolsCore/DevToolsCore/SpecificationTypes/BuiltInSpecifications/Compilers/XCGccMakefileDependencies.m:76
Details: Failed to load dependencies output contents from ``/Users/wminghao/Develop/vlc-iOS/ios/build/VLC for iOS.build/Release-iphonesimulator/vlc-ios.build/Objects-normal/i386/VLCSettingsController.d''. Error: Error Domain=NSCocoaErrorDomain Code=260 "The file “VLCSettingsController.d” couldn’t be opened because there is no such file." UserInfo=0x7fde2edc0e30 {NSFilePath=/Users/wminghao/Develop/vlc-iOS/ios/build/VLC for iOS.build/Release-iphonesimulator/vlc-ios.build/Objects-normal/i386/VLCSettingsController.d, NSUnderlyingError=0x7fde2eda9470 "The operation couldn’t be completed. No such file or directory"}. User info: {
NSFilePath = "/Users/wminghao/Develop/vlc-iOS/ios/build/VLC for iOS.build/Release-iphonesimulator/vlc-ios.build/Objects-normal/i386/VLCSettingsController.d";
NSUnderlyingError = "Error Domain=NSPOSIXErrorDomain Code=2 \"The operation couldn\U2019t be completed. No such file or directory\"";
}.
Function: void XCGccMakefileDependenciesParsePathsFromRuleFile(NSString *__strong, void (^__strong)(NSString *__strong))
Thread: <NSThread: 0x7fde2edb5eb0>{name = (null), num = 12}
Please file a bug at http://bugreport.apple.com with this warning message and any useful information you can provide.
2014-03-25 17:56:26.922 xcodebuild[76592:6b03] DVTAssertions: Warning in /SourceCache/IDEXcode3ProjectSupport/IDEXcode3ProjectSupport-5067/Xcode3Core/LegacyProjects/Frameworks/DevToolsCore/DevToolsCore/SpecificationTypes/BuiltInSpecifications/Compilers/XCGccMakefileDependencies.m:76
Details: Failed to load dependencies output contents from ``/Users/wminghao/Develop/vlc-iOS/ios/build/VLC for iOS.build/Release-iphonesimulator/vlc-ios.build/Objects-normal/i386/VLCDropboxTableViewController.d''. Error: Error Domain=NSCocoaErrorDomain Code=260 "The file “VLCDropboxTableViewController.d” couldn’t be opened because there is no such file." UserInfo=0x7fde2ecd5be0 {NSFilePath=/Users/wminghao/Develop/vlc-iOS/ios/build/VLC for iOS.build/Release-iphonesimulator/vlc-ios.build/Objects-normal/i386/VLCDropboxTableViewController.d, NSUnderlyingError=0x7fde2ec7b6c0 "The operation couldn’t be completed. No such file or directory"}. User info: {
NSFilePath = "/Users/wminghao/Develop/vlc-iOS/ios/build/VLC for iOS.build/Release-iphonesimulator/vlc-ios.build/Objects-normal/i386/VLCDropboxTableViewController.d";
NSUnderlyingError = "Error Domain=NSPOSIXErrorDomain Code=2 \"The operation couldn\U2019t be completed. No such file or directory\"";
}.
Function: void XCGccMakefileDependenciesParsePathsFromRuleFile(NSString *__strong, void (^__strong)(NSString *__strong))
Thread: <NSThread: 0x7fde2f0aadf0>{name = (null), num = 13}
Please file a bug at http://bugreport.apple.com with this warning message and any useful information you can provide.
** BUILD FAILED **


The following build commands failed:
CompileC build/VLC\ for\ iOS.build/Release-iphonesimulator/vlc-ios.build/Objects-normal/i386/VLCMovieViewController.o Sources/VLCMovieViewController.m normal i386 objective-c com.apple.compilers.llvm.clang.1_0.compiler
CompileC build/VLC\ for\ iOS.build/Release-iphonesimulator/vlc-ios.build/Objects-normal/i386/VLCPlaylistViewController.o Sources/VLCPlaylistViewController.m normal i386 objective-c com.apple.compilers.llvm.clang.1_0.compiler
CompileC build/VLC\ for\ iOS.build/Release-iphonesimulator/vlc-ios.build/Objects-normal/i386/VLCSettingsController.o Sources/VLCSettingsController.m normal i386 objective-c com.apple.compilers.llvm.clang.1_0.compiler
CompileC build/VLC\ for\ iOS.build/Release-iphonesimulator/vlc-ios.build/Objects-normal/i386/VLCAboutViewController.o Sources/VLCAboutViewController.m normal i386 objective-c com.apple.compilers.llvm.clang.1_0.compiler
CompileC build/VLC\ for\ iOS.build/Release-iphonesimulator/vlc-ios.build/Objects-normal/i386/VLCDropboxController.o Sources/VLCDropboxController.m normal i386 objective-c com.apple.compilers.llvm.clang.1_0.compiler
CompileC build/VLC\ for\ iOS.build/Release-iphonesimulator/vlc-ios.build/Objects-normal/i386/VLCDropboxTableViewController.o Sources/VLCDropboxTableViewController.m normal i386 objective-c com.apple.compilers.llvm.clang.1_0.compiler
(6 failures)

=========

I looked the build result directory and couldn't find the .d files mentioned. (i.e., VLCPlaylistViewController.d

ls -al build/VLC\ for\ iOS.build/Release-iphonesimulator/vlc-ios.build/Objects-normal/i386/VLCPlaylistViewController.*
-rw-r--r-- 1 wminghao staff 884 Mar 25 17:37 build/VLC for iOS.build/Release-iphonesimulator/vlc-ios.build/Objects-normal/i386/VLCPlaylistViewController.dia

==========
Does anyone have any clue why that's the case?

Thanks so much,

Howard

wminghao
Blank Cone
Blank Cone
Posts: 18
Joined: 18 Mar 2014 00:26

Re: VLC build failure on the last step

Postby wminghao » 27 Mar 2014 00:32

Seems like the build failed with a few Source files b/c of wrong import path:

i.e., VLCSettingsController.m
In file included from /Users/wminghao/Develop/vlc-iOS/ios/Sources/VLCSettingsController.m:16:
In file included from /Users/wminghao/Develop/vlc-iOS/ios/Sources/VLCAppDelegate.h:22:
/Users/wminghao/Develop/vlc-iOS/ios/ImportedSources/QuincyKit/client/iOS/BWQuincyManager.h:33:9: fatal error: 'CrashReporter/CrashReporter.h' file not found
#import <CrashReporter/CrashReporter.h>

Any clue how to resolve this?

wminghao
Blank Cone
Blank Cone
Posts: 18
Joined: 18 Mar 2014 00:26

Re: VLC build failure on the last step

Postby wminghao » 14 Apr 2014 21:05

Forget to update status.

Figured out, the way to build iOS.

https://wiki.videolan.org/VLCKit/

is the right place, where build is successful.

vs.

https://wiki.videolan.org/IOSCompile

Which gives me the error as indicated by the thread.


Return to “VLC for iOS, iPadOS and Apple TV”

Who is online

Users browsing this forum: No registered users and 7 guests