Compilation problem for MacOS

  • #1, by red363Tuesday, 14. June, 15:02 2 weeks ago
    Hello!

    I wanted to test a small piece of the game on MacOS.
    I myself work in the version for WIN. I downloaded the MacOS version of the program and put it in the "platform" folder in my program directory. Next, I compiled the game with MacOS settings. But on Mac the game didn't start (starts, black screen and crashes in a second). Moreover, if I compile the version for WIN, then everything starts fine on WIN.

    Tell me, please, what could be the problem and what did I do wrong?

    Newbie

    58 Posts


  • #2, by SimonSTuesday, 14. June, 15:04 2 weeks ago
    There's no need to manually download platform files, the editor does it.

    On what hardware are you testing? There should be a crashlog if it's crashing.

    Thread Captain

    1543 Posts

  • #3, by red363Wednesday, 15. June, 22:43 A week ago
    There's no need to manually download platform files, the editor does it.

    On what hardware are you testing? There should be a crashlog if it's crashing.
    there is a report, I do not know if this information will help to understand the problem ...

    https://1drv.ms/u/s!Anl4w4tP7uAPhL56s4ekmE7h4_ldtQ?e=QFeUX2

    Newbie

    58 Posts

  • #4, by SimonSThursday, 16. June, 08:22 A week ago
    Do you have any custom shaders? The metal api is more strict about variable naming and varyings in glsl. That's where the crash is. Maybe you can PM me a sample so I can tell you what the problem is.

    Thread Captain

    1543 Posts

  • #5, by SimonSFriday, 17. June, 16:11 A week ago
    Alright, the shader is the problem, metal needs all varyings to be named the same in fragment and vertex. So just go to fourbit / Vertex and replace uvVarying with texcoord in the 2 locations.

    Thread Captain

    1543 Posts

  • #6, by red363Friday, 17. June, 23:46 A week ago
    Alright, the shader is the problem, metal needs all varyings to be named the same in fragment and vertex. So just go to fourbit / Vertex and replace uvVarying with texcoord in the 2 locations.

    Thank you very much, Simon.
    I'll test and post the result

    Newbie

    58 Posts

  • #7, by red363Saturday, 18. June, 22:38 A week ago
    Thank you very much again! Everything started on macOS

    Newbie

    58 Posts

Write post