Closed levlandau closed 7 years ago
Ah yeah sorry, try putting:
include "functions.php";
At the top of the file.
Sent from my iPhone
On 22 Feb 2016, at 03:35, levlandau notifications@github.com wrote:
I installed Windows PHP but don't have a web server running on my Windows 7 PC.
I made the cli.php file as the instructions stated, but when I run the file using the command in the instructions I get the error below. What am I doing wrong? The command is being called from the same directory as the other files for this program.
C:\gcodearcoptimiser>php cli.php -f "SomeGcodeFile.g" -o "MyProcessedFile.g" PHP Fatal error: Uncaught Error: Call to undefined function processGcode() in C:\gcodearcoptimiser\cli.php:9 Stack trace:
0 {main}
thrown in C:\gcodearcoptimiser\cli.php on line 9
Fatal error: Uncaught Error: Call to undefined function processGcode() in C:\gcodearcoptimiser\cli.php:9 Stack trace:
0 {main}
thrown in C:\gcodearcoptimiser\cli.php on line 9
— Reply to this email directly or view it on GitHub.
I installed Windows PHP but don't have a web server running on my Windows 7 PC.
I made the cli.php file as the instructions stated, but when I run the file using the command in the instructions I get the error below. What am I doing wrong? The command is being called from the same directory as the other files for this program.