Recent 1769 build keeps failing

I have built and uploaded this over a dozen different times. It’s been a few weeks and I reopened it today to simply change the temp sensor from 1 to 5. Go to rebuild and now getting this error. I have deleted the platformIO folder, it still fails. Here is a copy of the terminal:

Verbose mode can be enabled via `-v, --verbose` option
CONFIGURATION: https://docs.platformio.org/page/boards/nxplpc-arduino-lpc176x/nxp_lpc1769.html
PLATFORM: NXP Arduino LPC176x (0.1.3) > NXP LPC1769
HARDWARE: LPC1769 120MHz, 31.97KB RAM, 464KB Flash
DEBUG: Current (cmsis-dap) On-board (cmsis-dap) External (blackmagic, jlink)
PACKAGES:
 - framework-arduino-lpc176x @ 0.2.9
 - toolchain-gccarmnoneeabi @ 1.100301.220327 (10.3.1)
Converting Marlin.ino
LDF: Library Dependency Finder -> https://bit.ly/configure-pio-ldf
LDF Modes: Finder ~ off, Compatibility ~ strict
Found 3 compatible libraries
Scanning dependencies...
Dependency Graph
|-- Servo @ 1.0.0
|-- TMCStepper @ 0.8.8
|-- U8glib-HAL @ 0.5.4
Building in release mode
Compiling .pio\build\LPC1769\src\src\gcode\feature\runout\M412.cpp.o
Compiling .pio\build\LPC1769\src\src\gcode\sd\M24_M25.cpp.o
Compiling .pio\build\LPC1769\src\src\gcode\sd\M26.cpp.o
Compiling .pio\build\LPC1769\src\src\gcode\sd\M27.cpp.o    
Compiling .pio\build\LPC1769\src\src\gcode\sd\M28_M29.cpp.o
Compiling .pio\build\LPC1769\src\src\gcode\sd\M30.cpp.o
Compiling .pio\build\LPC1769\src\src\gcode\sd\M32.cpp.o
Compiling .pio\build\LPC1769\src\src\gcode\sd\M33.cpp.o
Compiling .pio\build\LPC1769\src\src\gcode\sd\M34.cpp.o 
Compiling .pio\build\LPC1769\src\src\gcode\sd\M524.cpp.o
Compiling .pio\build\LPC1769\src\src\gcode\sd\M808.cpp.o
Compiling .pio\build\LPC1769\src\src\gcode\sd\M928.cpp.o
Compiling .pio\build\LPC1769\src\src\gcode\stats\M31.cpp.o    
Compiling .pio\build\LPC1769\src\src\gcode\stats\M75-M78.cpp.o
Compiling .pio\build\LPC1769\src\src\gcode\temp\M104_M109.cpp.o
Compiling .pio\build\LPC1769\src\src\gcode\temp\M105.cpp.o
In file included from Marlin\src\gcode\feature\runout\../../../feature/../module/stepper/../../feature/../lcd/../module/settings.h:31,
                 from Marlin\src\gcode\feature\runout\../../../feature/../module/stepper/../../feature/../lcd/marlinui.h:31,
                 from Marlin\src\gcode\feature\runout\../../../feature/../module/stepper/../../feature/tmc_util.h:25,       
                 from Marlin\src\gcode\feature\runout\../../../feature/../module/stepper/trinamic.h:35,
                 from Marlin\src\gcode\feature\runout\../../../feature/../module/stepper/indirection.h:73,
                 from Marlin\src\gcode\feature\runout\../../../feature/../module/stepper.h:48,
                 from Marlin\src\gcode\feature\runout\../../../feature/runout.h:31,
                 from Marlin\src\gcode\feature\runout\M412.cpp:28:
Marlin\src\gcode\feature\runout\../../../feature/../module/stepper/../../feature/../lcd/../module/../HAL/shared/eeprom_api.h:27:10: fatal error: ../../libs/crc16.h: No such file or directory
   27 | #include "../../libs/crc16.h"
      |          ^~~~~~~~~~~~~~~~~~~~
compilation terminated.
*** [.pio\build\LPC1769\src\src\gcode\feature\runout\M412.cpp.o] Error 1

I’m not the greatest at this but watch a lot of tutorials on youtube but I’m clueless. Any help is appriciated. Thanks!

Well, does that file exist on disk?

If the filepaths are getting too long, maybe activate NTFS Long Paths and reboot?

I’m not sure how to look for the file exactly. I went back and commented out fil runout sensor 1985 and it built with no error so that is definitely something.

Huh? You evaluate the path based from the file that throws the error. Or just Ctrl + P in VSCode followed by the filename.

1 Like