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

Issue running sm64coopdx_v1.0.1_macOS_Intel.dmg.zip - Fatal Error could not init GLEW Missing GL Version #229

Closed
futurepr0n opened this issue Jul 19, 2024 · 10 comments

Comments

@futurepr0n
Copy link

Describe the bug
I am getting an error when starting the app up. It fails to initialize GLEW.

To Reproduce
Steps to reproduce the behavior: (after installing the dmg)

  1. Go to 'Applications'
  2. Click on 'sm64coopdx'
  3. Scroll down to '....'
  4. See error

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.
Screenshot 2024-07-19 at 7 12 17 PM

Desktop (please complete the following information):

  • OS:: Mac
  • Browser Safari
  • Version Sonoma 14

Additional context
Basically just running the release, after installing the dmg, and it comes up with the fatal error on the window. Any step missing?

@EmeraldLoc
Copy link
Contributor

EmeraldLoc commented Jul 19, 2024

Unable to reproduce, don't really know what the problem with this would be, since libs are added into the app file, and you're running macOS 14. Glew hasn't been updated in a very long time, so I don't think it's the lib. Will need to get a VM to test this out. In the meantime, you can compile the repo manually, instructions are here.

@futurepr0n
Copy link
Author

heres the thing, the dependencies for audiofile on homebrew failed:

Error: audiofile has been disabled because it is not maintained upstream!

Is there a way to get it?

@EmeraldLoc
Copy link
Contributor

Gotta love this problem. Do what this guy says, except do it for libaudiofile

@futurepr0n
Copy link
Author

futurepr0n commented Jul 20, 2024

Ok, thanks, compiling prior brought the following error:

Screenshot 2024-07-19 at 7 58 15 PM

I wasnt exactly able to edit the existing audiofile entry in brew either, because i didnt have it previously installed, so it failed to edit at first but looked like it changed me to be in developer mode. I tried the command again but nothing happened, so then I attempted running:

HOMEBREW_NO_INSTALL_FROM_API=1 brew install audiofile

This threw the same error, but now when I ran the edit command I was able to get the screen needed to edit the line successfully.

Screenshot 2024-07-19 at 8 31 45 PM

I then ran the gmake clean and the gmake command again to build, but I got the same error:

Screenshot 2024-07-19 at 8 29 19 PM

@EmeraldLoc
Copy link
Contributor

Flower35 figured out this issue here

@futurepr0n
Copy link
Author

futurepr0n commented Jul 20, 2024

lol, any chance you got the next error before I run into it? jk - thank you - am retrying will update this comment and close this item after success - appreciate the help

Edit/update: As directed, after the crash in compile, simply run make build/us_pc/sound/sequences.bin, then resume the build by re-running the previous make command (in my case gmake OSX_BUILD=1

And looks good!
Screenshot 2024-07-19 at 9 32 46 PM

@futurepr0n
Copy link
Author

futurepr0n commented Jul 20, 2024

After compiling, going to build and opening the package, same error thrown, wierd -
Screenshot 2024-07-19 at 11 06 30 PM
Does this require any special permissions? or am I doing something wrong how else other than just double clicking it am I supposed to run this?

@EmeraldLoc
Copy link
Contributor

Hmmm, I don't know. Very interesting you got this error on a fresh compilation. No special perms are required, so don't know why this is happening, very odd...

@futurepr0n
Copy link
Author

dude, i feel so dumb, I just remembered - I have the gfxCardStatus installed, so I can switch between discrete and integrated gpu and if its set to integrated gpu it will not work. It runs fine both the release and the build - I just need to make sure im flipped to discrete GPU. Jeez,, macbookpros - its set to autoswitch, but it doesnt kick in for some reason when this program tries to run. Sorry about this.
Screenshot 2024-07-19 at 11 10 30 PM

@EmeraldLoc
Copy link
Contributor

Lol, nah all good.

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