Page 1 of 1

VLCKit: compilation error with CompileC

Posted: 01 May 2014 13:15
by cpgcpg
Hi, for a few weeks I am having trouble compiling VLCKit ... here are the last few lines of the compile:

Code: Select all

[info] Building MobileVLCKit (Aggregate static plugins, Release) [info] Building MobileVLCKit (MobileVLCKit, Release) ** BUILD FAILED ** The following build commands failed: CompileC build/MobileVLCKit.build/Release-iphoneos/MobileVLCKit.build/Objects-normal/armv7/VLCEventManager.o Sources/VLCEventManager.m normal armv7 objective-c com.apple.compilers.llvm.clang.1_0.compiler CompileC build/MobileVLCKit.build/Release-iphoneos/MobileVLCKit.build/Objects-normal/armv7/VLCMediaListPlayer.o Sources/VLCMediaListPlayer.m normal armv7 objective-c com.apple.compilers.llvm.clang.1_0.compiler CompileC build/MobileVLCKit.build/Release-iphoneos/MobileVLCKit.build/Objects-normal/armv7/VLCLibrary.o Sources/VLCLibrary.m normal armv7 objective-c com.apple.compilers.llvm.clang.1_0.compiler CompileC build/MobileVLCKit.build/Release-iphoneos/MobileVLCKit.build/Objects-normal/armv7/VLCMedia.o Sources/VLCMedia.m normal armv7 objective-c com.apple.compilers.llvm.clang.1_0.compiler CompileC build/MobileVLCKit.build/Release-iphoneos/MobileVLCKit.build/Objects-normal/armv7/VLCMediaList.o Sources/VLCMediaList.m normal armv7 objective-c com.apple.compilers.llvm.clang.1_0.compiler CompileC build/MobileVLCKit.build/Release-iphoneos/MobileVLCKit.build/Objects-normal/armv7/VLCTime.o Sources/VLCTime.m normal armv7 objective-c com.apple.compilers.llvm.clang.1_0.compiler CompileC build/MobileVLCKit.build/Release-iphoneos/MobileVLCKit.build/Objects-normal/armv7/VLCMediaPlayer.o Sources/VLCMediaPlayer.m normal armv7 objective-c com.apple.compilers.llvm.clang.1_0.compiler CompileC build/MobileVLCKit.build/Release-iphoneos/MobileVLCKit.build/Objects-normal/armv7/VLCAudio.o Sources/VLCAudio.m normal armv7 objective-c com.apple.compilers.llvm.clang.1_0.compiler (8 failures)
I tried from a clean repo, multiple times, with buildMobileVLCKit.sh -f

Any tips?

Thanks!

Re: VLCKit: compilation error with CompileC

Posted: 01 May 2014 16:21
by fkuehne
The actual source of error is above log excerpt you posted. Please post the full log so we can help.

Re: VLCKit: compilation error with CompileC

Posted: 03 May 2014 01:56
by cpgcpg
Hi, here are the last 500 lines of the build log: http://www.fpaste.org/98751/74937139/

Re: VLCKit: compilation error with CompileC

Posted: 24 May 2014 13:14
by cpgcpg
After the updates from a few minutes ago, I still have compilation issues. I was hoping they would fix compilation :)

I have compile vlckit before, for about 6 months, and waded for most issues, however, this seems to be the longest run without being able to compile it.

After searching a bit for some of the error message, I suspected that maybe libtool, or other things in my homebrew install were interfering. So i removed all the tools in homebrew that could be related. However this did not help.

This is what i did:

Code: Select all

make clean (cd MobileVLCKit/ImportedSources/vlc/ && git clean -xdf && git fetch && git reset --hard origin/master) nohup sh buildMobileVLCKit.sh -f &
This generates a nohup.out file. Rather than the last 500 lines, I put it compressed here: https://dl.dropboxusercontent.com/u/364 ... up.out.bz2

I have the latest xcode, the system is mavericks and up to date. I am not sure what could be at issue here. In the past I had to do this before building:

Code: Select all

PATH=$PWD/MobileVLCKit/ImportedSources/vlc/extras/tools/build/bin:$PATH
however with or without this, I still get the same error.

Any ideas?

I still have an old version of the framework, so this is not urgent.

Thanks!

Re: VLCKit: compilation error with CompileC

Posted: 17 Jun 2014 23:43
by teixeiras
I'm having the same issue

Re: VLCKit: compilation error with CompileC

Posted: 08 Jul 2014 02:21
by Jean-Baptiste Kempf
Please pull a newer git.

Re: VLCKit: compilation error with CompileC

Posted: 08 Jul 2014 19:40
by dclarke58
I've attempted to build for the past several days but receive a different error each time:


git clone git://git.videolan.org/vlc-ports/ios.git
cd ios
sh compileVLCforiOS.sh -s -v

Snippet from my latest attempt:

Code: Select all

