pmj / objective-vcdiff

Objective-C wrapper for Google's open-vcdiff binary diff library
28 stars 8 forks source link

Build failure out of the box in Xcode 4.2 #2

Closed bgulanowski closed 13 years ago

bgulanowski commented 13 years ago

Download the source archive, open the project in Xcode and build for iOS device, it fails immediately. Error:

/Users/bgulanowski/Downloads/pmj-objective-vcdiff-b2b89fe/objective-vcdiff-ios/open-vcdiff-0.8.1/src/blockhash.cc:16:20: error: config.h: No such file or directory

I'm not good with C++, and was hoping to get some guidance from your project regarding linking and such, but I wonder if something in Xcode 4.2 is having problems or needs custom configuration.

bgulanowski commented 13 years ago

I didn't realize I had to run configure first. It is an xcode project.

pmj commented 13 years ago

Hey, yeah, you'll need to run ./configure from the terminal in the open-vcdiff-0.8.1 directory, this will generate the config.h file. Then building in XCode should work fine. I'll change the Readme to make this a bit clearer!