grbl / grbl-sim

Compiles Grbl into an executable for your computer.
GNU General Public License v3.0
89 stars 76 forks source link

compiling grbl-sim with cygwin #16

Closed thrustin closed 6 years ago

thrustin commented 6 years ago

During compiling with "make new" command I keep getting the following error.

./config.h:28:10: fatal error: ../system.h: No such file or directory

include "../system.h"

as well as for

include "../planner.h"

include "../settings.h"

Are there missing files?

Thanks

MitchBradley commented 6 years ago

grbl-sim must be installed as a subdirectory of the base grbl code, specifically underneath grbl/grbl

Here is how I did it:

git clone https://github.com/gnea/grbl.git
cd grbl/grbl
git clone https://github.com/grbl/grbl-sim.git

Note that grbl comes from the "gnea" user (the grbl 1.1 series), while grbl-sim comes from "grbl" (the grbl 0.x series).

After doing that, there are still problems, namely the missing file "system_declares.c".

MitchBradley commented 6 years ago

The missing system_declares.c has now been corrected via a pull request by @fsantini

https://github.com/grbl/grbl-sim/pull/17

chamnit commented 6 years ago

Thanks for the confirmation