IPB

Welcome Guest ( Log In | Register )

> foobar2000 Development Forum Rules

This forum is for developer discussions only. If you have a problem / bug report / idea / feature request that isn't related to foobar2000 SDK, post it in an appropiate forum instead - tech support questions go to support forum, everything else goes to general forum.
All non-developer posts on this forum will be removed. Continued abuse of this forum will result in admin actions (warnings, account suspension).

 
Reply to this topicStart new topic
Getting foo_sample to compile?
Petoj87
post Apr 4 2012, 17:16
Post #1





Group: Members
Posts: 6
Joined: 1-June 11
Member No.: 91158



Hi all, well first of im no c++ guy i normally work with c# any way i wanted to test to write a plugin for foobar but i can't even figure out how to get foo_sample to compile, what step am i missing?

Iv downloaded WTL Version 8.0 (build 7161) and installed it,
1. i created a solution file in the root of the extracted content
2. added all vcxproj projects i could find.
3. Added project dependencies to foo_sample.
4. Added additional dependencie ("../shared/shared.lib") to foo_sample.

Every thing but foo_sample seems to compile.

Edit im using vs 2010

Output
CODE
contextmenu.obj : error LNK2001: unresolved external symbol "public: static struct _GUID const contextmenu_groups::root" (?root@contextmenu_groups@@2U_GUID@@B)
playback_state.obj : error LNK2019: unresolved external symbol "void __cdecl pfc::myassert(wchar_t const *,wchar_t const *,unsigned int)" (?myassert@pfc@@YAXPB_W0I@Z) referenced in function "void __cdecl RunPlaybackStateDemo(void)" (?RunPlaybackStateDemo@@YAXXZ)
preferences.obj : error LNK2001: unresolved external symbol "void __cdecl pfc::myassert(wchar_t const *,wchar_t const *,unsigned int)" (?myassert@pfc@@YAXPB_W0I@Z)
ui_element.obj : error LNK2001: unresolved external symbol "void __cdecl pfc::myassert(wchar_t const *,wchar_t const *,unsigned int)" (?myassert@pfc@@YAXPB_W0I@Z)
input_raw.obj : error LNK2001: unresolved external symbol "void __cdecl pfc::myassert(wchar_t const *,wchar_t const *,unsigned int)" (?myassert@pfc@@YAXPB_W0I@Z)
main.obj : error LNK2001: unresolved external symbol "void __cdecl pfc::myassert(wchar_t const *,wchar_t const *,unsigned int)" (?myassert@pfc@@YAXPB_W0I@Z)
mainmenu.obj : error LNK2001: unresolved external symbol "void __cdecl pfc::myassert(wchar_t const *,wchar_t const *,unsigned int)" (?myassert@pfc@@YAXPB_W0I@Z)
PCH.obj : error LNK2001: unresolved external symbol "void __cdecl pfc::myassert(wchar_t const *,wchar_t const *,unsigned int)" (?myassert@pfc@@YAXPB_W0I@Z)
contextmenu.obj : error LNK2001: unresolved external symbol "void __cdecl pfc::myassert(wchar_t const *,wchar_t const *,unsigned int)" (?myassert@pfc@@YAXPB_W0I@Z)
decode.obj : error LNK2001: unresolved external symbol "void __cdecl pfc::myassert(wchar_t const *,wchar_t const *,unsigned int)" (?myassert@pfc@@YAXPB_W0I@Z)
dsp.obj : error LNK2001: unresolved external symbol "void __cdecl pfc::myassert(wchar_t const *,wchar_t const *,unsigned int)" (?myassert@pfc@@YAXPB_W0I@Z)
initquit.obj : error LNK2001: unresolved external symbol "void __cdecl pfc::myassert(wchar_t const *,wchar_t const *,unsigned int)" (?myassert@pfc@@YAXPB_W0I@Z)
main.obj : error LNK2001: unresolved external symbol "bool __cdecl core_api::are_services_available(void)" (?are_services_available@core_api@@YA_NXZ)
mainmenu.obj : error LNK2001: unresolved external symbol "bool __cdecl core_api::are_services_available(void)" (?are_services_available@core_api@@YA_NXZ)
preferences.obj : error LNK2001: unresolved external symbol "bool __cdecl core_api::are_services_available(void)" (?are_services_available@core_api@@YA_NXZ)
ui_element.obj : error LNK2001: unresolved external symbol "bool __cdecl core_api::are_services_available(void)" (?are_services_available@core_api@@YA_NXZ)
contextmenu.obj : error LNK2019: unresolved external symbol "bool __cdecl core_api::are_services_available(void)" (?are_services_available@core_api@@YA_NXZ) referenced in function "protected: __thiscall service_factory_base::~service_factory_base(void)" (??1service_factory_base@@IAE@XZ)
dsp.obj : error LNK2001: unresolved external symbol "bool __cdecl core_api::are_services_available(void)" (?are_services_available@core_api@@YA_NXZ)
initquit.obj : error LNK2001: unresolved external symbol "bool __cdecl core_api::are_services_available(void)" (?are_services_available@core_api@@YA_NXZ)
input_raw.obj : error LNK2001: unresolved external symbol "bool __cdecl core_api::are_services_available(void)" (?are_services_available@core_api@@YA_NXZ)
contextmenu.obj : error LNK2001: unresolved external symbol "public: static struct _GUID const contextmenu_group::class_guid" (?class_guid@contextmenu_group@@2U_GUID@@B)
main.obj : error LNK2001: unresolved external symbol "public: static class service_factory_base * service_factory_base::__internal__list" (?__internal__list@service_factory_base@@2PAV1@A)
mainmenu.obj : error LNK2001: unresolved external symbol "public: static class service_factory_base * service_factory_base::__internal__list" (?__internal__list@service_factory_base@@2PAV1@A)
preferences.obj : error LNK2001: unresolved external symbol "public: static class service_factory_base * service_factory_base::__internal__list" (?__internal__list@service_factory_base@@2PAV1@A)
ui_element.obj : error LNK2001: unresolved external symbol "public: static class service_factory_base * service_factory_base::__internal__list" (?__internal__list@service_factory_base@@2PAV1@A)
contextmenu.obj : error LNK2001: unresolved external symbol "public: static class service_factory_base * service_factory_base::__internal__list" (?__internal__list@service_factory_base@@2PAV1@A)
dsp.obj : error LNK2001: unresolved external symbol "public: static class service_factory_base * service_factory_base::__internal__list" (?__internal__list@service_factory_base@@2PAV1@A)
initquit.obj : error LNK2001: unresolved external symbol "public: static class service_factory_base * service_factory_base::__internal__list" (?__internal__list@service_factory_base@@2PAV1@A)
input_raw.obj : error LNK2001: unresolved external symbol "public: static class service_factory_base * service_factory_base::__internal__list" (?__internal__list@service_factory_base@@2PAV1@A)
contextmenu.obj : error LNK2001: unresolved external symbol "public: static struct _GUID const contextmenu_group_popup::class_guid" (?class_guid@contextmenu_group_popup@@2U_GUID@@B)
contextmenu.obj : error LNK2001: unresolved external symbol "public: static struct _GUID const contextmenu_item::class_guid" (?class_guid@contextmenu_item@@2U_GUID@@B)
contextmenu.obj : error LNK2019: unresolved external symbol "public: __thiscall pfc::format_uint::format_uint(unsigned __int64,unsigned int,unsigned int)" (??0format_uint@pfc@@QAE@_KII@Z) referenced in function "class pfc::string_base & __cdecl operator<<(class pfc::string_base &,unsigned int)" (??6@YAAAVstring_base@pfc@@AAV01@I@Z)
preferences.obj : error LNK2001: unresolved external symbol "public: __thiscall pfc::format_uint::format_uint(unsigned __int64,unsigned int,unsigned int)" (??0format_uint@pfc@@QAE@_KII@Z)
contextmenu.obj : error LNK2019: unresolved external symbol "class pfc::string_base & __cdecl operator<<(class pfc::string_base &,class playable_location const &)" (??6@YAAAVstring_base@pfc@@AAV01@ABVplayable_location@@@Z) referenced in function "class pfc::string_base & __cdecl operator<<(class pfc::string_base &,class service_ptr_t<class metadb_handle> const &)" (??6@YAAAVstring_base@pfc@@AAV01@ABV?$service_ptr_t@Vmetadb_handle@@@@@Z)
decode.obj : error LNK2001: unresolved external symbol "class pfc::string_base & __cdecl operator<<(class pfc::string_base &,class playable_location const &)" (??6@YAAAVstring_base@pfc@@AAV01@ABVplayable_location@@@Z)
contextmenu.obj : error LNK2001: unresolved external symbol "public: static struct _GUID const contextmenu_item_v2::class_guid" (?class_guid@contextmenu_item_v2@@2U_GUID@@B)
contextmenu.obj : error LNK2019: unresolved external symbol "public: struct _GUID __thiscall contextmenu_item::get_parent_fallback(void)" (?get_parent_fallback@contextmenu_item@@QAE?AU_GUID@@XZ) referenced in function "public: virtual struct _GUID __thiscall contextmenu_item_v2::get_parent(void)" (?get_parent@contextmenu_item_v2@@UAE?AU_GUID@@XZ)
contextmenu.obj : error LNK2001: unresolved external symbol "struct _GUID const pfc::guid_null" (?guid_null@pfc@@3U_GUID@@B)
contextmenu.obj : error LNK2019: unresolved external symbol "public: static void __cdecl popup_message::g_show_ex(char const *,unsigned int,char const *,unsigned int,enum popup_message::t_icon)" (?g_show_ex@popup_message@@SAXPBDI0IW4t_icon@1@@Z) referenced in function "public: static void __cdecl popup_message::g_show(char const *,char const *,enum popup_message::t_icon)" (?g_show@popup_message@@SAXPBD0W4t_icon@1@@Z)
decode.obj : error LNK2001: unresolved external symbol "public: static void __cdecl popup_message::g_show_ex(char const *,unsigned int,char const *,unsigned int,enum popup_message::t_icon)" (?g_show_ex@popup_message@@SAXPBDI0IW4t_icon@1@@Z)
mainmenu.obj : error LNK2001: unresolved external symbol "public: static void __cdecl popup_message::g_show_ex(char const *,unsigned int,char const *,unsigned int,enum popup_message::t_icon)" (?g_show_ex@popup_message@@SAXPBDI0IW4t_icon@1@@Z)
playback_state.obj : error LNK2001: unresolved external symbol "public: static void __cdecl popup_message::g_show_ex(char const *,unsigned int,char const *,unsigned int,enum popup_message::t_icon)" (?g_show_ex@popup_message@@SAXPBDI0IW4t_icon@1@@Z)
decode.obj : error LNK2019: unresolved external symbol "struct HWND__ * __cdecl core_api::get_main_window(void)" (?get_main_window@core_api@@YAPAUHWND__@@XZ) referenced in function "void __cdecl RunCalculatePeak(class pfc::list_base_const_t<class service_ptr_t<class metadb_handle> > const &)" (?RunCalculatePeak@@YAXABV?$list_base_const_t@V?$service_ptr_t@Vmetadb_handle@@@@@pfc@@@Z)
playback_state.obj : error LNK2001: unresolved external symbol "struct HWND__ * __cdecl core_api::get_main_window(void)" (?get_main_window@core_api@@YAPAUHWND__@@XZ)
decode.obj : error LNK2019: unresolved external symbol "public: void __thiscall threaded_process_status::set_progress_secondary_float(double)" (?set_progress_secondary_float@threaded_process_status@@QAEXN@Z) referenced in function "public: virtual void __thiscall calculate_peak_process::run(class threaded_process_status &,class foobar2000_io::abort_callback &)" (?run@calculate_peak_process@@UAEXAAVthreaded_process_status@@AAVabort_callback@foobar2000_io@@@Z)
decode.obj : error LNK2019: unresolved external symbol "public: float __thiscall audio_chunk::get_peak(float)const " (?get_peak@audio_chunk@@QBEMM@Z) referenced in function "public: virtual void __thiscall calculate_peak_process::run(class threaded_process_status &,class foobar2000_io::abort_callback &)" (?run@calculate_peak_process@@UAEXAAVthreaded_process_status@@AAVabort_callback@foobar2000_io@@@Z)
decode.obj : error LNK2019: unresolved external symbol "public: bool __thiscall input_helper::run(class audio_chunk &,class foobar2000_io::abort_callback &)" (?run@input_helper@@QAE_NAAVaudio_chunk@@AAVabort_callback@foobar2000_io@@@Z) referenced in function "public: virtual void __thiscall calculate_peak_process::run(class threaded_process_status &,class foobar2000_io::abort_callback &)" (?run@calculate_peak_process@@UAEXAAVthreaded_process_status@@AAVabort_callback@foobar2000_io@@@Z)
decode.obj : error LNK2019: unresolved external symbol "public: __thiscall file_info_impl::~file_info_impl(void)" (??1file_info_impl@@QAE@XZ) referenced in function "public: virtual void __thiscall calculate_peak_process::run(class threaded_process_status &,class foobar2000_io::abort_callback &)" (?run@calculate_peak_process@@UAEXAAVthreaded_process_status@@AAVabort_callback@foobar2000_io@@@Z)
decode.obj : error LNK2019: unresolved external symbol "public: virtual double __thiscall file_info_impl::get_length(void)const " (?get_length@file_info_impl@@UBENXZ) referenced in function "public: virtual void __thiscall calculate_peak_process::run(class threaded_process_status &,class foobar2000_io::abort_callback &)" (?run@calculate_peak_process@@UAEXAAVthreaded_process_status@@AAVabort_callback@foobar2000_io@@@Z)
decode.obj : error LNK2019: unresolved external symbol "public: __thiscall file_info_impl::file_info_impl(void)" (??0file_info_impl@@QAE@XZ) referenced in function "public: virtual void __thiscall calculate_peak_process::run(class threaded_process_status &,class foobar2000_io::abort_callback &)" (?run@calculate_peak_process@@UAEXAAVthreaded_process_status@@AAVabort_callback@foobar2000_io@@@Z)
decode.obj : error LNK2019: unresolved external symbol "public: void __thiscall input_helper::open(class service_ptr_t<class foobar2000_io::file>,class service_ptr_t<class metadb_handle>,unsigned int,class foobar2000_io::abort_callback &,bool,bool)" (?open@input_helper@@QAEXV?$service_ptr_t@Vfile@foobar2000_io@@@@V?$service_ptr_t@Vmetadb_handle@@@@IAAVabort_callback@foobar2000_io@@_N3@Z) referenced in function "public: virtual void __thiscall calculate_peak_process::run(class threaded_process_status &,class foobar2000_io::abort_callback &)" (?run@calculate_peak_process@@UAEXAAVthreaded_process_status@@AAVabort_callback@foobar2000_io@@@Z)
decode.obj : error LNK2019: unresolved external symbol "public: void __thiscall threaded_process_status::set_progress(unsigned int,unsigned int)" (?set_progress@threaded_process_status@@QAEXII@Z) referenced in function "public: virtual void __thiscall calculate_peak_process::run(class threaded_process_status &,class foobar2000_io::abort_callback &)" (?run@calculate_peak_process@@UAEXAAVthreaded_process_status@@AAVabort_callback@foobar2000_io@@@Z)
decode.obj : error LNK2019: unresolved external symbol "public: void __thiscall foobar2000_io::abort_callback::check(void)const " (?check@abort_callback@foobar2000_io@@QBEXXZ) referenced in function "public: virtual void __thiscall calculate_peak_process::run(class threaded_process_status &,class foobar2000_io::abort_callback &)" (?run@calculate_peak_process@@UAEXAAVthreaded_process_status@@AAVabort_callback@foobar2000_io@@@Z)
dsp.obj : error LNK2001: unresolved external symbol "public: void __thiscall foobar2000_io::abort_callback::check(void)const " (?check@abort_callback@foobar2000_io@@QBEXXZ)
decode.obj : error LNK2019: unresolved external symbol "public: __thiscall input_helper::input_helper(void)" (??0input_helper@@QAE@XZ) referenced in function "public: virtual void __thiscall calculate_peak_process::run(class threaded_process_status &,class foobar2000_io::abort_callback &)" (?run@calculate_peak_process@@UAEXAAVthreaded_process_status@@AAVabort_callback@foobar2000_io@@@Z)
decode.obj : error LNK2019: unresolved external symbol "void __cdecl _standard_api_create_internal(class service_ptr_t<class service_base> &,struct _GUID const &)" (?_standard_api_create_internal@@YAXAAV?$service_ptr_t@Vservice_base@@@@ABU_GUID@@@Z) referenced in function "void __cdecl standard_api_create_t<class threaded_process>(class service_ptr_t<class threaded_process> &)" (??$standard_api_create_t@Vthreaded_process@@@@YAXAAV?$service_ptr_t@Vthreaded_process@@@@@Z)
playback_state.obj : error LNK2001: unresolved external symbol "void __cdecl _standard_api_create_internal(class service_ptr_t<class service_base> &,struct _GUID const &)" (?_standard_api_create_internal@@YAXAAV?$service_ptr_t@Vservice_base@@@@ABU_GUID@@@Z)
decode.obj : error LNK2001: unresolved external symbol "public: static struct _GUID const threaded_process::class_guid" (?class_guid@threaded_process@@2U_GUID@@B)
decode.obj : error LNK2019: unresolved external symbol "public: __thiscall pfc::format_float::format_float(double,unsigned int,unsigned int)" (??0format_float@pfc@@QAE@NII@Z) referenced in function "class pfc::string_base & __cdecl operator<<(class pfc::string_base &,double)" (??6@YAAAVstring_base@pfc@@AAV01@N@Z)
dsp.obj : error LNK2001: unresolved external symbol "public: __thiscall pfc::format_float::format_float(double,unsigned int,unsigned int)" (??0format_float@pfc@@QAE@NII@Z)
decode.obj : error LNK2001: unresolved external symbol "public: static struct _GUID const threaded_process_callback::class_guid" (?class_guid@threaded_process_callback@@2U_GUID@@B)
decode.obj : error LNK2019: unresolved external symbol "void __cdecl pfc::reorder(class pfc::reorder_callback &,unsigned int const *,unsigned int)" (?reorder@pfc@@YAXAAVreorder_callback@1@PBII@Z) referenced in function "void __cdecl pfc::reorder_partial_t<class pfc::array_t<class service_ptr_t<class metadb_handle>,class pfc::alloc_fast> >(class pfc::array_t<class service_ptr_t<class metadb_handle>,class pfc::alloc_fast> &,unsigned int,unsigned int const *,unsigned int)" (??$reorder_partial_t@V?$array_t@V?$service_ptr_t@Vmetadb_handle@@@@Valloc_fast@pfc@@@pfc@@@pfc@@YAXAAV?$array_t@V?$service_ptr_t@Vmetadb_handle@@@@Valloc_fast@pfc@@@0@IPBII@Z)
playback_state.obj : error LNK2001: unresolved external symbol "void __cdecl pfc::reorder(class pfc::reorder_callback &,unsigned int const *,unsigned int)" (?reorder@pfc@@YAXAAVreorder_callback@1@PBII@Z)
decode.obj : error LNK2019: unresolved external symbol "void __cdecl pfc::sort(class pfc::sort_callback &,unsigned int)" (?sort@pfc@@YAXAAVsort_callback@1@I@Z) referenced in function "public: void __thiscall pfc::list_impl_t<class service_ptr_t<class metadb_handle>,class pfc::array_t<class service_ptr_t<class metadb_handle>,class pfc::alloc_fast> >::sort_t<class pfc::list_impl_t<class service_ptr_t<class metadb_handle>,class pfc::array_t<class service_ptr_t<class metadb_handle>,class pfc::alloc_fast> >::sort_callback_wrapper>(class pfc::list_impl_t<class service_ptr_t<class metadb_handle>,class pfc::array_t<class service_ptr_t<class metadb_handle>,class pfc::alloc_fast> >::sort_callback_wrapper)" (??$sort_t@Vsort_callback_wrapper@?$list_impl_t@V?$service_ptr_t@Vmetadb_handle@@@@V?$array_t@V?$service_ptr_t@Vmetadb_handle@@@@Valloc_fast@pfc@@@pfc@@@pfc@@@?$list_impl_t@V?$service_ptr_t@Vmetadb_handle@@@@V?$array_t@V?$service_ptr_t@Vmetadb_handle@@@@Valloc_fast@pfc@@@pfc@@@pfc@@QAEXVsort_callback_wrapper@01@@Z)
playback_state.obj : error LNK2001: unresolved external symbol "void __cdecl pfc::sort(class pfc::sort_callback &,unsigned int)" (?sort@pfc@@YAXAAVsort_callback@1@I@Z)
decode.obj : error LNK2019: unresolved external symbol "void __cdecl pfc::sort_stable(class pfc::sort_callback &,unsigned int)" (?sort_stable@pfc@@YAXAAVsort_callback@1@I@Z) referenced in function "public: void __thiscall pfc::list_impl_t<class service_ptr_t<class metadb_handle>,class pfc::array_t<class service_ptr_t<class metadb_handle>,class pfc::alloc_fast> >::sort_stable_t<class pfc::list_impl_t<class service_ptr_t<class metadb_handle>,class pfc::array_t<class service_ptr_t<class metadb_handle>,class pfc::alloc_fast> >::sort_callback_wrapper>(class pfc::list_impl_t<class service_ptr_t<class metadb_handle>,class pfc::array_t<class service_ptr_t<class metadb_handle>,class pfc::alloc_fast> >::sort_callback_wrapper)" (??$sort_stable_t@Vsort_callback_wrapper@?$list_impl_t@V?$service_ptr_t@Vmetadb_handle@@@@V?$array_t@V?$service_ptr_t@Vmetadb_handle@@@@Valloc_fast@pfc@@@pfc@@@pfc@@@?$list_impl_t@V?$service_ptr_t@Vmetadb_handle@@@@V?$array_t@V?$service_ptr_t@Vmetadb_handle@@@@Valloc_fast@pfc@@@pfc@@@pfc@@QAEXVsort_callback_wrapper@01@@Z)
playback_state.obj : error LNK2001: unresolved external symbol "void __cdecl pfc::sort_stable(class pfc::sort_callback &,unsigned int)" (?sort_stable@pfc@@YAXAAVsort_callback@1@I@Z)
dsp.obj : error LNK2001: unresolved external symbol "public: static struct _GUID const dsp_entry::class_guid" (?class_guid@dsp_entry@@2U_GUID@@B)
dsp.obj : error LNK2001: unresolved external symbol "private: virtual bool __thiscall dsp_entry_v2::show_config_popup(class dsp_preset &,struct HWND__ *)" (?show_config_popup@dsp_entry_v2@@EAE_NAAVdsp_preset@@PAUHWND__@@@Z)
dsp.obj : error LNK2019: unresolved external symbol "public: void __thiscall audio_chunk::scale(float)" (?scale@audio_chunk@@QAEXM@Z) referenced in function "public: virtual bool __thiscall dsp_sample::on_chunk(class audio_chunk *,class foobar2000_io::abort_callback &)" (?on_chunk@dsp_sample@@UAE_NPAVaudio_chunk@@AAVabort_callback@foobar2000_io@@@Z)
dsp.obj : error LNK2001: unresolved external symbol "public: static struct _GUID const dsp_v2::class_guid" (?class_guid@dsp_v2@@2U_GUID@@B)
dsp.obj : error LNK2001: unresolved external symbol "public: static struct _GUID const dsp::class_guid" (?class_guid@dsp@@2U_GUID@@B)
dsp.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall dsp_preset_impl::set_data_from_stream(class foobar2000_io::stream_reader *,unsigned int,class foobar2000_io::abort_callback &)" (?set_data_from_stream@dsp_preset_impl@@UAEXPAVstream_reader@foobar2000_io@@IAAVabort_callback@3@@Z)
dsp.obj : error LNK2001: unresolved external symbol "public: static struct _GUID const dsp_entry_v2::class_guid" (?class_guid@dsp_entry_v2@@2U_GUID@@B)
dsp.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall foobar2000_io::stream_reader::read_object(void *,unsigned int,class foobar2000_io::abort_callback &)" (?read_object@stream_reader@foobar2000_io@@UAEXPAXIAAVabort_callback@2@@Z)
dsp.obj : error LNK2001: unresolved external symbol "public: virtual unsigned __int64 __thiscall foobar2000_io::stream_reader::skip(unsigned __int64,class foobar2000_io::abort_callback &)" (?skip@stream_reader@foobar2000_io@@UAE_K_KAAVabort_callback@2@@Z)
dsp.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall foobar2000_io::stream_reader::skip_object(unsigned __int64,class foobar2000_io::abort_callback &)" (?skip_object@stream_reader@foobar2000_io@@UAEX_KAAVabort_callback@2@@Z)
initquit.obj : error LNK2001: unresolved external symbol "public: static struct _GUID const initquit::class_guid" (?class_guid@initquit@@2U_GUID@@B)
initquit.obj : error LNK2019: unresolved external symbol "void __cdecl console::print(char const *)" (?print@console@@YAXPBD@Z) referenced in function "public: virtual void __thiscall myinitquit::on_init(void)" (?on_init@myinitquit@@UAEXXZ)
input_raw.obj : error LNK2001: unresolved external symbol "public: static struct _GUID const input_entry::class_guid" (?class_guid@input_entry@@2U_GUID@@B)
input_raw.obj : error LNK2019: unresolved external symbol "void __cdecl input_open_file_helper(class service_ptr_t<class foobar2000_io::file> &,char const *,enum t_input_open_reason,class foobar2000_io::abort_callback &)" (?input_open_file_helper@@YAXAAV?$service_ptr_t@Vfile@foobar2000_io@@@@PBDW4t_input_open_reason@@AAVabort_callback@foobar2000_io@
@@Z) referenced in function "public: void __thiscall input_raw::open(class service_ptr_t<class foobar2000_io::file>,char const *,enum t_input_open_reason,class foobar2000_io::abort_callback &)" (?open@input_raw@@QAEXV?$service_ptr_t@Vfile@foobar2000_io@@@@PBDW4t_input_open_reason@@AAVabort_callback@foobar2000_io@
@@Z)
input_raw.obj : error LNK2019: unresolved external symbol "public: void __thiscall file_info::info_set_int(char const *,__int64)" (?info_set_int@file_info@@QAEXPBD_J@Z) referenced in function "public: void __thiscall input_raw::get_info(class file_info &,class foobar2000_io::abort_callback &)" (?get_info@input_raw@@QAEXAAVfile_info@@AAVabort_callback@foobar2000_io@@@Z)
input_raw.obj : error LNK2019: unresolved external symbol "public: struct foobar2000_io::t_filestats __thiscall foobar2000_io::file::get_stats(class foobar2000_io::abort_callback &)" (?get_stats@file@foobar2000_io@@QAE?AUt_filestats@2@AAVabort_callback@2@@Z) referenced in function "public: struct foobar2000_io::t_filestats __thiscall input_raw::get_file_stats(class foobar2000_io::abort_callback &)" (?get_file_stats@input_raw@@QAE?AUt_filestats@foobar2000_io@@AAVabort_callback@3@@Z)
input_raw.obj : error LNK2019: unresolved external symbol "public: static unsigned int __cdecl audio_chunk::g_guess_channel_config(unsigned int)" (?g_guess_channel_config@audio_chunk@@SAII@Z) referenced in function "public: bool __thiscall input_raw::decode_run(class audio_chunk &,class foobar2000_io::abort_callback &)" (?decode_run@input_raw@@QAE_NAAVaudio_chunk@@AAVabort_callback@foobar2000_io@@@Z)
input_raw.obj : error LNK2019: unresolved external symbol "public: unsigned __int64 __thiscall foobar2000_io::file::get_size_ex(class foobar2000_io::abort_callback &)" (?get_size_ex@file@foobar2000_io@@QAE_KAAVabort_callback@2@@Z) referenced in function "public: void __thiscall input_raw::decode_seek(double,class foobar2000_io::abort_callback &)" (?decode_seek@input_raw@@QAEXNAAVabort_callback@foobar2000_io@@@Z)
input_raw.obj : error LNK2019: unresolved external symbol "public: void __thiscall foobar2000_io::file::ensure_seekable(void)" (?ensure_seekable@file@foobar2000_io@@QAEXXZ) referenced in function "public: void __thiscall input_raw::decode_seek(double,class foobar2000_io::abort_callback &)" (?decode_seek@input_raw@@QAEXNAAVabort_callback@foobar2000_io@@@Z)
input_raw.obj : error LNK2019: unresolved external symbol "public: void __thiscall audio_chunk::set_data_fixedpoint_ex(void const *,unsigned int,unsigned int,unsigned int,unsigned int,unsigned int,unsigned int)" (?set_data_fixedpoint_ex@audio_chunk@@QAEXPBXIIIIII@Z) referenced in function "public: void __thiscall audio_chunk::set_data_fixedpoint(void const *,unsigned int,unsigned int,unsigned int,unsigned int,unsigned int)" (?set_data_fixedpoint@audio_chunk@@QAEXPBXIIIII@Z)
input_raw.obj : error LNK2001: unresolved external symbol "public: static struct _GUID const input_info_reader::class_guid" (?class_guid@input_info_reader@@2U_GUID@@B)
input_raw.obj : error LNK2001: unresolved external symbol "public: static struct _GUID const input_decoder::class_guid" (?class_guid@input_decoder@@2U_GUID@@B)
input_raw.obj : error LNK2001: unresolved external symbol "public: static struct _GUID const input_info_writer::class_guid" (?class_guid@input_info_writer@@2U_GUID@@B)
input_raw.obj : error LNK2001: unresolved external symbol "public: static struct _GUID const input_file_type::class_guid" (?class_guid@input_file_type@@2U_GUID@@B)
main.obj : error LNK2019: unresolved external symbol "char const * __cdecl core_api::get_my_file_name(void)" (?get_my_file_name@core_api@@YAPBDXZ) referenced in function "public: virtual void __thiscall `anonymous namespace'::componentversion_myimpl::get_file_name(class pfc::string_base &)" (?get_file_name@componentversion_myimpl@?A0x1a445e6f@@UAEXAAVstring_base@pfc@@@Z)
main.obj : error LNK2001: unresolved external symbol "public: static struct _GUID const componentversion::class_guid" (?class_guid@componentversion@@2U_GUID@@B)
main.obj : error LNK2001: unresolved external symbol "public: static struct _GUID const component_installation_validator::class_guid" (?class_guid@component_installation_validator@@2U_GUID@@B)
main.obj : error LNK2019: unresolved external symbol "unsigned int __cdecl pfc::scan_filename(char const *)" (?scan_filename@pfc@@YAIPBD@Z) referenced in function "public: virtual bool __thiscall component_installation_validator_filename::is_installed_correctly(void)" (?is_installed_correctly@component_installation_validator_filename@@UAE_NXZ)
main.obj : error LNK2019: unresolved external symbol "char const * __cdecl core_api::get_my_full_path(void)" (?get_my_full_path@core_api@@YAPBDXZ) referenced in function "public: virtual bool __thiscall component_installation_validator_filename::is_installed_correctly(void)" (?is_installed_correctly@component_installation_validator_filename@@UAE_NXZ)
mainmenu.obj : error LNK2001: unresolved external symbol "public: static struct _GUID const mainmenu_groups::file" (?file@mainmenu_groups@@2U_GUID@@B)
mainmenu.obj : error LNK2001: unresolved external symbol "public: static struct _GUID const mainmenu_group::class_guid" (?class_guid@mainmenu_group@@2U_GUID@@B)
mainmenu.obj : error LNK2001: unresolved external symbol "public: static struct _GUID const mainmenu_group_popup::class_guid" (?class_guid@mainmenu_group_popup@@2U_GUID@@B)
mainmenu.obj : error LNK2001: unresolved external symbol "public: static struct _GUID const mainmenu_commands::class_guid" (?class_guid@mainmenu_commands@@2U_GUID@@B)
playback_state.obj : error LNK2019: unresolved external symbol "public: void __thiscall titleformat_compiler::compile_safe_ex(class service_ptr_t<class titleformat_object> &,char const *,char const *)" (?compile_safe_ex@titleformat_compiler@@QAEXAAV?$service_ptr_t@Vtitleformat_object@@@@PBD1@Z) referenced in function "private: void __thiscall CPlaybackStateDemo::update(void)" (?update@CPlaybackStateDemo@@AAEXXZ)
playback_state.obj : error LNK2019: unresolved external symbol "void __cdecl console::complain(char const *,class std::exception const &)" (?complain@console@@YAXPBDABVexception@std@@@Z) referenced in function __catch$?OnContextMenu@CPlaybackStateDemo@@AAEXVCWindow@ATL@@VCPoint@@@Z$0
playback_state.obj : error LNK2019: unresolved external symbol "public: bool __thiscall contextmenu_manager::execute_by_id(unsigned int)" (?execute_by_id@contextmenu_manager@@QAE_NI@Z) referenced in function "private: void __thiscall CPlaybackStateDemo::OnContextMenu(class ATL::CWindow,class CPoint)" (?OnContextMenu@CPlaybackStateDemo@@AAEXVCWindow@ATL@@VCPoint@@@Z)
playback_state.obj : error LNK2019: unresolved external symbol "void __cdecl WIN32_OP_FAIL(void)" (?WIN32_OP_FAIL@@YAXXZ) referenced in function "private: void __thiscall CPlaybackStateDemo::OnContextMenu(class ATL::CWindow,class CPoint)" (?OnContextMenu@CPlaybackStateDemo@@AAEXVCWindow@ATL@@VCPoint@@@Z)
preferences.obj : error LNK2001: unresolved external symbol "void __cdecl WIN32_OP_FAIL(void)" (?WIN32_OP_FAIL@@YAXXZ)
ui_element.obj : error LNK2001: unresolved external symbol "void __cdecl WIN32_OP_FAIL(void)" (?WIN32_OP_FAIL@@YAXXZ)
playback_state.obj : error LNK2001: unresolved external symbol "public: static struct _GUID const playback_control::class_guid" (?class_guid@playback_control@@2U_GUID@@B)
playback_state.obj : error LNK2019: unresolved external symbol "public: static void __cdecl contextmenu_manager::win32_build_menu(struct HMENU__ *,class contextmenu_node *,int,int)" (?win32_build_menu@contextmenu_manager@@SAXPAUHMENU__@@PAVcontextmenu_node@@HH@Z) referenced in function "public: void __thiscall contextmenu_manager::win32_build_menu(struct HMENU__ *,int,int)" (?win32_build_menu@contextmenu_manager@@QAEXPAUHMENU__@@HH@Z)
playback_state.obj : error LNK2019: unresolved external symbol "public: bool __thiscall contextmenu_manager::get_description_by_id(unsigned int,class pfc::string_base &)" (?get_description_by_id@contextmenu_manager@@QAE_NIAAVstring_base@pfc@@@Z) referenced in function "protected: virtual bool __thiscall CMenuDescriptionHybrid::QueryHint(unsigned int,class pfc::string_base &)" (?QueryHint@CMenuDescriptionHybrid@@MAE_NIAAVstring_base@pfc@@@Z)
playback_state.obj : error LNK2001: unresolved external symbol "public: static struct _GUID const contextmenu_manager::class_guid" (?class_guid@contextmenu_manager@@2U_GUID@@B)
playback_state.obj : error LNK2001: unresolved external symbol "public: static struct _GUID const modeless_dialog_manager::class_guid" (?class_guid@modeless_dialog_manager@@2U_GUID@@B)
playback_state.obj : error LNK2001: unresolved external symbol "public: static struct _GUID const play_callback_manager::class_guid" (?class_guid@play_callback_manager@@2U_GUID@@B)
playback_state.obj : error LNK2001: unresolved external symbol "public: static struct _GUID const titleformat_compiler::class_guid" (?class_guid@titleformat_compiler@@2U_GUID@@B)
playback_state.obj : error LNK2001: unresolved external symbol "public: static struct _GUID const ui_control::class_guid" (?class_guid@ui_control@@2U_GUID@@B)
preferences.obj : error LNK2001: unresolved external symbol "private: static class cfg_var_reader * cfg_var_reader::g_list" (?g_list@cfg_var_reader@@0PAV1@A)
preferences.obj : error LNK2001: unresolved external symbol "private: static class cfg_var_writer * cfg_var_writer::g_list" (?g_list@cfg_var_writer@@0PAV1@A)
preferences.obj : error LNK2001: unresolved external symbol "public: static struct _GUID const advconfig_entry::guid_branch_tools" (?guid_branch_tools@advconfig_entry@@2U_GUID@@B)
preferences.obj : error LNK2001: unresolved external symbol "public: static struct _GUID const advconfig_entry::class_guid" (?class_guid@advconfig_entry@@2U_GUID@@B)
preferences.obj : error LNK2001: unresolved external symbol "public: static struct _GUID const advconfig_branch::class_guid" (?class_guid@advconfig_branch@@2U_GUID@@B)
preferences.obj : error LNK2001: unresolved external symbol "public: static struct _GUID const advconfig_entry_string_v2::class_guid" (?class_guid@advconfig_entry_string_v2@@2U_GUID@@B)
preferences.obj : error LNK2001: unresolved external symbol "public: static struct _GUID const advconfig_entry_string::class_guid" (?class_guid@advconfig_entry_string@@2U_GUID@@B)
preferences.obj : error LNK2019: unresolved external symbol "unsigned __int64 __cdecl pfc::atoui64_ex(char const *,unsigned int)" (?atoui64_ex@pfc@@YA_KPBDI@Z) referenced in function "public: virtual void __thiscall advconfig_entry_integer_impl::set_state(char const *,unsigned int)" (?set_state@advconfig_entry_integer_impl@@UAEXPBDI@Z)
preferences.obj : error LNK2001: unresolved external symbol "public: static struct _GUID const preferences_page::class_guid" (?class_guid@preferences_page@@2U_GUID@@B)
preferences.obj : error LNK2001: unresolved external symbol "public: virtual bool __thiscall preferences_page::get_help_url(class pfc::string_base &)" (?get_help_url@preferences_page@@UAE_NAAVstring_base@pfc@@@Z)
preferences.obj : error LNK2001: unresolved external symbol "public: static struct _GUID const preferences_page::guid_tools" (?guid_tools@preferences_page@@2U_GUID@@B)
preferences.obj : error LNK2019: unresolved external symbol "void __cdecl service_impl_helper::release_object_delayed(class service_ptr_t<class service_base>)" (?release_object_delayed@service_impl_helper@@YAXV?$service_ptr_t@Vservice_base@@@@@Z) referenced in function "public: virtual int __thiscall window_service_impl_t<class preferences_page_instance_impl<class CMyPreferences> >::service_release(void)" (?service_release@?$window_service_impl_t@V?$preferences_page_instance_impl@VCMyPreferences@@@@@@UAEHXZ)
ui_element.obj : error LNK2001: unresolved external symbol "void __cdecl service_impl_helper::release_object_delayed(class service_ptr_t<class service_base>)" (?release_object_delayed@service_impl_helper@@YAXV?$service_ptr_t@Vservice_base@@@@@Z)
preferences.obj : error LNK2001: unresolved external symbol "public: static struct _GUID const preferences_page_instance::class_guid" (?class_guid@preferences_page_instance@@2U_GUID@@B)
preferences.obj : error LNK2001: unresolved external symbol "public: static struct _GUID const preferences_page_v3::class_guid" (?class_guid@preferences_page_v3@@2U_GUID@@B)
preferences.obj : error LNK2001: unresolved external symbol "public: static struct _GUID const preferences_page_v2::class_guid" (?class_guid@preferences_page_v2@@2U_GUID@@B)
ui_element.obj : error LNK2019: unresolved external symbol "public: unsigned long __thiscall ui_element_instance_callback::query_std_color(struct _GUID const &)" (?query_std_color@ui_element_instance_callback@@QAEKABU_GUID@@@Z) referenced in function "private: int __thiscall CMyElemWindow::OnEraseBkgnd(class WTL::CDCT<0>)" (?OnEraseBkgnd@CMyElemWindow@@AAEHV?$CDCT@$0A@@WTL@@@Z)
ui_element.obj : error LNK2019: unresolved external symbol "void __cdecl WIN32_OP_D_FAIL(wchar_t const *,wchar_t const *,unsigned int)" (?WIN32_OP_D_FAIL@@YAXPB_W0I@Z) referenced in function "private: int __thiscall CMyElemWindow::OnEraseBkgnd(class WTL::CDCT<0>)" (?OnEraseBkgnd@CMyElemWindow@@AAEHV?$CDCT@$0A@@WTL@@@Z)
ui_element.obj : error LNK2001: unresolved external symbol "public: virtual bool __thiscall ui_element::get_element_group(class pfc::string_base &)" (?get_element_group@ui_element@@UAE_NAAVstring_base@pfc@@@Z)
ui_element.obj : error LNK2019: unresolved external symbol "bool __cdecl core_api::is_main_thread(void)" (?is_main_thread@core_api@@YA_NXZ) referenced in function "public: virtual __thiscall ImplementBumpableElem<class CMyElemWindow>::~ImplementBumpableElem<class CMyElemWindow>(void)" (??1?$ImplementBumpableElem@VCMyElemWindow@@@@UAE@XZ)
ui_element.obj : error LNK2019: unresolved external symbol "public: static class service_ptr_t<class ui_element_config> __cdecl ui_element_config::g_create(struct _GUID const &,void const *,unsigned int)" (?g_create@ui_element_config@@SA?AV?$service_ptr_t@Vui_element_config@@@@ABU_GUID@@PBXI@Z) referenced in function "public: static class service_ptr_t<class ui_element_config> __cdecl ui_element_config::g_create_empty(struct _GUID const &)" (?g_create_empty@ui_element_config@@SA?AV?$service_ptr_t@Vui_element_config@@@@ABU_GUID@@@Z)


