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

Support compiling on Mac #204

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

jeffwheeler
Copy link

No description provided.

@carrotIndustries
Copy link
Member

Unfortunately, Gtk is still lacking OpenGL support on Quartz, so as soon something like a symbol or package shows up, horizon will probably crash. Or does XQuartz support GLX?

@jeffwheeler
Copy link
Author

Oh crap, you're right. I'm not sure if there's a workaround or not, I read some things about OpenGL for GTK on Mac, but not sure how it relates.

@jonasschneider
Copy link

FYI, unfortunately running under Mac via a Parallels-installed Ubuntu installation doesn't work either; everything builds fine from master, but crashes when attempting to open a new project:

SELECT parts.uuid, parts.MPN, parts.manufacturer, packages.name, tags_view.tags, parts.filename, parts.description, parts.pool_uuid, parts.overridden FROM parts LEFT JOIN tags_view ON tags_view.uuid = parts.uuid LEFT JOIN packages ON packages.uuid = parts.package WHERE parts.MPN LIKE $mpn AND parts.manufacturer LIKE $manufacturer AND (parts.entity=$entity or $entity_all)  ORDER BY parts.MPN COLLATE naturalCompare ASC
SELECT parts.uuid, parts.MPN, parts.manufacturer, packages.name, tags_view.tags, parts.filename, parts.description, parts.pool_uuid, parts.overridden FROM parts LEFT JOIN tags_view ON tags_view.uuid = parts.uuid LEFT JOIN packages ON packages.uuid = parts.package WHERE parts.MPN LIKE $mpn AND parts.manufacturer LIKE $manufacturer AND (parts.entity=$entity or $entity_all)  ORDER BY parts.MPN COLLATE naturalCompare ASC
Compile failure in vertex shader: ERROR: 0:1: '' :  version '330' is not supported
 
gl error 1282 in src/canvas/canvas_gl.cpp:83
Aborted (core dumped)

So presumably even inside of the VM, it's still using the incompatible Mac GL libraries.

@pwnorbitals
Copy link

Does anyone know if any progress can be made as of today ?

@sparky4pro
Copy link

FYI, unfortunately running under Mac via a Parallels-installed Ubuntu installation doesn't work either; everything builds fine from master, but crashes when attempting to open a new project:

So presumably even inside of the VM, it's still using the incompatible Mac GL libraries.

Got Horizon working in a VM:
UTM is built for Apple Silicon: https://mac.getutm.app

Debian ARM64 Bookworm (testing) is running in a VM utilizing 4 cpu cores.
Horizon EDA 2.2 is available in Bookworm and runs very fast.
Zoom, Pan, 3D-Visualization of PCB, etc. all works and is very usable.

Even the dark theme of the Mate desktop works with debian/horizon...

MacBook Pro with M1 Max 32GB memory.

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

Successfully merging this pull request may close these issues.

5 participants