05-08-2017 05:45 AM
First,please allow me to introduce myself,I am a Chinese,my English is very poor,sorry to make you laught at me.
When I debugged my C project,the VS2012 signaled an error as the follow figure.But there is not NiVisa100D.lib In my computer.I need help.
05-10-2017 04:14 AM - edited 05-10-2017 04:17 AM
Where did you get that project from? Generally there isn't a NIVisa100D.lib available. Maybe NI has something like that internally but the official lib you should link to for accessing VISA functionality would be in C:\Program Files (x86)\IVI Foundation\VISA\WinNT\lib\msc\visa32.lib for the 32 bit version of a program and C:\Program Files (x86)\IVI Foundation\VISA\WinNT\Lib_x64\msc\visa64.lib for the 64 bit version.
Go into your project settings and change the Linker/Input/Additional Libraries settings to list the visa32.lib or visa64.lib name and add above directories to your link library paths in your Visual Studio settings.
05-10-2017 05:25 AM
Thank you from the bottom of my heart.I get it.