>----Messaggio originale----
>Da: Linda Huxley <lhux...@shaw.ca>
>Data: 23/05/2016 21.24
>
>You can display the Gerbv command line options from a Windows command 
>prompt with:  "gerbv --help".  (You may need to change directory to your 
>Gerbv installation directory to execute that command successfully.)

I do not get any output with gerbv --help or -h on my Win7.
While  /? start gerbv and report invalid argument in Messages tab.

gerbv with a valid argument do not start at all on my Win7.
For example:

D:\Program Files (x86)\gerbv-2.6Abeta2016-02-09\bin>gerbv -V

D:\Program Files (x86)\gerbv-2.6Abeta2016-02-09\bin>


>  In the help listing, you will see:
>
>   -p, --project=<prjfile>         Load project file <prjfile>.

I tried on my Linux box, here I get the help listing.
So files without options in front are gerber layers, while files preceded by -
p are projects.
Thank you for pointing me to this.


>I believe that Gerbv assumes that all input files are Gerbers regardless 
>of file extension, so you must provide the project option switch on the 
>command line to get Gerbv to interpret your project file correctly.

This is strange as it is very easy recognize it own project file looking at 
first line:
(gerbv-file-version! "2.0A")
I can try to manage an auto behave if the devels are interested.


>The following shortcut target worked for me:
>
>C:\msys64\usr\local\bin\gerbv.exe -p
>
>(Your Gerbv installation directory will likely be different.)

thank you for good suggestion.
I made 4 shortcuts:
2.6.1
2.6.1 with -p
2.6A compiled on Feb  9 2016
2.6A compiled on Feb  9 2016 with -p
this solve the trouble for all the situations.

I made all the possible cross tests:

double click on 2.6.1, open it correctly
double click on 2.6A, open it correctly
double click on 2.6.1 with -p, nothing happen 
double click on 2.6A with -p, nothing happen
(it is related to the missing CLI help)

sending gerber file to 2.6.1, open it correctly, no messages
sending gerber gile to 2.6A, open it correctly, no messages
sending gerber file to 2.6.1 with -p, nothing open,  no messages
sending gerber gile to 2.6A with -p, nothing open, could not read D:
\Gerber\SMTVAL-10.003_REV.0-Layer4.gdo[-1]

sending project file to 2.6.1, nothing open, no messages
sending project file to 2.6.1 with -p, open it correctly, no messages
sending project file to 2.6A, nothing open, D:\Gerber\SMTVAL-10.003_REV.0.gvp: 
Unknown file type.
Could not read D:\Gerber\SMTVAL-10.003_REV.0.gvp[0]
sending project file to 2.6A with -p, open it correctly, no messages

Apparently the [0] or [-1] is the exit code.
In case of project to 2.6A it say SUCCESS that is misleading


For the missing CLI help someone has some idea?

Valerio


------------------------------------------------------------------------------
Mobile security can be enabling, not merely restricting. Employees who
bring their own devices (BYOD) to work are irked by the imposition of MDM
restrictions. Mobile Device Manager Plus allows you to control only the
apps on BYO-devices by containerizing them, leaving personal data untouched!
https://ad.doubleclick.net/ddm/clk/304595813;131938128;j
_______________________________________________
Gerbv-devel mailing list
Gerbv-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gerbv-devel

Reply via email to