Skip to content

"The specified File could not be found" error during running Make cmd. #1

@Coolxer

Description

@Coolxer

Hello,
Firsty, I have downloaded repository https://github.com/grblHAL/STM32F4xx with submodules, then I cloned this repository into the grbl directory of STM32F4xx.
Just like the manual says I modified Makefile (change platform to Windows and also changed paths to files: GRBL_BASE_OBJECTS are in the parent directory, other files are in the current).

Unfortunately I still receiving error, that specified file cannot be found. The error suggests there is problem with grbl_interface file, so i also updated paths here, but it didnt solve problem.

make

Poniżej fragment Makefile
`
PLATFORM = WINDOWS

GRBL_BASE_OBJECTS = ../grbllib.o ../protocol.o ../planner.o ../settings.o ../nuts_bolts.o ../stepper.o ../gcode.o ../stream.o ../spindle_control.o ../motion_control.o ../limits.o ../coolant_control.o ../system.o ../report.o ../state_machine.o ../override.o ../nvs_buffer.o ../sleep.o ../tool_change.o ../my_plugin.o

SIM_OBJECTS = main.o simulator.o driver.o eeprom.o grbl_eeprom_extensions.o mcu.o serial.o platform_$(PLATFORM).o

GRBL_SIM_OBJECTS = grbl_interface.o $(GRBL_BASE_OBJECTS) $(SIM_OBJECTS)
GRBL_VAL_OBJECTS = validator.o validator_driver.o $(GRBL_BASE_OBJECTS)

CLOCK = 16000000
SIM_EXE_NAME = grbl_sim.exe
VALIDATOR_NAME = gvalidate.exe
FLAGS = -g -O3
COMPILE = $(CC) -Wall $(FLAGS) -DF_CPU=$(CLOCK) -I. -DPLAT_$(PLATFORM)
LINUX_LIBRARIES = -lrt -pthread
OSX_LIBRARIES =
WINDOWS_LIBRARIES =

all: main gvalidate

new: clean main gvalidate

clean:
rm -f $(SIM_EXE_NAME) $(GRBL_SIM_OBJECTS) $(VALIDATOR_NAME) $(GRBL_VAL_OBJECTS)

main: $(GRBL_SIM_OBJECTS)
$(COMPILE) -o $(SIM_EXE_NAME) $(GRBL_SIM_OBJECTS) -lm $($(PLATFORM)_LIBRARIES)

gvalidate: $(GRBL_VAL_OBJECTS)
$(COMPILE) -o $(VALIDATOR_NAME) $(GRBL_VAL_OBJECTS) -lm $($(PLATFORM)_LIBRARIES)

%.o: %.c
$(COMPILE) -c $< -o $@

grbl/planner.o: grbl/planner.c
$(COMPILE) -include planner_inject_accessors.c -c $< -o $@
`

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions