Giter Site home page Giter Site logo

panic when running on mac about magog HOT 7 CLOSED

rsaarelm avatar rsaarelm commented on July 21, 2024
panic when running on mac

from magog.

Comments (7)

rsaarelm avatar rsaarelm commented on July 21, 2024

The calx_macros thing should be fixed now, thanks for reporting it.

I'm still in the dark on anything OS X related. I did some blind patching and am now explicitly setting the OpenGL version to 3.2 when creating the display and set the shaders to version 150.

Can you try again with the latest HEAD?

from magog.

mgadzhi avatar mgadzhi commented on July 21, 2024

Yes, the problem with calx_macros is gone. Now --release gives the same 'panic' error as debug build does.

from magog.

rsaarelm avatar rsaarelm commented on July 21, 2024

I just realized I can get rid of 'attribute' entirely in the shader code. Made a new commit, can you try again?

from magog.

mgadzhi avatar mgadzhi commented on July 21, 2024

I tried and the previous error looks fixed. Now it is:

Running target/release/magog
thread '

' panicked at 'called Result::unwrap() on an Err value: CompilationError("ERROR: 0:10: Invalid call of undeclared identifier 'texture2D'\nERROR: 0:14: Use of undeclared identifier 'tex_color'\nERROR: 0:16: Use of undeclared identifier 'gl_FragColor'\nERROR: 0:16: Use of undeclared identifier 'tex_color'\nERROR: 0:16: Use of undeclared identifier 'tex_color'\n")', /Users/rustbuild/src/rust-buildbot/slave/stable-dist-rustc-mac/build/src/libcore/result.rs:729
Process didn't exit successfully: target/release/magog (exit code: 101)

from magog.

rsaarelm avatar rsaarelm commented on July 21, 2024

We're making progress. The 'texture2D' and 'gl_FragColor' parts were indeed wrong, and my local GL drivers didn't bother to complain. Can you re-try with the latest commit?

from magog.

mgadzhi avatar mgadzhi commented on July 21, 2024

It worked! Thank you very much for the game and for fixing OS X problems.

from magog.

rsaarelm avatar rsaarelm commented on July 21, 2024

Great! Thank you for your patience.

from magog.

Related Issues (6)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.