yusefnapora / m1-multimc-hack

A quick & dirty way to get Minecraft running via MultiMC on the Apple M1 with native performance
266 stars 47 forks source link

Attempting to use a modified version with latest lwjgl, error #7

Open kode54 opened 3 years ago

kode54 commented 3 years ago

"Cocoa: Regular windows do not have icons on macOS."

The relevant line in GLFW is over 14 months old, so it should have affected your build as well.

MoustacheOff commented 3 years ago

"Cocoa: Regular windows do not have icons on macOS."

The relevant line in GLFW is over 14 months old, so it should have affected your build as well.

@kode54 Are you using a fork of this repo?

kode54 commented 3 years ago

Yes, and I have a fork, where I had to alter GLFW natives to remove that error message to get it working. I also found that the newer LWJGL only works with Minecraft 1.17 or newer, while the one in this repository works with 1.13.x-1.16.x as well. There are at least a few forks in here that either change it to work with 1.12 or older, or detect that at runtime and provide for both.

Blyrexx commented 2 years ago

@kode54 Yesterday I also created a fork of this repository with the latest lwjgl 3.3.0 snapshot, but when I start the game I get this error: "GLFW error 65548: Cocoa: Regular windows do not have icons on macOS". It sounds like you had the same problem. What did you do to fix this error?

kode54 commented 2 years ago

I had to build my own copy of the relevant object file from GLFW, removing the error from the unsupported API call.

Blyrexx commented 2 years ago

Which tools did you use to build your own copy?

MoustacheOff commented 2 years ago

This error seems to cause problems to a lot

kode54 commented 2 years ago

I think I may have forked their entire git repo and modified the source, then ran brew edit lwjgl and instructed brew to build a git head copy from my repo. Then again, I don't even remember if brew is capable of building anything any more.

I am infamous as an author of "use HEAD as authority" for my own crap, while at the same time frequently putting other developers' code on permanent version freeze the instant I have the bare minimum of functional working copy.