Note: the gcode exporter suffers from the same locale bug the gerber exporter did - you can't just call fprintf("%f") and expect to get '.' as the decimal separator. You have to use g_ascii_formatd("%f") to ascii-format the number into a string buffer first, then use that buffer in your output via "%s"
Note: the gcode exporter suffers from the same locale bug the gerber exporter did - you can't just call fprintf("%f") and expect to get '.' as the decimal separator. You have to use g_ascii_ formatd( "%f") to ascii-format the number into a string buffer first, then use that buffer in your output via "%s"
Try this in the tests directory:
LC_ALL=cs_CZ.utf8 make check