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