This post has been edited by db1989: Apr 4 2012, 18:06
Reason for edit: For large items, please use [codebox] tags and not [code].
Go to the top of the page
+Quote Post
kode54
post Apr 4 2012, 23:32
Post #2





Group: Admin
Posts: 4580
Joined: 15-December 02
Member No.: 4082



In Visual Studio 2010, you must add all dependencies directly to the project you are trying to link, as references. You may find the references list in the Properties dialog for the project, under Common Properties, Frameworks and References. The old style Dependencies dialog doesn't seem to function for that purpose past Visual Studio 2008.
Go to the top of the page
+Quote Post
Petoj87
post Apr 5 2012, 18:52
Post #3





Group: Members
Posts: 6
Joined: 1-June 11
Member No.: 91158



QUOTE (kode54 @ Apr 5 2012, 00:32) *
In Visual Studio 2010, you must add all dependencies directly to the project you are trying to link, as references. You may find the references list in the Properties dialog for the project, under Common Properties, Frameworks and References. The old style Dependencies dialog doesn't seem to function for that purpose past Visual Studio 2008.

Thanks alot that worked like a charm tongue.gif, feel kinda stupid right now!
Go to the top of the page
+Quote Post
hecter
post Jul 13 2012, 06:56
Post #4





Group: Members
Posts: 2
Joined: 5-February 12
Member No.: 96941



QUOTE (kode54 @ Apr 4 2012, 23:32) *
In Visual Studio 2010, you must add all dependencies directly to the project you are trying to link, as references. You may find the references list in the Properties dialog for the project, under Common Properties, Frameworks and References. The old style Dependencies dialog doesn't seem to function for that purpose past Visual Studio 2008.

I would just like to let you know that I love you, and you're beautiful.

This post has been edited by hecter: Jul 13 2012, 06:56
Go to the top of the page
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 31st July 2014 - 08:41