Skip to content
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

Windows Build #1

Open
ferrellsl opened this issue Nov 8, 2023 · 7 comments
Open

Windows Build #1

ferrellsl opened this issue Nov 8, 2023 · 7 comments

Comments

@ferrellsl
Copy link

I was able to generate a successful build under Windows 11 using MSYS2

image

But upon tuning to any freq. I get a segmentation fault. Not sure of the cause as I don't get any hints from the console nor any log files.

image
@CamK06
Copy link
Owner

CamK06 commented Nov 8, 2023

Hmm... hard to say what the issue there is, it could be any number of things. I mostly abandoned this project a good while ago because I quite frankly hardly knew what I was doing when I was working on it, so a lot of the code is really bad and unstable. I do intend on picking this back up some day and making it work nicely, and on all platforms, now that I actually have some idea about what I'm doing... in the meantime however, I'd suggest using something such as nrsc5-dui: https://github.com/markjfine/nrsc5-dui/
it's a lot more polished than this currently is, and it actually works unlike mine.

@ferrellsl
Copy link
Author

Don't sell yourself short! Your code works on Ubuntu for me with some slight edits and I thought I'd take a stab at compiling a native Windows version. MSYS2 is most likely the problem. It isn't completely compatible when porting Linux apps to Windows. I'm familiar with dui and use it on Linux quite often. Thanks for responding!

@CamK06
Copy link
Owner

CamK06 commented Nov 8, 2023 via email

@ferrellsl
Copy link
Author

I'm running Ubuntu under VMware and I merely commented out lines 366-370 like so:

        //if(err != paNoError) {
          //  spdlog::error("Failed to write audio stream!");
            //QMessageBox::warning(this, "Error", "Failed to write audio stream! Exiting...", QMessageBox::Ok);
            //exit(-1);
        //}

Then it ran just fine.

@ferrellsl
Copy link
Author

I forgot to mention that your app displayed the Channel Logos properly and the sub-channel tuning buttons also worked. I was looking for an app such as yours that uses the C API as opposed to a python gui that merely calls the nrsc5 binary. NRSC5-gui and NRSC5-dui both freeze up on me after many hours of usage. The audio continues to stream but the graphical interface locks up tight. So I was hoping to find a better app that doesn't rely on the many python dependencies found in nrsc5-dui and nrsc5-gui.

@CamK06
Copy link
Owner

CamK06 commented Nov 8, 2023 via email

@ferrellsl
Copy link
Author

I'm looking forward to your updates. I'm not much of a programmer anymore (more of a tinkerer these days) and I'm very weak in regard to QT and C++ or I'd offer more help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants