Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

Link errors: undefined reference to `DAQmx*****@*'

I'm programming a NI-DAQmx application in C++ and using a Dev-C++ as compiler. My code compiles fine, but when linking, it returns errors such as undefined reference to X where X is any NI-DAQmx function call that I am using in my code. I have included "NIDAQmx.h" in my C code, and "NIDAQmx.lib" in my project. And, I have copyed both file to my project folder.
 
Why do I receive these errors?
0 Kudos
Message 1 of 2
(3,260 Views)

Hello boliu,

DevC++ is not an officially supported compiler with NI-DAQmx, however other users have gotten it to work here and here.

You can see officially supported text-based languages in this KnowledgeBase.

Regards,
Laura

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