qiqian / webp

Automatically exported from code.google.com/p/webp
0 stars 0 forks source link

ios can not load encode.h #184

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.add "webp.framework"
2.#import "WebP/encode.h" and #import "WebP/decode.h"
3.build faild

What is the expected output? What do you see instead?

///////////////////////////////////////////////////////////////////////////////
Undefined symbols for architecture i386:
  "_WebPEncodeRGBA", referenced from:
      +[UIImage(WebP) imageToWebP:quality:] in UIImage+WebP.o
  "_WebPGetEncoderVersion", referenced from:
      +[UIImage(WebP) imageToWebP:quality:] in UIImage+WebP.o
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)
//////////////////////////////////////////////////////////////////////////////

What version of the product are you using? On what operating system?
xcode5.0.2

Please provide any additional information below.

Original issue reported on code.google.com by gittaku0...@gmail.com on 14 Jan 2014 at 10:57