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

Running on OSX #1

Open
adamhill opened this issue Dec 23, 2020 · 9 comments
Open

Running on OSX #1

adamhill opened this issue Dec 23, 2020 · 9 comments

Comments

@adamhill
Copy link

What issues are there, getting HP to run on OSX?

@ehufsted
Copy link
Owner

Unfortunately, I don't have an OSX machine, so I can't compile the executable via Processing. I'll try to bribe someone I know to compile it soon.

The current option for OSX users is to download the source code and run it in Processing, using the instructions at the bottom of the readme.

@msurguy
Copy link

msurguy commented Dec 23, 2020

@ehufsted what are the instructions to compile on MacOS? Also, maybe Github Actions can do automatically?

@ehufsted
Copy link
Owner

I've been using the Processing IDE, rather than another like Eclipse. They've made it easy to compile through their IDE, but only OSX can compile for OSX on it.

For compiling in OSX: install Processing, etc as described at the bottom of the readme. Then open HalftonePointsAndLines.pde in Processing. Go to File -> Export Application, check the box next to Mac OS X, and hit Export.

@msurguy
Copy link

msurguy commented Dec 23, 2020

@ehufsted
Copy link
Owner

Thank you! I'll be sure to credit you for compiling the code.
There is one part that I forgot: the Linux and Windows executables required the rhino.jpg image in the same folder. Does your compiled program work the same way? Or does the image go into the .app file?

I'm working on getting a Mac virtual machine going, but that will take some time still. I should be able to compile future versions, though.

@msurguy
Copy link

msurguy commented Dec 23, 2020

@ehufsted I verified, the image has to go in the same folder as .app file in order for the app to work. Maybe make a zip with those two files (.app and rhino.jpg) to work correctly? Also, if image is not provided, would be good to let the user choose the image right away...

@ehufsted
Copy link
Owner

@msurguy Thanks so much for checking. I'll do that, and upload it now!

That is a good idea, which I'll put in the next version. The fact that the code requires the initial image is a failure point that can be fixed pretty easily.

@maxbatt22
Copy link

Hi everyone! Super excited to try this out, and thanks so much to the creators.

Question, when I try to open on Mac, I get an error message that the app can't be opened. I have tried various fixes for this particular error from StackOverflow, etc - and I am failing so far :/

Pointers? Apologies if this question has already been answered elsewhere. If helpful, my OS is BigSur 1.1

Cheers!
Max

Screen Shot 2020-12-23 at 6 50 21 PM

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

4 participants