07-02-2011 02:01 AM
I have C-code for PCI-6601 control that uses the NIDAQmx 9.3 library, and compiles fine under the MinGW tools, but the compilation fails if the CYGWIN gcc compiler is used. The compiler has parsing errors in NIDAQmx.h beginning with line 77. Does anyone know why this compiler has a problem?
07-04-2011 11:32 PM
I have a similar issue, Love to see if someone has a fix
07-07-2011 03:53 PM
Hi rmc_boeing,
__int64 is a Microsoft extension. With mingw or tcc (Tiny C), most of the standard library headers (such as stdio.h) include _mingw.h, which #defines the Microsoft-specific types and keywords for you. Perhaps Cygwin's standard library headers do not. Try defining __int64 appropriately before including NIDAQmx.h.
Brad