zzxxpp1011239740 / webp

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

WIC link error #115

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
using public head:
git clone http://git.chromium.org/webm/libwebp.git

nmake /f Makefile.vc CFG=release-static RTLIBCFG=static OBJDIR=output

cwebp.obj : error LNK2019: unresolved external symbol 
_GUID_WICPixelFormat32bppRGBA referenced in function _ReadPictureWithWIC

Original issue reported on code.google.com by fbarch...@google.com on 19 Apr 2012 at 8:23

GoogleCodeExporter commented 9 years ago
The default studio 2008 sdk is 6.0a.  7.0 is needed.  Steps to making it build:
1. install .net 4 and windows sdk 7.1
2. set 7.1 as studio default
3. open a new shell
In general the environment is the same as 'Chromium Build Instructions'

It would be nice to have the option to build with 6.0 sdk or no WIC support.

Original comment by fbarch...@google.com on 19 Apr 2012 at 9:59

GoogleCodeExporter commented 9 years ago
This is a similar problem to mingw which is missing this value as well. That 
case works because INITGUID is defined ensuring the GUIDs are explicitly 
defined rather than declared extern.
Using this solution for v6.0 reveals the #ifdef _GUID* checks for these values 
are bogus...DEFINE_GUID defines a variable. Need to find a better way to work 
around this.

Original comment by jz...@google.com on 4 May 2012 at 1:16

GoogleCodeExporter commented 9 years ago
A fix for this will come out of:
 https://gerrit.chromium.org/gerrit/#change,22191

Original comment by jz...@google.com on 9 May 2012 at 2:08

GoogleCodeExporter commented 9 years ago
This has been merged.

Original comment by jz...@google.com on 9 May 2012 at 7:45