Quantcast
Channel: Digital I/O topics
Viewing all articles
Browse latest Browse all 2147

'/Zl' and 'Gy-' incompatible error when programing NI-845x in C/C++

$
0
0

Hi, 

 

I'm trying to use the C example codes (basic reading and writing) of the NI USB-845x in MS Visual Studio 2019 Community. 

 

The basic writing example runs correctly with no error. But when I try to compile the reading code, it shows one error that is '/Zl' and '/Gy-' command-line options are incompatible'. The error seems not origin from the .c code file but the whole project. The compiler shows the error is at line 1 of the file 'cl', but I cannot find a file called 'cl' in the path the compiler shows to me (it shows the path of the project).

 

Screenshots are attached for both the error of the Reading code and the correctly compiled Writing code. My computer runs the Windows 8.1 and the 845x driver version is 17.0.

 

Do you have any suggestions that how can I solve this issue?

 

Thanks,

Eric

 

 

845x_C_Reading_Error845x_C_Reading_Error845x_C_Writing845x_C_Writing


Viewing all articles
Browse latest Browse all 2147

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>