Welcome! Log In Create A New Profile

Advanced

Unified Bed Leveling available as a Beta Release

Posted by Roxy 
Unified Bed Leveling available as a Beta Release
July 24, 2016 11:33PM
If you have less than perfect bed conditions... And the currently available Auto Bed Leveling software is not quite compensating for it...

Please consider loading the Unified Bed Leveling software at: [github.com]

I'll give quick and responsive support to anybody that is willing to be on the bleeding edge. I do not have the Delta code running yet. But the reason I wrote it is because I own a horrible quality Delta from Geeetech. I needed a way to compensate for the bad quality in the machine. I don't have it running on Delta's yet, but I fully expect it to be able to address poorly calibrated Delta's. It really is that good!
Re: Unified Bed Leveling available as a Beta Release
July 25, 2016 04:05PM
Thought I'd give it try but it fails to compile. This is with just downloading the .zip, opening Marlin.ino and compiling. No edit or changes by me.
Here is the error log.

Arduino: 1.6.9 (Windows 10), Board: "Arduino/Genuino Mega or Mega 2560, ATmega2560 (Mega 2560)"

C:\Program Files (x86)\Arduino\arduino-builder -dump-prefs -logger=machine -hardware "C:\Program Files (x86)\Arduino\hardware" -hardware "C:\Users\Dave\AppData\Local\Arduino15\packages" -tools "C:\Program Files (x86)\Arduino\tools-builder" -tools "C:\Program Files (x86)\Arduino\hardware\tools\avr" -tools "C:\Users\Dave\AppData\Local\Arduino15\packages" -built-in-libraries "C:\Program Files (x86)\Arduino\libraries" -libraries "C:\Users\Dave\Documents\Arduino\libraries" -fqbn=arduino:avr:mega:cpu=atmega2560 -ide-version=10609 -build-path "C:\Users\Dave\AppData\Local\Temp\build2e315816a0a4c3cfc54bd199088b147d.tmp" -warnings=default -prefs=build.warn_data_percentage=75 -verbose "C:\Users\Dave\Google Drive\3D Printer\Folger 2020\Firmware\Marlin-devel-ubl\Marlin\Marlin.ino"
C:\Program Files (x86)\Arduino\arduino-builder -compile -logger=machine -hardware "C:\Program Files (x86)\Arduino\hardware" -hardware "C:\Users\Dave\AppData\Local\Arduino15\packages" -tools "C:\Program Files (x86)\Arduino\tools-builder" -tools "C:\Program Files (x86)\Arduino\hardware\tools\avr" -tools "C:\Users\Dave\AppData\Local\Arduino15\packages" -built-in-libraries "C:\Program Files (x86)\Arduino\libraries" -libraries "C:\Users\Dave\Documents\Arduino\libraries" -fqbn=arduino:avr:mega:cpu=atmega2560 -ide-version=10609 -build-path "C:\Users\Dave\AppData\Local\Temp\build2e315816a0a4c3cfc54bd199088b147d.tmp" -warnings=default -prefs=build.warn_data_percentage=75 -verbose "C:\Users\Dave\Google Drive\3D Printer\Folger 2020\Firmware\Marlin-devel-ubl\Marlin\Marlin.ino"
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -E -CC -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10609 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\mega" "C:\Users\Dave\AppData\Local\Temp\build2e315816a0a4c3cfc54bd199088b147d.tmp\sketch\Marlin.ino.cpp" -o "nul"
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -E -CC -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10609 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\mega" "C:\Users\Dave\AppData\Local\Temp\build2e315816a0a4c3cfc54bd199088b147d.tmp\sketch\Bed_Leveling.cpp" -o "nul"
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -E -CC -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10609 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\mega" "C:\Users\Dave\AppData\Local\Temp\build2e315816a0a4c3cfc54bd199088b147d.tmp\sketch\G25.cpp" -o "nul"
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -E -CC -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10609 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\mega" "C:\Users\Dave\AppData\Local\Temp\build2e315816a0a4c3cfc54bd199088b147d.tmp\sketch\G26_Mesh_Validation_Tool.cpp" -o "nul"
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -E -CC -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10609 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\mega" "C:\Users\Dave\AppData\Local\Temp\build2e315816a0a4c3cfc54bd199088b147d.tmp\sketch\G29_Unified_Bed_Leveling.cpp" -o "nul"
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -E -CC -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10609 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\mega" "C:\Users\Dave\AppData\Local\Temp\build2e315816a0a4c3cfc54bd199088b147d.tmp\sketch\M100_Free_Mem_Chk.cpp" -o "nul"
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -E -CC -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10609 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\mega" "C:\Users\Dave\AppData\Local\Temp\build2e315816a0a4c3cfc54bd199088b147d.tmp\sketch\Marlin.ino.cpp" -o "nul"
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -E -CC -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10609 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\mega" "C:\Users\Dave\AppData\Local\Temp\build2e315816a0a4c3cfc54bd199088b147d.tmp\sketch\MarlinSerial.cpp" -o "nul"
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -E -CC -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10609 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\mega" "C:\Users\Dave\AppData\Local\Temp\build2e315816a0a4c3cfc54bd199088b147d.tmp\sketch\Marlin_main.cpp" -o "nul"
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -E -CC -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10609 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\mega" "C:\Users\Dave\AppData\Local\Temp\build2e315816a0a4c3cfc54bd199088b147d.tmp\sketch\Sd2Card.cpp" -o "nul"
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -E -CC -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10609 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\mega" "C:\Users\Dave\AppData\Local\Temp\build2e315816a0a4c3cfc54bd199088b147d.tmp\sketch\SdBaseFile.cpp" -o "nul"
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -E -CC -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10609 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\mega" "C:\Users\Dave\AppData\Local\Temp\build2e315816a0a4c3cfc54bd199088b147d.tmp\sketch\SdFatUtil.cpp" -o "nul"
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -E -CC -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10609 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\mega" "C:\Users\Dave\AppData\Local\Temp\build2e315816a0a4c3cfc54bd199088b147d.tmp\sketch\SdFile.cpp" -o "nul"
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -E -CC -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10609 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\mega" "C:\Users\Dave\AppData\Local\Temp\build2e315816a0a4c3cfc54bd199088b147d.tmp\sketch\SdVolume.cpp" -o "nul"
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -E -CC -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10609 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\mega" "C:\Users\Dave\AppData\Local\Temp\build2e315816a0a4c3cfc54bd199088b147d.tmp\sketch\blinkm.cpp" -o "nul"
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -E -CC -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10609 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\mega" "C:\Users\Dave\AppData\Local\Temp\build2e315816a0a4c3cfc54bd199088b147d.tmp\sketch\cardreader.cpp" -o "nul"
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -E -CC -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10609 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\mega" "C:\Users\Dave\AppData\Local\Temp\build2e315816a0a4c3cfc54bd199088b147d.tmp\sketch\configuration_store.cpp" -o "nul"
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -E -CC -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10609 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\mega" "C:\Users\Dave\AppData\Local\Temp\build2e315816a0a4c3cfc54bd199088b147d.tmp\sketch\dac_mcp4728.cpp" -o "nul"
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -E -CC -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10609 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\mega" "C:\Users\Dave\AppData\Local\Temp\build2e315816a0a4c3cfc54bd199088b147d.tmp\sketch\digipot_mcp4451.cpp" -o "nul"
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -E -CC -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10609 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\mega" "C:\Users\Dave\AppData\Local\Temp\build2e315816a0a4c3cfc54bd199088b147d.tmp\sketch\endstops.cpp" -o "nul"
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -E -CC -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10609 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\mega" "C:\Users\Dave\AppData\Local\Temp\build2e315816a0a4c3cfc54bd199088b147d.tmp\sketch\hex_print_routines.cpp" -o "nul"
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -E -CC -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10609 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\mega" "C:\Users\Dave\AppData\Local\Temp\build2e315816a0a4c3cfc54bd199088b147d.tmp\sketch\planner.cpp" -o "nul"
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -E -CC -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10609 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\mega" "C:\Users\Dave\AppData\Local\Temp\build2e315816a0a4c3cfc54bd199088b147d.tmp\sketch\planner_bezier.cpp" -o "nul"
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -E -CC -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10609 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\mega" "C:\Users\Dave\AppData\Local\Temp\build2e315816a0a4c3cfc54bd199088b147d.tmp\sketch\printcounter.cpp" -o "nul"
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -E -CC -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10609 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\mega" "C:\Users\Dave\AppData\Local\Temp\build2e315816a0a4c3cfc54bd199088b147d.tmp\sketch\qr_solve.cpp" -o "nul"
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -E -CC -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10609 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\mega" "C:\Users\Dave\AppData\Local\Temp\build2e315816a0a4c3cfc54bd199088b147d.tmp\sketch\servo.cpp" -o "nul"
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -E -CC -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10609 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\mega" "C:\Users\Dave\AppData\Local\Temp\build2e315816a0a4c3cfc54bd199088b147d.tmp\sketch\stepper.cpp" -o "nul"
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -E -CC -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10609 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\mega" "C:\Users\Dave\AppData\Local\Temp\build2e315816a0a4c3cfc54bd199088b147d.tmp\sketch\stepper_dac.cpp" -o "nul"
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -E -CC -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10609 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\mega" "C:\Users\Dave\AppData\Local\Temp\build2e315816a0a4c3cfc54bd199088b147d.tmp\sketch\stepper_indirection.cpp" -o "nul"
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -E -CC -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10609 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\mega" "C:\Users\Dave\AppData\Local\Temp\build2e315816a0a4c3cfc54bd199088b147d.tmp\sketch\stopwatch.cpp" -o "nul"
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -E -CC -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10609 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\mega" "C:\Users\Dave\AppData\Local\Temp\build2e315816a0a4c3cfc54bd199088b147d.tmp\sketch\temperature.cpp" -o "nul"
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -E -CC -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10609 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\mega" "C:\Users\Dave\AppData\Local\Temp\build2e315816a0a4c3cfc54bd199088b147d.tmp\sketch\twibus.cpp" -o "nul"
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -E -CC -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10609 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\mega" "C:\Users\Dave\AppData\Local\Temp\build2e315816a0a4c3cfc54bd199088b147d.tmp\sketch\ultralcd.cpp" -o "nul"
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -E -CC -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10609 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\mega" "C:\Users\Dave\AppData\Local\Temp\build2e315816a0a4c3cfc54bd199088b147d.tmp\sketch\vector_3.cpp" -o "nul"
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -E -CC -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10609 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\mega" "C:\Users\Dave\AppData\Local\Temp\build2e315816a0a4c3cfc54bd199088b147d.tmp\sketch\watchdog.cpp" -o "nul"
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -E -CC -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10609 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\mega" "C:\Users\Dave\AppData\Local\Temp\build2e315816a0a4c3cfc54bd199088b147d.tmp\sketch\Marlin.ino.cpp" -o "C:\Users\Dave\AppData\Local\Temp\build2e315816a0a4c3cfc54bd199088b147d.tmp\preproc\ctags_target_for_gcc_minus_e.cpp"
"C:\Program Files (x86)\Arduino\tools-builder\ctags\5.8-arduino10/ctags" -u --language-force=c++ -f - --c++-kinds=svpf --fields=KSTtzns --line-directives "C:\Users\Dave\AppData\Local\Temp\build2e315816a0a4c3cfc54bd199088b147d.tmp\preproc\ctags_target_for_gcc_minus_e.cpp"
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10609 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\mega" "C:\Users\Dave\AppData\Local\Temp\build2e315816a0a4c3cfc54bd199088b147d.tmp\sketch\Bed_Leveling.cpp" -o "C:\Users\Dave\AppData\Local\Temp\build2e315816a0a4c3cfc54bd199088b147d.tmp\sketch\Bed_Leveling.cpp.o"
In file included from C:\Users\Dave\AppData\Local\Temp\build2e315816a0a4c3cfc54bd199088b147d.tmp\sketch\Bed_Leveling.cpp:23:0:

