cocos2d / cocos2d-x-3rd-party-libs-src

Dependencies of cocos2d-x.
142 stars 169 forks source link

Unable to build tiff library for iOS platform #99

Closed nicolechen819 closed 6 years ago

nicolechen819 commented 8 years ago

The compile command is

./build.sh -p=ios --libs=tiff

The error is:

create fat library libtiff for 
error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/lipo: no input files specified
fatal error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/lipo: Usage: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/lipo [input_file] ... [-arch <arch_type> input_file] ... [-info] [-detailed_info] [-output output_file] [-create] [-arch_blank <arch_type>] [-thin <arch_type>] [-remove <arch_type>] ... [-extract <arch_type>] ... [-extract_family <arch_type>] ... [-verify_arch <arch_type> ...] [-replace <arch_type> <file_name>] ...
fatal error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/lipo: can't open input file: ios/tiff/prebuilt/libtiff.a (No such file or directory)

Thanks for your help!!

zilongshanren commented 8 years ago

@nicolechen819 I could compile tiff on my mac without any issues, please clean up your last build and try with the latest configs.

Thanks.