Including NIDAQmx.h After nivxi.h Causes Redefinition Errors for the INT8 Datatype Primary Software: LabWindows/CVI Development Systems>>Full Development SystemPrimary Software Version: 8.1.1 Primary Software Fixed Version: N/A Secondary Software: N/A
Problem: I have created a source file that simple includes the NIDAQmx.h and busacc.h header files. When I attempt to compile, the compiler complains that INT8 is attempting to be redefined twice. Also any other headers that rely on busacc.h or datasize.h produce this problem (i.e. nivxi.h).Solution: To workaround this issue, you have two options which are:
Related Links: Attachments:
Report Date: 04/13/2007 Last Updated: 04/19/2007 Document ID: 47EA4L1A |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
