Measurement Studio for VC++

cancel
Showing results for 
Search instead for 
Did you mean: 

How can I get NiVisa100D.lib?

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.

 

 

2.png

0 Kudos
Message 1 of 3
(2,707 Views)

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.

Rolf Kalbermatter
My Blog
0 Kudos
Message 2 of 3
(2,670 Views)

Thank  you  from the bottom of my heart.I get it.

0 Kudos
Message 3 of 3
(2,662 Views)