Code Monkey home page Code Monkey logo

Comments (20)

ctrlcctrlv avatar ctrlcctrlv commented on May 12, 2024 2

Update: I've tracked the problem down. The problem is in Reclutch. All its examples are broken on OS X in some way. I've informed @jazzfool, hopefully they can help as they already have with #1.

from glif.

ctrlcctrlv avatar ctrlcctrlv commented on May 12, 2024 1

I'm actively hacking on this right now to finally add the toolbox, as you saw on Twitter I converted all your icons into their own SVG.

b740027#diff-3d350169560e75d0cf9fc8e3574a3639R6

So I hope I don't create a difficult merge conflict as I plan to refactor later probably

from glif.

ctrlcctrlv avatar ctrlcctrlv commented on May 12, 2024 1

Thanks everyone, @milezzz. #3 will close this. You're all welcome to try the branch early, but do note that you need to pull aclysma/skulpin to the parent directory as well if you do.

image

from glif.

eliheuer avatar eliheuer commented on May 12, 2024

Arch screenshot:
qglif-test

from glif.

ctrlcctrlv avatar ctrlcctrlv commented on May 12, 2024

I just forced pushed for the last time and promise to not do it anymore; can you try on the force pushed branch?

from glif.

ctrlcctrlv avatar ctrlcctrlv commented on May 12, 2024

Nightly is required...I don't know why OS X isn't detecting that @eliheuer

from glif.

ctrlcctrlv avatar ctrlcctrlv commented on May 12, 2024

Unless for some reason the OS X nightly rustc cannot do char::from_u32??

from glif.

eliheuer avatar eliheuer commented on May 12, 2024

I just checked, I am and was using rustc 1.48.0-nightly on macOS.

from glif.

ctrlcctrlv avatar ctrlcctrlv commented on May 12, 2024

🤔 Hmm...

Please let me know if you figure it out; that is very strange. Or, if you can find an alternative for the function that doesn't need Nightly.

from glif.

eliheuer avatar eliheuer commented on May 12, 2024

This is what I get at commit 6271987:

$ RUSTFLAGS=-Awarnings DEBUG=y RUST_BACKTRACE=1 cargo run -- Q_.glif

    Finished dev [unoptimized + debuginfo] target(s) in 0.70s
     Running `target/debug/Qglif Q_.glif`
Debug: Loaded "Q" (U+0051) from Q_.glif
called `Result::unwrap()` on an `Err` value: GlutinCreationError(NotSupported("could not open gl context"))

from glif.

eliheuer avatar eliheuer commented on May 12, 2024

I kinda like the idea of this not working on mac now that I think about it.

from glif.

ctrlcctrlv avatar ctrlcctrlv commented on May 12, 2024

I think that I'm requesting too high an OpenGL version for either Mac in general or your computer specifically.

from glif.

ctrlcctrlv avatar ctrlcctrlv commented on May 12, 2024

The internet says that Apple hates OpenGL and that's why it's not working. 🙃

I would need your expertise to figure out how to lower our version. They deprecated it apparently. I'm not dropping it though, let's be clear. Nothing else works on Linux well, and that's the most important platform for this, even above Windows.

from glif.

ctrlcctrlv avatar ctrlcctrlv commented on May 12, 2024

I think @kovidgoyal might know what I'm doing wrong also

from glif.

kovidgoyal avatar kovidgoyal commented on May 12, 2024

Without looking at the code, make sure you are requesting an OpenGL version no higher than 3.3, that's the last that reliably works on macOS

from glif.

ctrlcctrlv avatar ctrlcctrlv commented on May 12, 2024

I am:

https://github.com/mfeq/Qglif/blob/62719877eaa2ef511878f430d5071df62784876d/src/main.rs#L123

Although I am using multiple contexts... Perhaps the other context is using a higher version. I'll need to investigate when I get on the computer, but the hard thing is I can't test on Mac. Does anyone know of a service that will allow me to rent and remote in to a Mac? Like via VNC? Of course having graphics is a must.

from glif.

ctrlcctrlv avatar ctrlcctrlv commented on May 12, 2024

Update: It does build.

image

I posted on Twitter I was looking to rent a Mac and got a few nice offers. In the meantime, this is the trial version of Macincloud. So it does build.

I can't tell if this display problem is Macincloud's fault or not.

from glif.

ctrlcctrlv avatar ctrlcctrlv commented on May 12, 2024

Update: It really is broken. A nice guy on Twitter gave me TeamViewer access to his Mac. Debugging...

image

from glif.

ctrlcctrlv avatar ctrlcctrlv commented on May 12, 2024

More confirmation: it is not a problem with VNC. l33tguy on Twitter built it on real hardware and got this.

I wonder if rust-skia works at all on Mac.

image

from glif.

milezzz avatar milezzz commented on May 12, 2024

Above screenshot is from 10.15.2:

mac

from glif.

Related Issues (20)

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.