关闭

error LNK2019: unresolved external symbol _viOpen@20 referenced in function _main

标签: viCloseviReadviWriteviOpenviStatusDesc
813人阅读 评论(0) 收藏 举报
分类:
转自VC错误:http://www.vcerror.com/?p=1602
问题描述:

编译时出现以下错误
1>trial_12th.obj : error LNK2019: unresolved external symbol _viStatusDesc@12 referenced in function _main
1>trial_12th.obj : error LNK2019: unresolved external symbol _viClose@4 referenced in function _main
1>trial_12th.obj : error LNK2019: unresolved external symbol _viRead@16 referenced in function _main
1>trial_12th.obj : error LNK2019: unresolved external symbol _viWrite@16 referenced in function _main
1>trial_12th.obj : error LNK2019: unresolved external symbol _viOpen@20 referenced in function _main
1>trial_12th.obj : error LNK2019: unresolved external symbol _viOpenDefaultRM@4 referenced in function _main
1>C:\Users\41kchoudhary\Documents\Visual Studio 2010\Projects\trial_12th\Debug\trial_12th.exe : fatal error LNK1120: 6 unresolved externals

[Linker Error] Unresolved external 'viOpenDefaultRM' referenced from C:\DOCUMENTS AND SETTINGS\ADMINISTRATOR\桌面\程控电源\UNIT1.OBJ
[Linker Error] Unresolved external 'viOpen' referenced from C:\DOCUMENTS AND SETTINGS\ADMINISTRATOR\桌面\程控电源\UNIT1.OBJ
[Linker Error] Unresolved external '_viScanf' referenced from C:\DOCUMENTS AND SETTINGS\ADMINISTRATOR\桌面\程控电源\UNIT1.OBJ
[Linker Error] Unresolved external '_viPrintf' referenced from C:\DOCUMENTS AND SETTINGS\ADMINISTRATOR\桌面\程控电源\UNIT1.OBJ



解决方法:
具体的解决方法参考文章:http://www.vcerror.com/?p=1602
0
0

查看评论
* 以上用户言论只代表其个人观点,不代表CSDN网站的观点或立场
    个人资料
    • 访问:845047次
    • 积分:9420
    • 等级:
    • 排名:第1913名
    • 原创:93篇
    • 转载:457篇
    • 译文:0篇
    • 评论:29条