DIAdem

cancel
Showing results for 
Search instead for 
Did you mean: 

TDM C DLL undefined references

Solved!
Go to solution

Hello!

 

This is my first time trying to use NI tools or software and I'm trying to experiment with writing TDMS files. I downloaded the TDM C DLL from the website and tried to run the writeFile.c example without any changes, but I keep getting undefined reference errors (see attached picture). 

 

errors.PNG

This was after moving the nilibddc.h and contents from dev/bin/64-bit into the samples folder so that they were in the same directory as writeFile.c. Is this a configuration issue or what else could I be doing wrong? Any advice is very appreciated! 

0 Kudos
Message 1 of 3
(1,222 Views)
Solution
Accepted by topic author clu03

Did you link to the correct version of "nilibddc.lib". I guess you might have forgotten to link to that library. There are different versions of the library for 32 and 64 bit.

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

This was it, I forgot to specify which library to link to. Thank you! 

0 Kudos
Message 3 of 3
(1,141 Views)