C:\Users\Dave\AppData\Local\Temp\build2e315816a0a4c3cfc54bd199088b147d.tmp\sketch\Marlin.h:51:37: warning: extra tokens at end of #ifdef directive [enabled by default]

#ifdef UNIFIED_BED_LEVELING_FEATURE || ENABLED(M100_FREE_MEMORY_WATCHER)

^

"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10609 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\mega" "C:\Users\Dave\AppData\Local\Temp\build2e315816a0a4c3cfc54bd199088b147d.tmp\sketch\G25.cpp" -o "C:\Users\Dave\AppData\Local\Temp\build2e315816a0a4c3cfc54bd199088b147d.tmp\sketch\G25.cpp.o"
In file included from C:\Users\Dave\AppData\Local\Temp\build2e315816a0a4c3cfc54bd199088b147d.tmp\sketch\G25.cpp:6:0:

C:\Users\Dave\AppData\Local\Temp\build2e315816a0a4c3cfc54bd199088b147d.tmp\sketch\Marlin.h:51:37: warning: extra tokens at end of #ifdef directive [enabled by default]

#ifdef UNIFIED_BED_LEVELING_FEATURE || ENABLED(M100_FREE_MEMORY_WATCHER)

^

"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10609 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\mega" "C:\Users\Dave\AppData\Local\Temp\build2e315816a0a4c3cfc54bd199088b147d.tmp\sketch\G26_Mesh_Validation_Tool.cpp" -o "C:\Users\Dave\AppData\Local\Temp\build2e315816a0a4c3cfc54bd199088b147d.tmp\sketch\G26_Mesh_Validation_Tool.cpp.o"
In file included from C:\Users\Dave\AppData\Local\Temp\build2e315816a0a4c3cfc54bd199088b147d.tmp\sketch\G26_Mesh_Validation_Tool.cpp:5:0:

