06-09-2023 07:04 PM
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).
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!
Solved! Go to Solution.
06-13-2023 04:27 AM
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.
06-13-2023 12:09 PM
This was it, I forgot to specify which library to link to. Thank you!