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.