Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failure to start when running on MacOS #10

Closed
jamesoly opened this issue May 16, 2024 · 4 comments
Closed

Failure to start when running on MacOS #10

jamesoly opened this issue May 16, 2024 · 4 comments

Comments

@jamesoly
Copy link

I'm running OpenJDK 17.0.5 on MacOS 13.6.6. From a fresh clone of the quip repo, I am unable to start any of the examples successfully. The process quits during startup, as shown here:

MacBook-Air:quip joly$ cd example_games/sounds/
MacBook-Air:sounds joly$ lein deps
MacBook-Air:sounds joly$ lein run
WARNING: abs already refers to: #'clojure.core/abs in namespace: quil.core, being replaced by: #'quil.core/abs
Execution error (ClassNotFoundException) at jdk.internal.loader.BuiltinClassLoader/loadClass (BuiltinClassLoader.java:641). com.apple.eawt.QuitHandler

After a little research, it appears this is an issue with Processing 3 that is fixed in Processing 4. When I tried with the latest quil library, I was able to run all the examples successfully using [quil "4.3.1563"].

Would you update quip to use a recent quil version that uses Processing 4? I could try submitting a pull request if that would be helpful, but locally it was just updating the project.clj dependency.

@Kimbsy
Copy link
Owner

Kimbsy commented May 28, 2024

Oh wow, thanks for spotting this, I'll try and fix this this evening.

I should probably but in something that checks for out of date deps.

@Kimbsy
Copy link
Owner

Kimbsy commented May 28, 2024

@jamesoly I've update the project deps, version 2.0.6now ses the lates version of Quil, and I see processing 4 being pulled in too.

I don't have a Mac to tets this on, so if you could let me know if it works I can close the issue.

@jamesoly
Copy link
Author

jamesoly commented Jun 2, 2024

I tried all the examples, and they now all start and run fine on my Macbook. I found a slight issue where sometimes I had to quit the example twice before it fully stopped the program, but that's a minor annoyance (and only on shutdown). The library is usable, which is the biggest thing.

I think you can close the issue. Thanks for working on this.

@Kimbsy
Copy link
Owner

Kimbsy commented Jun 4, 2024

Awesome, thanks for bringing it to my attention!

Let me know if you end up making anything with it 🙏 ❤️

@Kimbsy Kimbsy closed this as completed Jun 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants