• Dear Cerberus X User!

    As we prepare to transition the forum ownership from Mike to Phil (TripleHead GmbH), we need your explicit consent to transfer your user data in accordance with our amended Terms and Rules in order to be compliant with data protection laws.

    Important: If you accept the amended Terms and Rules, you agree to the transfer of your user data to the future forum owner!

    Please read the new Terms and Rules below, check the box to agree, and click "Accept" to continue enjoying your Cerberus X Forum experience. The deadline for consent is April 5, 2024.

    Do not accept the amended Terms and Rules if you do not wish your personal data to be transferred to the future forum owner!

    Accepting ensures:

    - Continued access to your account with a short break for the actual transfer.

    - Retention of your data under the same terms.

    Without consent:

    - You don't have further access to your forum user account.

    - Your account and personal data will be deleted after April 5, 2024.

    - Public posts remain, but usernames indicating real identity will be anonymized. If you disagree with a fictitious name you have the option to contact us so we can find a name that is acceptable to you.

    We hope to keep you in our community and see you on the forum soon!

    All the best

    Your Cerberus X Team

Desktop version not's work on Monterey

bosh77

Member
Joined
Oct 26, 2019
Messages
44
I am trying to build apps for mac os x with Monterey OS.
The app compiles but this error appears upon execution.


20220604_200830.jpg


I want to specify that I have installed Monterey on an old mac mini through a procedure seen on youtube, otherwise Monterey could not be installed as my mac is too old.
While on Mac with OS Catalina the app works.
 
Does it happen when you try to compile things that uses Mojo2, Mojo or both?
 
I tried mojo2 now and i get the same error as with mojo...both
 
Sorry I'm not sure what it could be, I looked around and ppl on the web seem to get this whenever there's no OpenGL or whenever their stencil was not set to a nice 8-bit size before opening a new Window. So I doubledchecked the sourcecode of Cebrerus and found that it uses 8-bit so it's not the stencil.

My guess is that Apple's internal mapping of Metal to OpenGL goes haywire when you do that kind of install on "old" hardware. But that's just what my inutition tells me, I have no idea exactly what the problem is.

I use Monterey 12.4 on a 2015 macBook Air but I do have an old macbook air from 2012 I could test on. Let's see first if someone else recognizes the problem.

Can you confirm that OpenGL works on everything else? Maybe even on cerberus binaries that you compiled on some other mac?
 
On the same mac but with OS Catalina it works.
I tried running from XCODE and I see this:

1654541426637.png
 
I am running CX on a 2014 MAc mini and compile to OSX Desktop just fine. Which version (Monterey and CX) are you using?
Do the examples run? Somehow it can't create a window.
Your machine must be VERY old because this one can be upgraded normally.
 
Monterey 12.4 and CX v2021-05-16.
Mine is a mac mini late 2012.
I installed Monterey with an unofficial procedure seen on youtube. Perhaps the problem is only with the machine and not with the CX.
 
Could you please try to add this line to the glfwWindowHint lines above the window creation in XCode and see if that helps?

C++:
glfwWindowHint(GLFW_OPENGL_FORWARD_COMPAT, GL_TRUE);
 
To bad. I am reading in the net that people had the first error you got even with older versions of OSX and the only solution was to downgrade to a lower OSX version.

My last guess would be
1. Remove the compabilty hint
2. set the stencil buffer hint to 0
 
I solved it, now it works!
I had not completed the procedure, I had forgotten a step.
In addition, other problems such as window animation and some colors have been fixed.
The error probably occurs only with this procedure that is used to install Monterey on unsupported machines, so in my opinion on new macs the problem should not exist.
If you want I can post the link to the video but it is in my language, Italian, but there should also be videos in English.
 
Glad you got it working. But please don’t post such videos here. People will find them if they need to.
 
Back
Top Bottom