掲示板システム
ホーム
アクセス解析
カテゴリ
ログアウト
error LNK2028 2019を解決するには? (ID:72106)
名前
ホームページ(ブログ、Twitterなど)のURL (省略可)
本文
wiiyourself1.15のデモプログラムのコンソールアプリケーションをフォームアプリケーションにしようとしていますが、以下のようなエラーが出ます。 wiiyourself:http://wiiyourself.gl.tter.org/ 1>wiimote.obj : error LNK2028: 未解決のトークン (0A00014E) "extern "C" int __stdcall SetupDiDestroyDeviceInfoList(void *)" (?SetupDiDestroyDeviceInfoList@@$$J14YGHPAX@Z) が関数 "public: bool __thiscall wiimote::Connect(unsigned int,bool)" (?Connect@wiimote@@$$FQAE_NI_N@Z) で参照されました。 1>wiimote.obj : error LNK2028: 未解決のトークン (0A000151) "extern "C" unsigned long __stdcall timeGetTime(void)" (?timeGetTime@@$$J10YGKXZ) が関数 "private: static unsigned int __stdcall wiimote::SampleStreamThreadfunc(void *)" (?SampleStreamThreadfunc@wiimote@@$$FCGIPAX@Z) で参照されました。 1>wiimote.obj : error LNK2028: 未解決のトークン (0A000153) "extern "C" unsigned char __stdcall HidD_GetAttributes(void *,struct _HIDD_ATTRIBUTES *)" (?HidD_GetAttributes@@$$J18YGEPAXPAU_HIDD_ATTRIBUTES@@@Z) が関数 "public: bool __thiscall wiimote::Connect(unsigned int,bool)" (?Connect@wiimote@@$$FQAE_NI_N@Z) で参照されました。 1>wiimote.obj : error LNK2028: 未解決のトークン (0A000156) "extern "C" int __stdcall SetupDiGetDeviceInterfaceDetailW(void *,struct _SP_DEVICE_INTERFACE_DATA *,struct _SP_DEVICE_INTERFACE_DETAIL_DATA_W *,unsigned long,unsigned long *,struct _SP_DEVINFO_DATA *)" (?SetupDiGetDeviceInterfaceDetailW@@$$J224YGHPAXPAU_SP_DEVICE_INTERFACE_DATA@@PAU_SP_DEVICE_INTERFACE_DETAIL_DATA_W@@KPAKPAU_SP_DEVINFO_DATA@@@Z) が関数 "public: bool __thiscall wiimote::Connect(unsigned int,bool)" (?Connect@wiimote@@$$FQAE_NI_N@Z) で参照されました。 1>wiimote.obj : error LNK2028: 未解決のトークン (0A000157) "extern "C" int __stdcall SetupDiEnumDeviceInterfaces(void *,struct _SP_DEVINFO_DATA *,struct _GUID const *,unsigned long,struct _SP_DEVICE_INTERFACE_DATA *)" (?SetupDiEnumDeviceInterfaces@@$$J220YGHPAXPAU_SP_DEVINFO_DATA@@PBU_GUID@@KPAU_SP_DEVICE_INTERFACE_DATA@@@Z) が関数 "public: bool __thiscall wiimote::Connect(unsigned int,bool)" (?Connect@wiimote@@$$FQAE_NI_N@Z) で参照されました。 1>wiimote.obj : error LNK2028: 未解決のトークン (0A000158) "extern "C" void * __stdcall SetupDiGetClassDevsW(struct _GUID const *,wchar_t const *,struct HWND__ *,unsigned long)" (?SetupDiGetClassDevsW@@$$J216YGPAXPBU_GUID@@PB_WPAUHWND__@@K@Z) が関数 "public: bool __thiscall wiimote::Connect(unsigned int,bool)" (?Connect@wiimote@@$$FQAE_NI_N@Z) で参照されました。 1>wiimote.obj : error LNK2028: 未解決のトークン (0A000159) "extern "C" void __stdcall HidD_GetHidGuid(struct _GUID *)" (?HidD_GetHidGuid@@$$J14YGXPAU_GUID@@@Z) が関数 "public: bool __thiscall wiimote::Connect(unsigned int,bool)" (?Connect@wiimote@@$$FQAE_NI_N@Z) で参照されました。 1>wiimote.obj : error LNK2028: 未解決のトークン (0A00015C) "extern "C" unsigned int __stdcall timeEndPeriod(unsigned int)" (?timeEndPeriod@@$$J14YGII@Z) が関数 "public: virtual __thiscall wiimote::~wiimote(void)" (??1wiimote@@$$FUAE@XZ) で参照されました。 1>wiimote.obj : error LNK2028: 未解決のトークン (0A00015F) "extern "C" unsigned int __stdcall timeBeginPeriod(unsigned int)" (?timeBeginPeriod@@$$J14YGII@Z) が関数 "public: __thiscall wiimote::wiimote(void)" (??0wiimote@@$$FQAE@XZ) で参照されました。 1>wiimote.obj : error LNK2019: 未解決の外部シンボル "extern "C" unsigned int __stdcall timeBeginPeriod(unsigned int)" (?timeBeginPeriod@@$$J14YGII@Z) が関数 "public: __thiscall wiimote::wiimote(void)" (??0wiimote@@$$FQAE@XZ) で参照されました。 1>wiimote.obj : error LNK2019: 未解決の外部シンボル "extern "C" unsigned long __stdcall timeGetTime(void)" (?timeGetTime@@$$J10YGKXZ) が関数 "private: static unsigned int __stdcall wiimote::SampleStreamThreadfunc(void *)" (?SampleStreamThreadfunc@wiimote@@$$FCGIPAX@Z) で参照されました。 1>wiimote.obj : error LNK2019: 未解決の外部シンボル "extern "C" unsigned int __stdcall timeEndPeriod(unsigned int)" (?timeEndPeriod@@$$J14YGII@Z) が関数 "public: virtual __thiscall wiimote::~wiimote(void)" (??1wiimote@@$$FUAE@XZ) で参照されました。 1>wiimote.obj : error LNK2019: 未解決の外部シンボル "extern "C" int __stdcall SetupDiDestroyDeviceInfoList(void *)" (?SetupDiDestroyDeviceInfoList@@$$J14YGHPAX@Z) が関数 "public: bool __thiscall wiimote::Connect(unsigned int,bool)" (?Connect@wiimote@@$$FQAE_NI_N@Z) で参照されました。 1>wiimote.obj : error LNK2019: 未解決の外部シンボル "extern "C" unsigned char __stdcall HidD_GetAttributes(void *,struct _HIDD_ATTRIBUTES *)" (?HidD_GetAttributes@@$$J18YGEPAXPAU_HIDD_ATTRIBUTES@@@Z) が関数 "public: bool __thiscall wiimote::Connect(unsigned int,bool)" (?Connect@wiimote@@$$FQAE_NI_N@Z) で参照されました。 1>wiimote.obj : error LNK2019: 未解決の外部シンボル "extern "C" int __stdcall SetupDiGetDeviceInterfaceDetailW(void *,struct _SP_DEVICE_INTERFACE_DATA *,struct _SP_DEVICE_INTERFACE_DETAIL_DATA_W *,unsigned long,unsigned long *,struct _SP_DEVINFO_DATA *)" (?SetupDiGetDeviceInterfaceDetailW@@$$J224YGHPAXPAU_SP_DEVICE_INTERFACE_DATA@@PAU_SP_DEVICE_INTERFACE_DETAIL_DATA_W@@KPAKPAU_SP_DEVINFO_DATA@@@Z) が関数 "public: bool __thiscall wiimote::Connect(unsigned int,bool)" (?Connect@wiimote@@$$FQAE_NI_N@Z) で参照されました。 1>wiimote.obj : error LNK2019: 未解決の外部シンボル "extern "C" int __stdcall SetupDiEnumDeviceInterfaces(void *,struct _SP_DEVINFO_DATA *,struct _GUID const *,unsigned long,struct _SP_DEVICE_INTERFACE_DATA *)" (?SetupDiEnumDeviceInterfaces@@$$J220YGHPAXPAU_SP_DEVINFO_DATA@@PBU_GUID@@KPAU_SP_DEVICE_INTERFACE_DATA@@@Z) が関数 "public: bool __thiscall wiimote::Connect(unsigned int,bool)" (?Connect@wiimote@@$$FQAE_NI_N@Z) で参照されました。 1>wiimote.obj : error LNK2019: 未解決の外部シンボル "extern "C" void * __stdcall SetupDiGetClassDevsW(struct _GUID const *,wchar_t const *,struct HWND__ *,unsigned long)" (?SetupDiGetClassDevsW@@$$J216YGPAXPBU_GUID@@PB_WPAUHWND__@@K@Z) が関数 "public: bool __thiscall wiimote::Connect(unsigned int,bool)" (?Connect@wiimote@@$$FQAE_NI_N@Z) で参照されました。 1>wiimote.obj : error LNK2019: 未解決の外部シンボル "extern "C" void __stdcall HidD_GetHidGuid(struct _GUID *)" (?HidD_GetHidGuid@@$$J14YGXPAU_GUID@@@Z) が関数 "public: bool __thiscall wiimote::Connect(unsigned int,bool)" (?Connect@wiimote@@$$FQAE_NI_N@Z) で参照されました。 どのように解決すればよろしいでしょうか?
←解決時は質問者本人がここをチェックしてください。
更新する
戻る
掲示板システム
Copyright 2021 Takeshi Okamoto All Rights Reserved.