Quantcast
Channel: Measurement Studio for VC++ topics
Viewing all articles
Browse latest Browse all 654

How do I build a 64 bit Windows application using NI-DAQmx in Visual Studio 2010

$
0
0

Hi,

 

How do I build a 64 bit Windows application using NI-DAQmx in Visual Studio 2010?

 

I'm trying to port a 32 bit application to 64 bit.  In visual Studio I added the 64 bit configuration to the project.  It compiled the source fine but reports link errors:

 

error LNK2019: unresolved external symbol DAQmxReadAnalogF64 referenced in function NI6008_AnalogInput NI_6281\NI6281.obj
error LNK2019: unresolved external symbol DAQmxCreateAIVoltageChan referenced in function NI6008_AnalogInput NI_6281\NI6281.obj
error LNK2019: unresolved external symbol DAQmxReadDigitalLines referenced in function NI6008_DigitalInput NI_6281\NI6281.obj
error LNK2019: unresolved external symbol DAQmxCreateDIChan referenced in function NI6008_DigitalInput NI_6281\NI6281.obj
error LNK2019: unresolved external symbol DAQmxWriteDigitalLines referenced in function NI6008_DigitalOutput NI_6281\NI6281.obj
error LNK2019: unresolved external symbol DAQmxCreateDOChan referenced in function NI6008_DigitalOutput NI_6281\NI6281.obj

 

These, of course, are the NI functions I'm using.  The NIDAQmx.lib has been added to the Link Input property.

 

Any help would be appriciated.

 

Thanks,

 

- Neil Shore

 


Viewing all articles
Browse latest Browse all 654

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>