Help - Search - Members - Calendar
Full Version: Problems linking with new SDK
Hydrogenaudio Forums > Hosted Forums > foobar2000 > Development - (fb2k)
MWP
Hi all,

I just got the newer current SDK (can we please have some kind of better version info in the SDKs??).

On compiling/linking my plugin i now get the errors:

CODE

Linking...
plugin.obj : error LNK2001: unresolved external symbol "char const * __cdecl core_api::get_my_file_name(void)" (?get_my_file_name@core_api@@YAPBDXZ)
foobar2000_SDK.lib(console.obj) : error LNK2001: unresolved external symbol "char const * __cdecl core_api::get_my_file_name(void)" (?get_my_file_name@core_api@@YAPBDXZ)
foobar2000_SDK.lib(service.obj) : error LNK2001: unresolved external symbol "public: virtual void __thiscall foobar2000_client::services_init(bool)" (?services_init@foobar2000_client@@UAEX_N@Z)
foobar2000_SDK.lib(service.obj) : error LNK2001: unresolved external symbol "public: virtual void __thiscall foobar2000_client::set_library_path(char const *,char const *)" (?set_library_path@foobar2000_client@@UAEXPBD0@Z)
../Release/foo_myplugin.dll : fatal error LNK1120: 3 unresolved externals


Anyone know what the problem is?

Thanks.
kode54
Add the Foobar2000_component_client project to your dependencies list.
MWP
That did it.

Thanks a lot.
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.