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

转自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
阅读更多
个人分类: 编译错误
上一篇Unresolved external 'mysql_init' referenced;Unresolved external 'mysql_real_connect' referenced
下一篇opencv hello.obj : error LNK2001: unresolved external symbol _cvNamedWindow
想对作者说点什么? 我来说一句

没有更多推荐了,返回首页

关闭
关闭