我在2013年运行我的Visual Studio项目,并遇到以下错误:
<!-- language: lang-none -->
serial_flash_programmer.obj : error LNK2019: unresolved external symbol "void __cdecl autobaudLock(void)" (?autobaudLock@@YAXXZ) referenced in function _wmain
1>serial_flash_programmer.obj : error LNK2019: unresolved external symbol "int __cdecl f021_DownloadImage(wchar_t *)" (?f021_DownloadImage@@YAHPA_W@Z) referenced in function _wmain
1>serial_flash_programmer.obj : error LNK2019: unresolved external symbol "int __cdecl f021_DownloadKernel(wchar_t *)" (?f021_DownloadKernel@@YAHPA_W@Z) referenced in function _wmain
1>serial_flash_programmer.obj : error LNK2019: unresolved external symbol "unsigned int __cdecl constructPacket(unsigned char *,unsigned short,unsigned short,unsigned char *)" (?constructPacket@@YAIPAEGG0@Z) referenced in function _wmain
1>serial_flash_programmer.obj : error LNK2019: unresolved external symbol "int __cdecl f021_SendPacket(unsigned char *,unsigned int)" (?f021_SendPacket@@YAHPAEI@Z) referenced in function _wmain
1>serial_flash_programmer.obj : error LNK2019: unresolved external symbol "unsigned short __cdecl getPacket(unsigned short *,unsigned short *)" (?getPacket@@YAGPAG0@Z) referenced in function _wmain
1>C:\ti\c2000\C2000Ware_1_00_06_00\utilities\flash_programmers\serial_flash_programmer\Debug\serial_flash_programmer.exe : fatal error LNK1120: 6 unresolved externals
1>Done building project "serial_flash_programmer.vcxproj" -- FAILED.