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

Cross compile from Windows #2

Open
randomcmd opened this issue Oct 30, 2024 · 0 comments
Open

Cross compile from Windows #2

randomcmd opened this issue Oct 30, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@randomcmd
Copy link

randomcmd commented Oct 30, 2024

I'm using GLFW to build a universal binary using this Template. I am adding GLFW as a debug dependency for desktop builds and trying to build GLFW for Linux and Mac from Windows. Building it on Linux using Linux works, no issues!

Currently, I am getting the following errors for the targets:

x86_64-linux: error: error: unable to find dynamic system library 'X11' using strategy 'paths_first'. searched paths: none
aarch64-macos: error: error: unable to find dynamic system library 'objc' using strategy 'paths_first'. searched paths: none

Building it as a shared library gives be a bunch of duplicate symbol errors, but I don't think this is a great fix anyway.

@randomcmd randomcmd changed the title ZGLFW doesn't cross compile on windows ZGLFW doesn't cross compile on Windows Oct 30, 2024
@hazeycode hazeycode added the bug Something isn't working label Nov 2, 2024
@hazeycode hazeycode transferred this issue from zig-gamedev/zig-gamedev Nov 5, 2024
@hazeycode hazeycode changed the title ZGLFW doesn't cross compile on Windows Cross compile from Windows Nov 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants