Hello!
Thanks for contacting National Instruments.
I'm going to need to get some more information from you in order to be able to help you. First off, which example is it you are trying to compile? Also, what kind of NI board are you using? From the sounds of the error, it sounds like whatever program you are using is not including all the correct libraries and header files. Be sure to include all the correct library paths and include paths in your program.
Regards,
Steven B.
Applications Engineering
National Instruments