All, I'm looking for a tip on how to resolve the linker error shown below. Am getting this in VS2008 with WDL v2009.07.04. Can still build successfully with WDL v2009.01.18. Error 1 error LNK2019: unresolved external symbol "class LICE_IBitmap * __cdecl LICE_LoadJPGFromResource(struct HINSTANCE__ *,int,class LICE_IBitmap *)" (?LICE_LoadJPGFromResource@@YAPAVLICE_IBitmap@@PAU HINSTANCE__@@HPAV1@@Z) referenced in function "protected: virtual class LICE_IBitmap * __thiscall IGraphicsWin::OSLoadBitmap(int,char const *)" (?OSLoadBitmap@IGraphicsWin@@MAEPAVLICE_IBitmap@@H PBD@Z) IPlug.lib IPlugExample Error 2 fatal error LNK1120: 1 unresolved externals Debug/IPlugExample_DEBUG.dll IPlugExample -Andrew
Thanks schwa, that got me headed in the right direction. I also had to add jpeglib into the lice library build (under Source Files). Is this something you'll fix in the .vcproj in the next wdl dist? Am now trying to sort a different problem on another PC where the linker is complaining that there are a bunch of things already defined in MSVCRT.lib (MSCVCR100.dll & cinitexe.obj). Erk!