C:\Users\Dave\AppData\Local\Temp\build2e315816a0a4c3cfc54bd199088b147d.tmp\sketch\Marlin.h:51:37: warning: extra tokens at end of #ifdef directive [enabled by default]

#ifdef UNIFIED_BED_LEVELING_FEATURE || ENABLED(M100_FREE_MEMORY_WATCHER)

^

G26_Mesh_Validation_Tool.cpp:76: error: 'Planner' does not name a type

extern Planner planner;

^

C:\Users\Dave\AppData\Local\Temp\build2e315816a0a4c3cfc54bd199088b147d.tmp\sketch\G26_Mesh_Validation_Tool.cpp: In function 'void gcode_G26()':

G26_Mesh_Validation_Tool.cpp:128: error: 'stepper' was not declared in this scope

stepper.synchronize();

^

G26_Mesh_Validation_Tool.cpp:185: error: 'lcd_status_message' was not declared in this scope

strcpy( lcd_status_message, "Mesh Validation Stopped.");// We can't do lcd_setstatus() without having it continue;

^

G26_Mesh_Validation_Tool.cpp:270: error: 'thermalManager' was not declared in this scope

thermalManager.setTargetBed( 0.0 );

^

C:\Users\Dave\AppData\Local\Temp\build2e315816a0a4c3cfc54bd199088b147d.tmp\sketch\G26_Mesh_Validation_Tool.cpp: In function 'void move_to(float, float, float, float)':

G26_Mesh_Validation_Tool.cpp:467: error: 'planner' was not declared in this scope

feed_value = planner.max_feedrate[Z_AXIS]/(3.0); // Base the feed rate off of the configured Z_AXIS feed rate

^

G26_Mesh_Validation_Tool.cpp:472: error: 'stepper' was not declared in this scope

stepper.synchronize();

^

In file included from C:\Users\Dave\AppData\Local\Temp\build2e315816a0a4c3cfc54bd199088b147d.tmp\sketch\Conditionals.h:287:0,

from C:\Users\Dave\AppData\Local\Temp\build2e315816a0a4c3cfc54bd199088b147d.tmp\sketch\Configuration_adv.h:738,

from C:\Users\Dave\AppData\Local\Temp\build2e315816a0a4c3cfc54bd199088b147d.tmp\sketch\Configuration.h:1205,

from C:\Users\Dave\AppData\Local\Temp\build2e315816a0a4c3cfc54bd199088b147d.tmp\sketch\Marlin.h:44,

from C:\Users\Dave\AppData\Local\Temp\build2e315816a0a4c3cfc54bd199088b147d.tmp\sketch\G26_Mesh_Validation_Tool.cpp:5:

Marlin.h:115: error: 'planner' was not declared in this scope

#define PLANNER_XY_FEEDRATE() (min(planner.max_feedrate[X_AXIS], planner.max_feedrate[Y_AXIS]))

^

C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino/Arduino.h:84:20: note: in definition of macro 'min'

#define min(a,b) ((a)<(b)?(a)sad smileyb))

^

C:\Users\Dave\AppData\Local\Temp\build2e315816a0a4c3cfc54bd199088b147d.tmp\sketch\G26_Mesh_Validation_Tool.cpp:477:14: note: in expansion of macro 'PLANNER_XY_FEEDRATE'

feed_value =PLANNER_XY_FEEDRATE()/(10.0); // Yes! It is a 'normal' movement

^

G26_Mesh_Validation_Tool.cpp:479: error: 'planner' was not declared in this scope

feed_value = planner.max_feedrate[E_AXIS]/(1.5); // it is just a retract() or un_retract()

^

G26_Mesh_Validation_Tool.cpp:488: error: 'stepper' was not declared in this scope

stepper.synchronize();

^

C:\Users\Dave\AppData\Local\Temp\build2e315816a0a4c3cfc54bd199088b147d.tmp\sketch\G26_Mesh_Validation_Tool.cpp: In function 'bool turn_on_heaters()':

G26_Mesh_Validation_Tool.cpp:712: error: 'thermalManager' was not declared in this scope

thermalManager.setTargetBed( bed_temp );

^

G26_Mesh_Validation_Tool.cpp:715: error: 'lcd_status_message' was not declared in this scope

strcpy( lcd_status_message, "Leaving G26 "); // We can't do lcd_setstatus() without having it continue;

^

G26_Mesh_Validation_Tool.cpp:718: error: 'lcd_setstatus' was not declared in this scope

lcd_setstatus( "Leaving G26 ", true); // Now we do it right.

^

G26_Mesh_Validation_Tool.cpp:736: error: 'lcd_status_message' was not declared in this scope

strcpy( lcd_status_message, "Leaving G26 "); // We can't do lcd_setstatus() without having it continue;

^

G26_Mesh_Validation_Tool.cpp:739: error: 'lcd_setstatus' was not declared in this scope

lcd_setstatus( "Leaving G26 ", true); // Now we do it right.

^

C:\Users\Dave\AppData\Local\Temp\build2e315816a0a4c3cfc54bd199088b147d.tmp\sketch\G26_Mesh_Validation_Tool.cpp: In function 'void prime_nozzle()':

G26_Mesh_Validation_Tool.cpp:771: error: 'planner' was not declared in this scope

planner.max_feedrate[E_AXIS]/(15.0), 0, 0xffff, 0xffff );

^

