Issue with Building PanelDue Firmware
-
Hello,
I’m encountering an issue while trying to build the PanelDueFirmware. The error message is as follows:
**14:53:49 **** Build of configuration Release-5.0i-7.0i for project PanelDueFirmware ****
make -j8 all
make: /bin/sh: No such file or directory
make: *** [makefile:79: all] Error 127
"make -j8 all" terminated with exit code 2. Build might be incomplete.14:53:49 Build Failed. 1 errors, 0 warnings. (took 301ms)**
Could you please provide guidance on how to resolve this issue? @dc42 @Phaedrux
-
@R006 I haven't built PanelDueFirmware for a while. Are you following the instructions at https://github.com/Duet3D/PanelDueFirmware/blob/master/Readme.md or using the Eclipse project?
-
@dc42
I am using the PanelDue firmware from the master branch.
However, despite following the instructions as per the duet docs I am still facing an error. -
@R006 the program bin/sh that it is looking for is a Linux command shell. The usual way to get it under Windows is to install a Linux-like build environment such as MSYS2 and then make sure that the folder that holds that build environment is n the PATH.
I tried building PanelDueFirmware using the Eclipse project yesterday and I got it to build, however I think the latest Cmake file changes the version string according to the configuration. I can probably replicate that in Eclipse if you would prefer to build using Eclipse.
-
@dc42 okay, where i need to add MSYS2 path.
-
@R006 I've just fixed the PanelDueFirmware project so that it can build under Eclipse/Windows again.
-
@dc42, I’ve reinstalled everything and tried to build the firmware, but I’m encountering the following error:
14:18:51 **** Build of configuration Duet3_MB6HC for project RepRapFirmware ****
make -j8 all
/bin/sh: -c: line 1: syntax error near unexpected token(' /bin/sh: -c: line 1:
/c/Program Files (x86)/GNU Arm Embedded Toolchain/10 2021.10/bin/make --no-print-directory main-build && /c/Program Files (x86)/GNU Arm Embedded Toolchain/10 2021.10/bin/make --no-print-directory post-build'
make: *** [makefile:105: all] Error 2
"make -j8 all" terminated with exit code 2. Build might be incomplete.14:18:51 Build Failed. 1 errors, 0 warnings. (took 566ms)