CVI is not a C++ compiler. Therefore to link with libraries from C++ you have to extern "C" any function that you are calling from the library. I can't really tell if this is why you are getting this error, but it is a potential source.
Best Regards,
Chris Matthews
National Instruments