kamalmostafa / minimodem

general-purpose software audio FSK modem
http://www.whence.com/minimodem
Other
846 stars 113 forks source link

Windows #3

Closed AAllport closed 9 years ago

AAllport commented 9 years ago

do you plan on porting this to windows 7 and up

kamalmostafa commented 9 years ago

'Minimodem' is not officially supported for any version of Windows, but some users do compile and use 'minimodem' under Windows in a Cygwin environment (along with Cygwin's build of 'PulseAudio').

UPDATE: For Cygwin build instructions, see the file README.windows in the source.

rjesus-eid commented 9 years ago

I'm not being able to use minimodem for '1200/2100/1300' (baud/mark/space). Is there an explanation for this?

imranrajjad commented 6 years ago

can somebody put up some information on how to compile on Cygwin?

nkeck720 commented 6 years ago

AFAIK, minimodem uses Pulseaudio, for which no cygwin equivalent is available. I could be wrong though.

Le lun. 23 avr. 2018 à 6:59 AM, imranrajjad notifications@github.com a écrit :

can somebody put up some information on how to compile on Cygwin?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/kamalmostafa/minimodem/issues/3#issuecomment-383536256, or mute the thread https://github.com/notifications/unsubscribe-auth/ANWVTVmK8sX7GN6lDfKbfNrKAUQIzExJks5trbQWgaJpZM4DCBo2 .

fanfare commented 5 years ago

It runs on Cygwin. If you want to build minimodem for Cygwin, find and install the following packages (using Cygwin Setup): gcc-core, pkg-config, libgcc1, pulseaudio, make, automake, autoconf, gawk, libsndfile1, libsndfile-devel, libsndfile-utils, libpulse0, libpulse-simple0, libpulse-devel, fftw3, libfftw3_3, libfftw3-devel, libevent2.0_5

You can now install via

autoreconf -i
./configure --without-alsa
make
make install

Test: echo hello | minimodem --tx 100 -M 1000 -S 3000​

It might give the message: Normally all extra capabilities would be dropped now, but that's impossible because PulseAudio was built without capabilities support.

..but run the test again and it will play.

rubeemangut commented 3 years ago

It runs on Cygwin. If you want to build minimodem for Cygwin, find and install the following packages (using Cygwin Setup): gcc-core, pkg-config, libgcc1, pulseaudio, make, automake, autoconf, gawk, libsndfile1, libsndfile-devel, libsndfile-utils, libpulse0, libpulse-simple0, libpulse-devel, fftw3, libfftw3_3, libfftw3-devel, libevent2.0_5

You can now install via

autoreconf -i
./configure --without-alsa
make
make install

Test: echo hello | minimodem --tx 100 -M 1000 -S 3000​

It might give the message: Normally all extra capabilities would be dropped now, but that's impossible because PulseAudio was built without capabilities support.

..but run the test again and it will play.

I tried running this project on Cygwin as mentioned above. While running make it is giving below error:

$ make make all-recursive make[1]: Entering directory '/cygdrive/c/Users/Abhis/OneDrive/Documents/GitHub/minimodem' Making all in src make[2]: Entering directory '/cygdrive/c/Users/Abhis/OneDrive/Documents/GitHub/minimodem/src' gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -Wall -g -O2 -MT simpleaudio-sndio.o -MD -MP -MF .deps/simpleaudio-sndio.Tpo -c -o simpleaudio-sndio.o simpleaudio-sndio.c simpleaudio-sndio.c:30:10: fatal error: sndio.h: No such file or directory 30 | #include | ^~~~~ compilation terminated. make[2]: [Makefile:466: simpleaudio-sndio.o] Error 1 make[2]: Leaving directory '/cygdrive/c/Users/Abhis/OneDrive/Documents/GitHub/minimodem/src' make[1]: [Makefile:360: all-recursive] Error 1 make[1]: Leaving directory '/cygdrive/c/Users/Abhis/OneDrive/Documents/GitHub/minimodem' make: *** [Makefile:301: all] Error 2

fanfare commented 3 years ago

the software was updated in December and added new dependencies. try ./configure --without-alsa --without-sndio

kamalmostafa commented 3 years ago

@fanfare, I'd be amenable to committing your useful cygwin build instructions to the minimodem source as a file called README.windows if you'd prepare that and submit a pull request (or just email me directly).

Does make check work in the cygwin build? Assuming so, pls add that after make.

fanfare commented 3 years ago

Just sent in a PR. Thank you for creating this incredible software.

kamalmostafa commented 3 years ago

Just sent in a PR. Thank you for creating this incredible software.

Merged. Thank you for contributing to it.

chicoze commented 3 years ago

Hello everyone. I can confirm that building in Cygwin does work.

Can I use the .exe created in cygwin to run it from Windows command prompt?