10-04-2017 05:24 PM
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
10-04-2017 06:09 PM
The fix turned out to be include "legacy_stdio_definitions.lib" to linker library inputs