Measurement Studio for VC++

cancel
Showing results for 
Search instead for 
Did you mean: 

niRFSA_init

Hello,

 

I have followed the correct instructions to import the correct nirfsa.lib and my paths are correct.

When I comment out this line, my program compiles fine.

niRFSA_init ("PXI1Slot2", VI_TRUE, VI_FALSE, &session)

 

I am trying to build a simple driver to connect I receive the error below.

error:

LNK2019 : Unresolved external symbol _sprint referenced in function _LoadDLLIfNeeded

 

Where else I should be looking for any libs or directories? What am I missing?
I referenece the
<IVIROOTDIR32>\Include
<VXIPNPPATH>\WinNT\Visa\include additional libraries as well as

 

<IVIROOTDIR32>\Lib\msc

For the nirfsa .lib dependencies

0 Kudos
Message 1 of 2
(2,456 Views)

The fix turned out to be include "legacy_stdio_definitions.lib" to linker library inputs

Message 2 of 2
(2,441 Views)