VLCKit: compilation error with CompileC

iOS, iPad, iPhone, tvOS specific usage questions
cpgcpg
New Cone
New Cone
Posts: 3
Joined: 01 May 2014 11:39

VLCKit: compilation error with CompileC

Postby cpgcpg » 01 May 2014 13:15

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!

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

Re: VLCKit: compilation error with CompileC

Postby fkuehne » 01 May 2014 16:21

The actual source of error is above log excerpt you posted. Please post the full log so we can help.
VideoLAN
Felix Paul Kühne
Medic. VLC developer for appleOS since before you were born.
Blog: https://www.feepk.net

cpgcpg
New Cone
New Cone
Posts: 3
Joined: 01 May 2014 11:39

Re: VLCKit: compilation error with CompileC

Postby cpgcpg » 03 May 2014 01:56

Hi, here are the last 500 lines of the build log: http://www.fpaste.org/98751/74937139/

cpgcpg
New Cone
New Cone
Posts: 3
Joined: 01 May 2014 11:39

Re: VLCKit: compilation error with CompileC

Postby cpgcpg » 24 May 2014 13:14

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!

teixeiras
New Cone
New Cone
Posts: 5
Joined: 17 Jun 2014 12:29

Re: VLCKit: compilation error with CompileC

Postby teixeiras » 17 Jun 2014 23:43

I'm having the same issue

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: VLCKit: compilation error with CompileC

Postby Jean-Baptiste Kempf » 08 Jul 2014 02:21

Please pull a newer git.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

dclarke58
New Cone
New Cone
Posts: 4
Joined: 01 Jul 2014 17:18

Re: VLCKit: compilation error with CompileC

Postby dclarke58 » 08 Jul 2014 19:40

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.

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

Re: VLCKit: compilation error with CompileC

Postby fkuehne » 13 Jul 2014 17:16

This issue was resolved. Please update your checkout.
VideoLAN
Felix Paul Kühne
Medic. VLC developer for appleOS since before you were born.
Blog: https://www.feepk.net


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

Who is online

Users browsing this forum: No registered users and 24 guests