I hate to post this since I should be able to get it working, but i've wasted a day and hoped you could help...
I'm just not able to build the latest (3.3) although I was fine building 3.2.
The build documentation is slightly inconsistent, so I'm not entirely sure what's required. It says to build 3.3 you need CoreN2G (3.3-dev) but I think I need CoreNG (dev). So, at the moment I now have both of them - but I've tried only one or the other as well with no success.
I've followed the build instructions carefully, but haven't reinstalled Eclipse. When I went back to (my) older code it built ok.
The build seems to work ok for all of the projects except RepRapFirmware.
If I don't have the CoreN2G project, when I run the build from Eclipse it doesn't give anything useful as an error (make all failed...) so instead I ran a command prompt and ran make all in the Duet2 folder and a bunch of files compile ok, but then I get...
Building file: ../src/bossa/Applet.cpp
Invoking: Cross G++ Compiler
arm-none-eabi-g++ -std=gnu++17 -D__SAM4E8E__ -DRTOS -DDUET_NG -D_XOPEN_SOURCE -I"C:\eclipse\Firmware\RepRapFirmware\src" -I"C:\eclipse\Firmware\RepRapFirmware\src\Hardware\SAM4E" -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" -Os -Wall -c -mcpu=cortex-m4 -mthumb -mfpu=fpv4-sp-d16 -mfloat-abi=hard -ffunction-sections -fdata-sections -fno-threadsafe-statics -fno-rtti -fexceptions -nostdlib -Wundef -Wdouble-promotion -Werror=return-type -Wsuggest-override -fsingle-precision-constant "-Wa,-ahl=Applet.s" -fstack-usage -MMD -MP -MF"src/bossa/Applet.d" -MT"src/bossa/Applet.o" -o "src/bossa/Applet.o" "../src/bossa/Applet.cpp"
In file included from C:\eclipse\Firmware\RepRapFirmware\src/GCodes/GCodeException.h:11,
C:\eclipse\Firmware\RepRapFirmware\src/RepRapFirmware.h:49:10: fatal error: Core.h: No such file or directory
49 | #include "Core.h"
src/bossa/subdir.mk:42: recipe for target 'src/bossa/Applet.o' failed
If I do have the CoreN2G project I instead get this:
...... [lines removed...]
"C:\eclipse\Firmware\RRFLibraries\src" -Os -Wall -c -mcpu=cortex-m4 -mthumb -mfpu=fpv4-sp-d16 -mfloat-abi=hard -ffunction-sections -fdata-sections -fno-threadsafe-statics -fno-rtti -fexceptions -nostdlib -Wundef -Wdouble-promotion -Werror=return-type -Wsuggest-override -fsingle-precision-constant "-Wa,-ahl=Flasher.s" -fstack-usage -MMD -MP -MF"src/bossa/Flasher.d" -MT"src/bossa/Flasher.o" -o "src/bossa/Flasher.o" "../src/bossa/Flasher.cpp"
In file included from ../src/bossa/Flasher.cpp:31:
C:\eclipse\Firmware\RepRapFirmware\src/Platform/RepRap.h:27:10: fatal error: General/function_ref.h: No such file or directory
27 | #include <General/function_ref.h>
src/bossa/subdir.mk:42: recipe for target 'src/bossa/Flasher.o' failed
make: *** [src/bossa/Flasher.o] Error 1
makefile:96: recipe for target 'all' failed
make: *** [all] Error 2
And I have no function_ref.h file that I can find anywhere so I'm confused.