Sdwebimage: unable to run example project of sdwebimage

Created on 13 Jun 2014  路  7Comments  路  Source: SDWebImage/SDWebImage

i am getting build failed due to this error.

clang: error: no such file or directory: '/Users/msarimsiddiqui/Downloads/SDWebImage-master/Vendors/libwebp/src/utils/random.c'
clang: error: no input files
Command /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang failed with exit code 1

i had download zip from github and libwebp folder is empty i assumed that supporting files fir this sdk is missing please reply fast
screen shot 2014-06-13 at 12 58 39 pm

Most helpful comment

@bpoplauschi would this work?
git clone --recursive https://github.com/rs/SDWebImage.git

All 7 comments

The recommended install ways are via CocoaPods or by running git clone + git submodule init

i used this command to clone , still not getting that folder empty
git clone https://github.com/rs/SDWebImage.git

you need to run git submodule init

@bpoplauschi would this work?
git clone --recursive https://github.com/rs/SDWebImage.git

Probably git clone --recursive https://github.com/rs/SDWebImage.git. Worked for me.

@bpoplauschi
yeap that works fine

Great. Closing the issue

Was this page helpful?
0 / 5 - 0 ratings