Skip to content

Cross compile from Windows #2

@randomcmd

Description

@randomcmd

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions