Open nickm324 opened 4 years ago
I compiling on Windows。When I run ---mingw32-make
-Wall -g -O3 -DF_CPU=16000000 -include config.h -I. -DPLAT_WINDOWS -c grbl_interface.c -o grbl_interface.o process_begin: CreateProcess(NULL, cc -Wall -g -O3 -DF_CPU=16000000 -include config.h -I. -DPLAT_WINDOWS -c grbl_interface.c -o grbl_interface.o, ...) failed. make (e=2): 系统找不到指定的文件。 Makefile:64: recipe for target 'grbl_interface.o' failed mingw32-make: *** [grbl_interface.o] Error 2
Compiling on a Raspberry Pi 3B. When I run make new I get the following error. Is there some dependencies or something I need to install before trying to compile?
cc -Wall -g -O3 -DF_CPU=16000000 -include config.h -I. -DPLAT_LINUX -o grbl_sim.exe grbl_interface.o ../protocol.o ../planner.o ../settings.o ../print.o ../nuts_bolts.o ../stepper.o ../gcode.o ../spindle_control.o ../motion_control.o ../limits.o ../coolant_control.o ../probe.o ../system.o ../jog.o ../main.o ../serial.o ../report.o main.o simulator.o serial.o util/delay.o util/floatunsisf.o platform_LINUX.o system_declares.o avr/interrupt.o avr/pgmspace.o avr/io.o avr/eeprom.o grbl_eeprom_extensions.o -lm -lrt -pthread /usr/bin/ld: /usr/lib/gcc/arm-linux-gnueabihf/8/libgcc.a(_arm_addsubsf3.o): in function
__aeabi_ui2f': (.text+0x19c): multiple definition of
__floatunsisf'; util/floatunsisf.o:/home/pi/grbl/grbl/grbl-sim/util/floatunsisf.c:3: first defined here collect2: error: ld returned 1 exit status make: *** [Makefile:56: main] Error 1