Per_S
July 29, 2008, 6:27am
1
I have downloaded the latest version of Midio128 2.2b. Compiling new hex load using the “make” command works fine but creating new syx load presents some problem.
Using the “make” command results in the following:
D:\MIDI stuff\midio128_v2_2b\tools\mk_midio128_syx>make
rm -f *.syx
find *.ini -type f -exec perl mk_midio128_syx.pl -device_id 0 {} \;
FIND: Parameter format not correct
make: *** [all] Error 2
Using the “perl” command works fine
D:\MIDI stuff\midio128_v2_2b\tools\mk_midio128_syx>perl mk_midio128_syx.pl midio128.ini
Converting midio128.ini -> midio128.syx
D:\MIDI stuff\midio128_v2_2b\tools\mk_midio128_syx>
I’m not stuck but it would be nice to know what’s wrong.
cimo
July 29, 2008, 6:39am
2
hi
dunno if this is going to address the issue but i would avoid spaces when coding so try with renaming the folder “MIDI_stuff”
Per_S
July 29, 2008, 7:11am
3
I followed your advise with the following result (no difference)
D:\MIDI_stuff\midio128_v2_2b\tools\mk_midio128_syx>make
rm -f *.syx
find *.ini -type f -exec perl mk_midio128_syx.pl -device_id 0 {} ;
FIND: Parameter format not correct
make: *** [all] Error 2
I should point out that this is not code but a copy from the Command window. I have changed from “code” to “quote”. Sorry for that confusion.
dunno if this is going to address the issue but i would avoid spaces when coding so try with renaming the folder “MIDI_stuff”
Correct. Perl dislikes long file names, so you need 8 characters max, no spaces and such.
It seems that your system might be using the DOS ‘find’ instead of the posix one. can you try typing this:
find --version
It should return:
GNU find version 4.1
Can you also type:
path
and paste the results here.
Per_S
July 30, 2008, 3:21am
5
I see what the problem is. You are indeed correct, the “find” is interpreted as the DOS one.
D:\>find --version
FIND: Parameter format not correct
Doing this instead
D:\>\posix_bin\find --version
GNU find version 4.1
Here is the “path”
PATH=D:\Perl\bin\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\system32\WBEM;C:\Pro
gram Files\QuickTime\QTSystem\;d:\Program Files\FastSum;d:\posix_bin;d:\Program
Files\gputils\bin;D:\Perl\bin\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\system3
2\WBEM;C:\Program Files\QuickTime\QTSystem\;d:\Program Files\FastSum
Moving up the “posix_bin” in the path took care of the problem.
D:\MIDI_stuff\midio128_v2_2b\tools\mk_midio128_syx>make
rm -f *.syx
find *.ini -type f -exec perl mk_midio128_syx.pl -device_id 0 {} \;
Converting midio128.ini -> midio128.syx
Converting relay.ini -> relay.syx
Thanks a lot.