/Users/rooadmin/IOS_Projects/vlc/ios/ImportedSources/MediaLibraryKit/MediaLibraryKit_Prefix.pch:42:9: fatal error: '/Users/fkuehne/Desktop/videolan/gits/ios3/ImportedSources/VLCKit/build/Release-iphonesimulator/include/MobileVLCKit/MobileVLCKit.h' file not found #import "/Users/fkuehne/Desktop/videolan/gits/ios3/ImportedSources/VLCKit/build/Release-iphonesimulator/incl... ^ 1 error generated. 2014-07-08 10:12:07.516 xcodebuild[96706:4c07] DVTAssertions: Warning in /SourceCache/IDEXcode3ProjectSupport/IDEXcode3ProjectSupport-5069/Xcode3Core/LegacyProjects/Frameworks/DevToolsCore/DevToolsCore/SpecificationTypes/BuiltInSpecifications/Compilers/XCGccMakefileDependencies.m:76 Details: Failed to load dependencies output contents from ``/var/folders/jr/7_3h021j6_74c_0lt93w0w6m0000gn/C/com.apple.DeveloperTools/5.1.1-5B1008/Xcode/SharedPrecompiledHeaders/MediaLibraryKit_Prefix-djkygxoxhyvovufqgjtinyufasrm/MediaLibraryKit_Prefix.pch.d''. Error: Error Domain=NSCocoaErrorDomain Code=260 "The file “MediaLibraryKit_Prefix.pch.d” couldn’t be opened because there is no such file." UserInfo=0x7fdc5c34bdb0 {NSFilePath=/var/folders/jr/7_3h021j6_74c_0lt93w0w6m0000gn/C/com.apple.DeveloperTools/5.1.1-5B1008/Xcode/SharedPrecompiledHeaders/MediaLibraryKit_Prefix-djkygxoxhyvovufqgjtinyufasrm/MediaLibraryKit_Prefix.pch.d, NSUnderlyingError=0x7fdc5c31a060 "The operation couldn’t be completed. No such file or directory"}. User info: { NSFilePath = "/var/folders/jr/7_3h021j6_74c_0lt93w0w6m0000gn/C/com.apple.DeveloperTools/5.1.1-5B1008/Xcode/SharedPrecompiledHeaders/MediaLibraryKit_Prefix-djkygxoxhyvovufqgjtinyufasrm/MediaLibraryKit_Prefix.pch.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: 0x7fdc5c34bdf0>{name = (null), num = 7} Please file a bug at http://bugreport.apple.com with this warning message and any useful information you can provide. 2014-07-08 10:12:07.520 xcodebuild[96706:4d03] DVTAssertions: Warning in /SourceCache/IDEXcode3ProjectSupport/IDEXcode3ProjectSupport-5069/Xcode3Core/LegacyProjects/Frameworks/DevToolsCore/DevToolsCore/SpecificationTypes/BuiltInSpecifications/Compilers/XCGccMakefileDependencies.m:76 Details: Failed to load dependencies output contents from ``/var/folders/jr/7_3h021j6_74c_0lt93w0w6m0000gn/C/com.apple.DeveloperTools/5.1.1-5B1008/Xcode/SharedPrecompiledHeaders/MediaLibraryKit_Prefix-crwhtdewztnkosajjheabyfatymh/MediaLibraryKit_Prefix.pch.d''. Error: Error Domain=NSCocoaErrorDomain Code=260 "The file “MediaLibraryKit_Prefix.pch.d” couldn’t be opened because there is no such file." UserInfo=0x7fdc5c0cee90 {NSFilePath=/var/folders/jr/7_3h021j6_74c_0lt93w0w6m0000gn/C/com.apple.DeveloperTools/5.1.1-5B1008/Xcode/SharedPrecompiledHeaders/MediaLibraryKit_Prefix-crwhtdewztnkosajjheabyfatymh/MediaLibraryKit_Prefix.pch.d, NSUnderlyingError=0x7fdc5c0e6800 "The operation couldn’t be completed. No such file or directory"}. User info: { NSFilePath = "/var/folders/jr/7_3h021j6_74c_0lt93w0w6m0000gn/C/com.apple.DeveloperTools/5.1.1-5B1008/Xcode/SharedPrecompiledHeaders/MediaLibraryKit_Prefix-crwhtdewztnkosajjheabyfatymh/MediaLibraryKit_Prefix.pch.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: 0x7fdc5c0ce940>{name = (null), num = 6} 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: ProcessPCH /var/folders/jr/7_3h021j6_74c_0lt93w0w6m0000gn/C/com.apple.DeveloperTools/5.1.1-5B1008/Xcode/SharedPrecompiledHeaders/MediaLibraryKit_Prefix-crwhtdewztnkosajjheabyfatymh/MediaLibraryKit_Prefix.pch.pch MediaLibraryKit_Prefix.pch normal i386 objective-c com.apple.compilers.llvm.clang.1_0.compiler ProcessPCH /var/folders/jr/7_3h021j6_74c_0lt93w0w6m0000gn/C/com.apple.DeveloperTools/5.1.1-5B1008/Xcode/SharedPrecompiledHeaders/MediaLibraryKit_Prefix-djkygxoxhyvovufqgjtinyufasrm/MediaLibraryKit_Prefix.pch.pch MediaLibraryKit_Prefix.pch normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler (2 failures)
I have no problems building VLC for MAC OS.

Re: VLCKit: compilation error with CompileC

Posted: 13 Jul 2014 17:16
by fkuehne
This issue was resolved. Please update your checkout.