Your new topic does not fit any of the above??? Check first. Then post here. Thanks.

Moderator: igrr

User avatar
By Oldmicroguy
#29471
You need to run tools/release/arduino/create_release.sh to make a zip with directories in Arduino library layout (or use tools/release/arduino_new_lib_format/create_release.sh but remove the git commit and pandoc stuff).


I can't run a xxx.sh file under Windows. I tried renaming it to a xxx.bat file but the format wasn't correct.

Oldmicroguy
User avatar
By spapadim
#29505 I believe that won't work unless sth like cygwin on mingw is installed (or, perhaps, Win10 is finally becoming half-way decent and they have sh/bash pre-installed? :) -- dunno, gave up MSWin long time ago). In that case, doing what the shellscript does manually is perhaps easiest (basically, it's just: cppsrc -> library root, csrc -> clib subdir, and edit the include in Ucglib.h to point into clib/ucg.h).

erhardd wrote:try to run:
sh create_release.sh
User avatar
By Oldmicroguy
#29506
try to run:
sh create_release.sh


I did that and Windows command box gave this response:
0 [main] sh 12404 sync_with_child: child 11992(0x1A0) died before initialization with status code 0xC0000142
193 [main] sh 12404 sync_with_child: *** child state waiting for longjmp
create_release.sh: fork: Resource temporarily unavailable

Oldmicroguy