COCKOS
CONFEDERATED FORUMS
Cockos : REAPER : NINJAM : Forums
Forum Home : Register : FAQ : Members List : Search :
Old 08-30-2009, 05:19 PM   #1
Andrew J
Human being with feelings
 
Join Date: Mar 2009
Posts: 11
Default Unresolved external symbol

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
Andrew J is offline   Reply With Quote
Old 08-30-2009, 06:16 PM   #2
schwa
Administrator
 
schwa's Avatar
 
Join Date: Mar 2007
Location: NY
Posts: 15,813
Default

lice_jpg.cpp may need to be added to your LICE library build.
schwa is offline   Reply With Quote
Old 08-30-2009, 09:12 PM   #3
Andrew J
Human being with feelings
 
Join Date: Mar 2009
Posts: 11
Default

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!
Andrew J is offline   Reply With Quote
Old 08-30-2009, 09:17 PM   #4
Andrew J
Human being with feelings
 
Join Date: Mar 2009
Posts: 11
Default

...and just sorted my other problem. At some stage I had set /MD instead of /MT. All works fine now that I'm back at /MT - phew!
Andrew J is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 06:30 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.