G26_Mesh_Validation_Tool.cpp:773: error: 'stepper' was not declared in this scope

stepper.synchronize(); // Without this synchronize, the purge is more consistent,

^

G26_Mesh_Validation_Tool.cpp:781: error: 'lcd_status_message' was not declared in this scope

strcpy( lcd_status_message, "Done Priming "); // We can't do lcd_setstatus() without having it continue;

^

G26_Mesh_Validation_Tool.cpp:797: error: 'planner' was not declared in this scope

planner.max_feedrate[E_AXIS]/(15.0), 0, 0xffff, 0xffff );

^

G26_Mesh_Validation_Tool.cpp:798: error: 'stepper' was not declared in this scope

stepper.synchronize();

^

exit status 1
'Planner' does not name a type
Re: Unified Bed Leveling available as a Beta Release
July 25, 2016 08:55PM
Did you cross your settings over to the new Configuration.h file? Or did you just drop your Configuration.h file into the directory and tell it to compile? Can you post your Configuration.h file please?
Re: Unified Bed Leveling available as a Beta Release
July 25, 2016 10:29PM
Nope, This is with the configuration.h file as included in the Marlin-devel-ubl.zip from github. I made no changes at all. Just unzipped the file, launched the IDE, opened the Marlin.ino and clicked compile. I thought I'd just see what happened.
My current Arduino 1.6.9 environment is compiling 1.1.0RC6BugFix with no complaints.
Re: Unified Bed Leveling available as a Beta Release
July 26, 2016 05:16PM
OK. Well... For right now, an LCD Panel is required as well as a Z-Probe. There is no reason it has to be that way long term, but for right now, the code assumes it has those available.

The problem is the default Marlin Configuration.h file has those extra features turned off. I did edit the Ultra-Panel support to be turned on. But the Z-Probe stuff can be setup so many ways, I had to leave that in the 'normal' turned off state and let the user set it up for their machine. If you grab the latest version and configure your Z-Probe, it has a good chance of compiling for you.
Re: Unified Bed Leveling available as a Beta Release
July 27, 2016 10:56AM
Thanks for the info. I configured a fixed BLTouch probe and my RepRap Full Graphics controller and it still failed to compile.
I then downloaded the latest from github, made the same two changes to the configuration and it now compiles but with a few warnings.
I'll make the necessary other changes to config and I'll try to download to the printer and give it a try later today.

1. A few things I noticed is that I cannot enable EEPROM_SETTINGS without getting compile errors.
2. #ifdef UNIFIED_BED_LEVELING_FEATURE || M100_FREE_MEMORY_WATCHER throws a warning about extra tokens. Do you mean to use
#if defined (UNIFIED_BED_LEVELING_FEATURE) || defined(M100_FREE_MEMORY_WATCHER)
Re: Unified Bed Leveling available as a Beta Release
July 27, 2016 04:36PM
Quote
DaveA
Thanks for the info. I configured a fixed BLTouch probe and my RepRap Full Graphics controller and it still failed to compile.
I then downloaded the latest from github, made the same two changes to the configuration and it now compiles but with a few warnings.
I'll make the necessary other changes to config and I'll try to download to the printer and give it a try later today.

1. A few things I noticed is that I cannot enable EEPROM_SETTINGS without getting compile errors.
2. #ifdef UNIFIED_BED_LEVELING_FEATURE || M100_FREE_MEMORY_WATCHER throws a warning about extra tokens. Do you mean to use
#if defined (UNIFIED_BED_LEVELING_FEATURE) || defined(M100_FREE_MEMORY_WATCHER)

Yes, different version of Arduino seem to want different things on this line. I need to find something all of the different versions agree with.

Please download the very latest and try that. I might have the placement and syntax such that all versions of the compiler are happy now.

Edited 1 time(s). Last edit at 07/27/2016 05:10PM by Roxy.
Sorry, only registered users may post in this forum.

Click here to login