-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Installing nrsc5-gui-2.0.0 in MSYS2 MinGW x64 under Win. 11 #22
Comments
Hi. Yes, I was able to get this running on Windows 11 with MSYS2. I generally followed the build instructions that one would use on a Linux box. Build the NRSC5.exe per the build instructions on the NRSC5 github page for MSYS2. Next, you will need to make sure that your MSYS2 python3 environment gets set up properly. Do not use pip3 to install the python3 packages. Install them using pacman like so: pacman -S mingw-w64-x86_64-python-pillow Next, you will need to install PyAudio. It will fail under both pacman and pip3 so I had do do the following to get PyAudio installed:
This should all work now provided that you've installed the SDR dongle properly using the Zadig drivers. It should then be running. |
Hi, so sorry for the late response. This is going to be a long story, but I found a tutorial on YouTube which described how to install nrsc5-gui version 1.2.2. Yes, it might be an older version of nrsc5 gui, but anyways, in the video tutorial, the host said to download MINGW. I already had a copy of MSYS2 and MSYS2 MINGW, but I think downloading that other version of MINGW messed up my install of MSYS2, so now the cmake and sudo commands don't work. I also forgot how to compile nrsc5 in MSYS2, so at this point, while I already have a working copy of nrsc5-gui, I'm stuck not being able to update it. I was able to successfully install python pillow and python gobject and pyaudio, however at this point, I'm a bit stuck without a reinstall or MSYS2. |
Did you run python setup.py install from within the pyaudio folder?
On Friday, December 23, 2022 at 09:59:04 PM MST, Fairyball ***@***.***> wrote:
Hi. Yes, I was able to get this running on Windows 11 with MSYS2. I generally followed the build instructions that one would use on a Linux box. Build the NRSC5.exe per the build instructions on the NRSC5 github page for MSYS2. Next, you will need to make sure that your MSYS2 python3 environment gets set up properly. Do not use pip3 to install the python3 packages. Install them using pacman like so:
pacman -S mingw-w64-x86_64-python-pillow pacman -S mingw-w64-x86_64-python-gobject
Next, you will need to install PyAudio. It will fail under both pacman and pip3 so I had do do the following to get PyAudio installed:
- Download PyAudio from github: https://github.com/jleb/pyaudio
- Run: pacman -S mingw-w64-x86_64-portaudio
- Go to pyaudio project folder and run: python3 setup.py build_ext --inplace
- Finally run: python setup.py install
Now, go to the folder where you cloned the NRSC5-GUI code and run: python3 nrsc5-gui.py
This should all work now provided that you've installed the SDR dongle properly using the Zadig drivers.
It should then be running.
Hi, so yikes... I tried to follow your instructions today, however while executing the command: python3 setup.py build_ext --inplace in a Windows Command Prompt window, the process halted because Python wasn't able to find a file called portaudio.h.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.Message ID: ***@***.***>
|
I'm trying to remember... I think so. |
You need to build a pyaudio that's compatible with python 3.10. When I wrote my instructions Msys2 was using python 3.9 and the repo I linked worked, but not anymore. Now that Msys2 is using python 3.10, you need to delete the pyaudio folder you created earlier and do: git clone https://git.skeh.site/skeh/pyaudio
Enter that folder and then run:
- python3 setup.py build_ext --inplace
- python setup.py install
Then go to your nrsc5-gui folder and run: python3 nrsc5_gui.py. That will fix the missing audio and your tuning controls should then work too.
…-- The quality of your thoughts will determine the quality of your life.
On Friday, December 23, 2022 at 11:37:01 PM MST, Fairyball ***@***.***> wrote:
Right... I ran the command "python setup.py install" from within the py-audio folder a second time, but I'm still seeing this error where nrsc5-gui is able to tune into a station, but freezes afterwards when it can't quite make sense of the audio streams.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.Message ID: ***@***.***>
|
Phew, thanks so much for the help. nrsc5-gui works almost perfectly now, just with some slight audio stuttering occasionally. The audio's working, and the program isn't freezing any longer. |
You're welcome. I noticed a few small bugs that are a bit irksome. Under python 3.10 tonight I kept getting an error that the gui couldn't find the config file or the map and art folders. Running the gui and going immediately to the "Settings" and making a small change created a config.json that seemed to have been missing and then after running the gui again, the errors disappeared. I didn't notice this behavior under python 3.9 although it may have been present there too.
On Friday, December 23, 2022 at 11:58:33 PM MST, Fairyball ***@***.***> wrote:
Phew, thanks so much for the help. nrsc5-gui works almost perfectly now, just with some slight audio stuttering occasionally. The audio's working, and the program isn't freezing any longer.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.Message ID: ***@***.***>
|
Huh, strange, I haven't run into that issue yet, so thanks for documenting it in the... off chance it crops up on other computers. On a side note, I'm also running into segmentation issues when I try to save too many bookmarks at once. |
Hi, I was wondering if anyone was able to install nrsc5-gui within MSYS2 MinGW x86/x64? I don't know how to build the program or run it in MSYS2. I installed all of the prerequisite packages that were listed for nrsc5_gui under the code tab, but I'm not sure if I should type CMAKE, or INSTALL, or some other command?
The text was updated successfully, but these errors were encountered: