08:35:47 **** Build of configuration Duet2_RTOS for project RepRapFirmware **** make -j4 all Building file: ../src/Movement/Kinematics/CoreKinematics.cpp Building file: ../src/Movement/Kinematics/HangprinterKinematics.cpp Building file: ../src/Movement/Kinematics/LinearDeltaKinematics.cpp Building file: ../src/Movement/Kinematics/PolarKinematics.cpp Invoking: Cross G++ Compiler Invoking: Cross G++ Compiler arm-none-eabi-g++ -D__SAM4E8E__ -DRTOS -DDUET_NG -D_XOPEN_SOURCE -I"C:\Eclipse\Firmware\CoreNG\cores\arduino" -I"C:\Eclipse\Firmware\CoreNG\libraries\Flash" -I"C:\Eclipse\Firmware\CoreNG\libraries\SharedSpi" -I"C:\Eclipse\Firmware\CoreNG\libraries\Storage" -I"C:\Eclipse\Firmware\CoreNG\libraries\Wire" -I"C:\Eclipse\Firmware\CoreNG\asf" -I"C:\Eclipse\Firmware\CoreNG\asf\common\utils" -I"C:\Eclipse\Firmware\CoreNG\asf\common\services\clock" -I"C:\Eclipse\Firmware\CoreNG\asf\common\services\ioport" -I"C:\Eclipse\Firmware\CoreNG\asf\sam\drivers" -I"C:\Eclipse\Firmware\CoreNG\asf\sam\services\flash_efc" -I"C:\Eclipse\Firmware\CoreNG\asf\sam\utils" -I"C:\Eclipse\Firmware\CoreNG\asf\sam\utils\cmsis\sam4e\include" -I"C:\Eclipse\Firmware\CoreNG\asf\sam\utils\header_files" -I"C:\Eclipse\Firmware\CoreNG\asf\sam\utils\preprocessor" -I"C:\Eclipse\Firmware\CoreNG\asf\thirdparty\CMSIS\Include" -I"C:\Eclipse\Firmware\CoreNG\variants\duetNG" -I"C:\Eclipse\Firmware\RepRapFirmware\src" -I"C:\Eclipse\Firmware\RepRapFirmware\src\DuetNG" -I"C:\Eclipse\Firmware\RepRapFirmware\src\Networking" -I"C:\Eclipse\Firmware\DuetWiFiSocketServer\src\include" -I"C:\Eclipse\Firmware\FreeRTOS\src\include" -I"C:\Eclipse\Firmware\FreeRTOS\src\portable\GCC\ARM_CM4F" -I"C:\Eclipse\Firmware\RRFLibraries\src" -O2 -Wall -c -std=gnu++17 -mcpu=cortex-m4 -mthumb -mfpu=fpv4-sp-d16 -mfloat-abi=hard -ffunction-sections -fdata-sections -fno-threadsafe-statics -fno-rtti -fno-exceptions -nostdlib -Wdouble-promotion -fsingle-precision-constant "-Wa,-ahl=CoreKinematics.s" -MMD -MP -MF"src/Movement/Kinematics/CoreKinematics.d" -MT"src/Movement/Kinematics/CoreKinematics.o" -o "src/Movement/Kinematics/CoreKinematics.o" "../src/Movement/Kinematics/CoreKinematics.cpp" Invoking: Cross G++ Compiler arm-none-eabi-g++ -D__SAM4E8E__ -DRTOS -DDUET_NG -D_XOPEN_SOURCE -I"C:\Eclipse\Firmware\CoreNG\cores\arduino" -I"C:\Eclipse\Firmware\CoreNG\libraries\Flash" -I"C:\Eclipse\Firmware\CoreNG\libraries\SharedSpi" -I"C:\Eclipse\Firmware\CoreNG\libraries\Storage" -I"C:\Eclipse\Firmware\CoreNG\libraries\Wire" -I"C:\Eclipse\Firmware\CoreNG\asf" -I"C:\Eclipse\Firmware\CoreNG\asf\common\utils" -I"C:\Eclipse\Firmware\CoreNG\asf\common\services\clock" -I"C:\Eclipse\Firmware\CoreNG\asf\common\services\ioport" -I"C:\Eclipse\Firmware\CoreNG\asf\sam\drivers" -I"C:\Eclipse\Firmware\CoreNG\asf\sam\services\flash_efc" -I"C:\Eclipse\Firmware\CoreNG\asf\sam\utils" -I"C:\Eclipse\Firmware\CoreNG\asf\sam\utils\cmsis\sam4e\include" -I"C:\Eclipse\Firmware\CoreNG\asf\sam\utils\header_files" -I"C:\Eclipse\Firmware\CoreNG\asf\sam\utils\preprocessor" -I"C:\Eclipse\Firmware\CoreNG\asf\thirdparty\CMSIS\Include" -I"C:\Eclipse\Firmware\CoreNG\variants\duetNG" -I"C:\Eclipse\Firmware\RepRapFirmware\src" -I"C:\Eclipse\Firmware\RepRapFirmware\src\DuetNG" -I"C:\Eclipse\Firmware\RepRapFirmware\src\Networking" -I"C:\Eclipse\Firmware\DuetWiFiSocketServer\src\include" -I"C:\Eclipse\Firmware\FreeRTOS\src\include" -I"C:\Eclipse\Firmware\FreeRTOS\src\portable\GCC\ARM_CM4F" -I"C:\Eclipse\Firmware\RRFLibraries\src" -O2 -Wall -c -std=gnu++17 -mcpu=cortex-m4 -mthumb -mfpu=fpv4-sp-d16 -mfloat-abi=hard -ffunction-sections -fdata-sections -fno-threadsafe-statics -fno-rtti -fno-exceptions -nostdlib -Wdouble-promotion -fsingle-precision-constant "-Wa,-ahl=HangprinterKinematics.s" -MMD -MP -MF"src/Movement/Kinematics/HangprinterKinematics.d" -MT"src/Movement/Kinematics/HangprinterKinematics.o" -o "src/Movement/Kinematics/HangprinterKinematics.o" "../src/Movement/Kinematics/HangprinterKinematics.cpp" Invoking: Cross G++ Compiler arm-none-eabi-g++ -D__SAM4E8E__ -DRTOS -DDUET_NG -D_XOPEN_SOURCE -I"C:\Eclipse\Firmware\CoreNG\cores\arduino" -I"C:\Eclipse\Firmware\CoreNG\libraries\Flash" -I"C:\Eclipse\Firmware\CoreNG\libraries\SharedSpi" -I"C:\Eclipse\Firmware\CoreNG\libraries\Storage" -I"C:\Eclipse\Firmware\CoreNG\libraries\Wire" -I"C:\Eclipse\Firmware\CoreNG\asf" -I"C:\Eclipse\Firmware\CoreNG\asf\common\utils" -I"C:\Eclipse\Firmware\CoreNG\asf\common\services\clock" -I"C:\Eclipse\Firmware\CoreNG\asf\common\services\ioport" -I"C:\Eclipse\Firmware\CoreNG\asf\sam\drivers" -I"C:\Eclipse\Firmware\CoreNG\asf\sam\services\flash_efc" -I"C:\Eclipse\Firmware\CoreNG\asf\sam\utils" -I"C:\Eclipse\Firmware\CoreNG\asf\sam\utils\cmsis\sam4e\include" -I"C:\Eclipse\Firmware\CoreNG\asf\sam\utils\header_files" -I"C:\Eclipse\Firmware\CoreNG\asf\sam\utils\preprocessor" -I"C:\Eclipse\Firmware\CoreNG\asf\thirdparty\CMSIS\Include" -I"C:\Eclipse\Firmware\CoreNG\variants\duetNG" -I"C:\Eclipse\Firmware\RepRapFirmware\src" -I"C:\Eclipse\Firmware\RepRapFirmware\src\DuetNG" -I"C:\Eclipse\Firmware\RepRapFirmware\src\Networking" -I"C:\Eclipse\Firmware\DuetWiFiSocketServer\src\include" -I"C:\Eclipse\Firmware\FreeRTOS\src\include" -I"C:\Eclipse\Firmware\FreeRTOS\src\portable\GCC\ARM_CM4F" -I"C:\Eclipse\Firmware\RRFLibraries\src" -O2 -Wall -c -std=gnu++17 -mcpu=cortex-m4 -mthumb -mfpu=fpv4-sp-d16 -mfloat-abi=hard -ffunction-sections -fdata-sections -fno-threadsafe-statics -fno-rtti -fno-exceptions -nostdlib -Wdouble-promotion -fsingle-precision-constant "-Wa,-ahl=LinearDeltaKinematics.s" -MMD -MP -MF"src/Movement/Kinematics/LinearDeltaKinematics.d" -MT"src/Movement/Kinematics/LinearDeltaKinematics.o" -o "src/Movement/Kinematics/LinearDeltaKinematics.o" "../src/Movement/Kinematics/LinearDeltaKinematics.cpp" arm-none-eabi-g++ -D__SAM4E8E__ -DRTOS -DDUET_NG -D_XOPEN_SOURCE -I"C:\Eclipse\Firmware\CoreNG\cores\arduino" -I"C:\Eclipse\Firmware\CoreNG\libraries\Flash" -I"C:\Eclipse\Firmware\CoreNG\libraries\SharedSpi" -I"C:\Eclipse\Firmware\CoreNG\libraries\Storage" -I"C:\Eclipse\Firmware\CoreNG\libraries\Wire" -I"C:\Eclipse\Firmware\CoreNG\asf" -I"C:\Eclipse\Firmware\CoreNG\asf\common\utils" -I"C:\Eclipse\Firmware\CoreNG\asf\common\services\clock" -I"C:\Eclipse\Firmware\CoreNG\asf\common\services\ioport" -I"C:\Eclipse\Firmware\CoreNG\asf\sam\drivers" -I"C:\Eclipse\Firmware\CoreNG\asf\sam\services\flash_efc" -I"C:\Eclipse\Firmware\CoreNG\asf\sam\utils" -I"C:\Eclipse\Firmware\CoreNG\asf\sam\utils\cmsis\sam4e\include" -I"C:\Eclipse\Firmware\CoreNG\asf\sam\utils\header_files" -I"C:\Eclipse\Firmware\CoreNG\asf\sam\utils\preprocessor" -I"C:\Eclipse\Firmware\CoreNG\asf\thirdparty\CMSIS\Include" -I"C:\Eclipse\Firmware\CoreNG\variants\duetNG" -I"C:\Eclipse\Firmware\RepRapFirmware\src" -I"C:\Eclipse\Firmware\RepRapFirmware\src\DuetNG" -I"C:\Eclipse\Firmware\RepRapFirmware\src\Networking" -I"C:\Eclipse\Firmware\DuetWiFiSocketServer\src\include" -I"C:\Eclipse\Firmware\FreeRTOS\src\include" -I"C:\Eclipse\Firmware\FreeRTOS\src\portable\GCC\ARM_CM4F" -I"C:\Eclipse\Firmware\RRFLibraries\src" -O2 -Wall -c -std=gnu++17 -mcpu=cortex-m4 -mthumb -mfpu=fpv4-sp-d16 -mfloat-abi=hard -ffunction-sections -fdata-sections -fno-threadsafe-statics -fno-rtti -fno-exceptions -nostdlib -Wdouble-promotion -fsingle-precision-constant "-Wa,-ahl=PolarKinematics.s" -MMD -MP -MF"src/Movement/Kinematics/PolarKinematics.d" -MT"src/Movement/Kinematics/PolarKinematics.o" -o "src/Movement/Kinematics/PolarKinematics.o" "../src/Movement/Kinematics/PolarKinematics.cpp" ../src/Movement/Kinematics/CoreKinematics.cpp: In member function 'void CoreKinematics::Recalc()': ../src/Movement/Kinematics/CoreKinematics.cpp:36:42: error: invalid conversion from 'size_t' {aka 'unsigned int'} to 'float*' [-fpermissive] const bool ok = tempMatrix.GaussJordan(MaxAxes, 2 * MaxAxes); ^~~~~~~ In file included from ../src/Movement/Kinematics/Kinematics.h:12, from ../src/Movement/Kinematics/ZLeadscrewKinematics.h:11, from ../src/Movement/Kinematics/CoreKinematics.h:11, from ../src/Movement/Kinematics/CoreKinematics.cpp:8: C:\Eclipse\Firmware\RRFLibraries\src/Math/Matrix.h:87:93: note: initializing argument 1 of 'void FixedMatrix::GaussJordan(T*, size_t) [with T = float; unsigned int ROWS = 9; unsigned int COLS = 18; size_t = unsigned int]' template void FixedMatrix::GaussJordan(T *solution, size_t numRows) ~~~^~~~~~~~ ../src/Movement/Kinematics/CoreKinematics.cpp:36:62: error: void value not ignored as it ought to be const bool ok = tempMatrix.GaussJordan(MaxAxes, 2 * MaxAxes); ^ ../src/Movement/Kinematics/CoreKinematics.cpp:50:18: error: 'class FixedMatrix' has no member named 'Fill' forwardMatrix.Fill(0.0); ^~~~ ../src/Movement/Kinematics/CoreKinematics.cpp: In constructor 'CoreKinematics::CoreKinematics(KinematicsType)': ../src/Movement/Kinematics/CoreKinematics.cpp:129:16: error: 'class FixedMatrix' has no member named 'Fill' inverseMatrix.Fill(0.0); ^~~~ ../src/Movement/Kinematics/LinearDeltaKinematics.cpp: In member function 'virtual bool LinearDeltaKinematics::DoAutoCalibration(size_t, const RandomProbePointSet&, const StringRef&)': ../src/Movement/Kinematics/LinearDeltaKinematics.cpp:415:33: error: invalid conversion from 'size_t' {aka 'unsigned int'} to 'double*' [-fpermissive] if (!normalMatrix.GaussJordan(numFactors, numFactors + 1)) ^~~~~~~~~~ In file included from ../src/Movement/Kinematics/Kinematics.h:12, from ../src/Movement/Kinematics/LinearDeltaKinematics.h:12, from ../src/Movement/Kinematics/LinearDeltaKinematics.cpp:8: C:\Eclipse\Firmware\RRFLibraries\src/Math/Matrix.h:87:93: note: initializing argument 1 of 'void FixedMatrix::GaussJordan(T*, size_t) [with T = double; unsigned int ROWS = 9; unsigned int COLS = 10; size_t = unsigned int]' template void FixedMatrix::GaussJordan(T *solution, size_t numRows) ~~~^~~~~~~~ ../src/Movement/Kinematics/LinearDeltaKinematics.cpp:415:32: error: could not convert 'normalMatrix.FixedMatrix::GaussJordan(((double*)numFactors), (numFactors + 1))' from 'void' to 'bool' if (!normalMatrix.GaussJordan(numFactors, numFactors + 1)) ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/Movement/Kinematics/LinearDeltaKinematics.cpp:415:59: error: in argument to unary ! if (!normalMatrix.GaussJordan(numFactors, numFactors + 1)) ^ ../src/Movement/Kinematics/HangprinterKinematics.cpp: In member function 'virtual bool HangprinterKinematics::DoAutoCalibration(size_t, const RandomProbePointSet&, const StringRef&)': ../src/Movement/Kinematics/HangprinterKinematics.cpp:426:33: error: invalid conversion from 'size_t' {aka 'unsigned int'} to 'double*' [-fpermissive] if (!normalMatrix.GaussJordan(numFactors, numFactors + 1)) ^~~~~~~~~~ In file included from ../src/Movement/Kinematics/Kinematics.h:12, from ../src/Movement/Kinematics/HangprinterKinematics.h:11, from ../src/Movement/Kinematics/HangprinterKinematics.cpp:8: C:\Eclipse\Firmware\RRFLibraries\src/Math/Matrix.h:87:93: note: initializing argument 1 of 'void FixedMatrix::GaussJordan(T*, size_t) [with T = double; unsigned int ROWS = 9; unsigned int COLS = 10; size_t = unsigned int]' template void FixedMatrix::GaussJordan(T *solution, size_t numRows) ~~~^~~~~~~~ ../src/Movement/Kinematics/HangprinterKinematics.cpp:426:32: error: could not convert 'normalMatrix.FixedMatrix::GaussJordan(((double*)numFactors), (numFactors + 1))' from 'void' to 'bool' if (!normalMatrix.GaussJordan(numFactors, numFactors + 1)) ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/Movement/Kinematics/HangprinterKinematics.cpp:426:59: error: in argument to unary ! if (!normalMatrix.GaussJordan(numFactors, numFactors + 1)) ^ src/Movement/Kinematics/subdir.mk:39: recipe for target 'src/Movement/Kinematics/CoreKinematics.o' failed make: *** [src/Movement/Kinematics/CoreKinematics.o] Error 1 make: *** Waiting for unfinished jobs.... src/Movement/Kinematics/subdir.mk:39: recipe for target 'src/Movement/Kinematics/HangprinterKinematics.o' failed make: *** [src/Movement/Kinematics/HangprinterKinematics.o] Error 1 src/Movement/Kinematics/subdir.mk:39: recipe for target 'src/Movement/Kinematics/LinearDeltaKinematics.o' failed make: *** [src/Movement/Kinematics/LinearDeltaKinematics.o] Error 1 Finished building: ../src/Movement/Kinematics/PolarKinematics.cpp "make -j4 all" terminated with exit code 2. Build might be incomplete. 08:35:49 Build Failed. 17 errors, 0 warnings. (took 2s.155ms)