Coder Social home page Coder Social logo

Comments (6)

claudio-ortega avatar claudio-ortega commented on July 24, 2024 1

from portaudio.

claudio-ortega avatar claudio-ortega commented on July 24, 2024

Update on the issue.
There is more evidence to show.
I built two executables on the same (and last) commit of my app.
One (a) is built on the iMac 2009, and (b) is built on the Mac Mini 2018
To recap: problem is that when I run (b) on the Mac Mini 2018 it fails.
But, here the news: when I run (a) en the Mac Mini 2018, it works.
So it has to do with an issue during the build, and not with any condition at runtime.

So here's something that I omitted to mention in the original post, and my apologies for that:
When building on the Mac Mini the go build prints this to the console, and repeatedly:

app_darwin.m:11:32: warning: 'NSUserNotification' is deprecated: first deprecated in macOS 11.0 - All NSUserNotifications API should be replaced with UserNotifications.frameworks API [-Wdeprecated-declarations]
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSUserNotification.h:24:12: note: 'NSUserNotification' has been explicitly marked deprecated here
app_darwin.m:17:33: warning: 'NSUserNotificationCenter' is deprecated: first deprecated in macOS 11.0 - All NSUserNotifications API should be replaced with UserNotifications.frameworks API [-Wdeprecated-declarations]
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSUserNotification.h:118:12: note: 'NSUserNotificationCenter' has been explicitly marked deprecated here

...
(it repeats a few time over the same pair of warnings)

I hope this rings any bell to somebody

Thanks

from portaudio.

gordonklaus avatar gordonklaus commented on July 24, 2024

Hi, cool application!

I suspect this is another case (like #41) related to this issue with the PortAudio C library on Big Sur. The latest development indicate that the macOS SDK version built against affects whether it fails at runtime on Big Sur. I assume you are using SDK 11 on your Mac Mini 2018 and not on the iMac 2009.

I'l close this issue since it seems to be an issue with the underlying C library. Feel free to re-open or share your thoughts if there is something relevant to the Go bindings.

from portaudio.

claudio-ortega avatar claudio-ortega commented on July 24, 2024

from portaudio.

gordonklaus avatar gordonklaus commented on July 24, 2024

I think we just have to wait for those issues to be fixed. I'm not on BIg Sur so I haven't had the problem and can't test.

from portaudio.

claudio-ortega avatar claudio-ortega commented on July 24, 2024

from portaudio.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.