Hi,
I seem to be having this problem with CLI verification on Windows using arduino_debug.exe.
Edit: I'm running 64-bit Windows 10, and Arduino 1.8.0.
I've created an empty default sketch using the GUI, and am able to verify it.
However, when I try to use arduino_debug.exe --verify to verify the same sketch:
arduino_debug --verbose-build --verify CLIUpTest.ino
it displays the following output:
Loading configuration...
Initializing packages...
Preparing boards...
Verifying...
and then exits.
The error code is 1 (verification or upload failed). No error messages are displayed. (Why?)
I am running arduino_debug from the same directory as the .ino file, with my PATH environment variable set to the location of arduino_debug.exe.
Do I need to set any other environment variables? I was under the impression that installing Arduino automatically set those variables appropriately.