我正在嘗試編譯最初爲Visual Studio 2008 SP0設計的舊項目(我現在使用SP1)。我收到這些錯誤。Visual Studio 2008生成錯誤
Error 51 error LNK2019: unresolved external symbol "unsigned long __cdecl GetDeviceState(enum DEVICES_ENUM,enum DEVICE_STATE_ENUM &,int &)" ([email protected]@[email protected]@[email protected]@[email protected]) referenced in function _Get1394DeviceStatus Raw1394api.obj raw1394api
Error 52 error LNK2019: unresolved external symbol "unsigned long __cdecl SetDeviceState(enum DEVICES_ENUM,enum DEVICE_STATE_ENUM,int &,int &)" ([email protected]@[email protected]@[email protected]@[email protected]) referenced in function _Set1394DeviceStatus Raw1394api.obj raw1394api
Error 53 error LNK2019: unresolved external symbol "bool __cdecl InstallDevice(wchar_t *)" ([email protected]@[email protected]) referenced in function _InstallDriver Raw1394api.obj raw1394api
Error 54 error LNK2019: unresolved external symbol "bool __cdecl UninstallDevice(void)" ([email protected]@YA_NXZ) referenced in function _UninstallDriver Raw1394api.obj raw1394api
Error 55 fatal error LNK1120: 4 unresolved externals f:\InfoSelect My Documents\Zurvan on Windows\raw1394 for Windows by Dmitry\test\raw1394src\Debug\raw1394api.dll raw1394api
你有問題嗎? – Eric 2009-07-14 11:12:38
我認爲這很簡單,假設他的問題是:「我如何解決這些錯誤?」 – Ant 2009-07-14 11:28:09