Cannot execute cheque
YianChen18 opened this issue · comments
Using go version 1.15.2
Ran go build main.go
Then tried:
- ./main cheque -lpng demo.c
- ./main -lpng demo.c
- ./main demo.c
They all returned the message: Cheque FATAL: Cannot find official command:
Did anyone experience this before?
@
Ran go build main.go
I may be missing something, but I typically build cheque using the command:
go build
in the root of the cheque project. This should produce an executable cheque
in the cheque project root directory. You can then invoke the newly built executable:
$ ./cheque
Error: No input files
Usage: cheque [options] <filename> ...
...
Then you can use the cheque
exectable as desired.
Thanks, it's able to execute now.
In the example section, I saw the use of -lpng. What do they stand for? It's not included in the README
Also, what are the file types that Cheque supports besides .c?
It's able to execute but returns nothing.
Do you think you could provide me a sample file to scan? It would be much appreciated.