qiqian / webp

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

undefined reference to `WebPEncodeRGB' function #156

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
After I finished install libwebp, undefined reference to `WebPEncodeRGB' is 
appeared although I included <webp/encode.h>. What wtrong in here?

Original issue reported on code.google.com by tuansp...@gmail.com on 19 Jun 2013 at 8:37

GoogleCodeExporter commented 8 years ago
[i assume unix platform here. Or, are you using Windows?]

did you include the '-lwebp' on the linker command line?

Another possibility is the your system-wide library is not installed in a 
standard location, and that you're linking against an old library instead... 
(although that would be strange, since WebPEncodeRGB() has been there in the 
API since the very first version)

Original comment by pascal.m...@gmail.com on 19 Jun 2013 at 10:46

GoogleCodeExporter commented 8 years ago
thanks for your comment, the issue is solved

Original comment by tuansp...@gmail.com on 20 Jun 2013 at 3:18

GoogleCodeExporter commented 8 years ago
great!

Original comment by pascal.m...@gmail.com on 20 Jun 2013 at 6:59

GoogleCodeExporter commented 8 years ago
I also encounter this issue these days,could you tell me how to solve this 
problem?Thanks

Original comment by hwl...@gmail.com on 26 Apr 2015 at 2:15