coop-deluxe / sm64coopdx

An official continuation of https://github.com/djoslin0/sm64ex-coop on sm64coopdx for the enhancements and progress it already has.
https://sm64coopdx.com
315 stars 55 forks source link

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

Closed futurepr0n closed 1 month ago

futurepr0n commented 1 month ago

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):

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 commented 1 month ago

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 commented 1 month ago

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 commented 1 month ago

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

futurepr0n commented 1 month ago

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 commented 1 month ago

Flower35 figured out this issue here

futurepr0n commented 1 month ago

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 commented 1 month ago

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 commented 1 month ago

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 commented 1 month ago

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 commented 1 month ago

Lol, nah all good.