Help - Search - Members - Calendar
Full Version: problems creating utf8api.lib
Hydrogenaudio Forums > Hosted Forums > foobar2000 > Development - (fb2k)
langoustator
Hi,

When I try to compile a component (foo_playcount but i don't think it matters)
I get this:

Creating library .\../Release/utf8api.lib and object .\../Release/utf8api.exp
crash_info.obj : error LNK2019: unresolved external symbol __imp__wsprintfA referenced in function "void * __cdecl create_failure_log(char *,unsigned short *)" (?create_failure_log@@YAPAXPADPAG@Z)
crash_info.obj : error LNK2019: unresolved external symbol __imp__wsprintfW referenced in function "void * __cdecl create_failure_log(char *,unsigned short *)" (?create_failure_log@@YAPAXPADPAG@Z)
crash_info.obj : error LNK2019: unresolved external symbol __imp__ShellExecuteW@24 referenced in function _uDumpCrashInfo
utf8api.obj : error LNK2001: unresolved external symbol __imp__ShellExecuteW@24

and a lot of others similar errors.

I set a dependency utf8api -> pfc, but I guess utf8api depends on something else.

Thank you for your help.

Edit: well I can't even compile foosion's tutorial, same errors so I give up.
foosion
Have you properly installed the Platform SDK using the instructions given by Microsoft?
langoustator
No, i'll try that. But I have installed VC++6 and now i can build your tutorial without problems. I Will try again with the 2005 version.
Thanks for the tip.

Edit: Step 4 did the trick.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2008 Invision Power Services, Inc.