GLFW+MoltenVK cross-compilation on Linux #1702
Replies: 2 comments 4 replies
-
If I understand what you are trying to do, you want to link MoltenVK into an application build (cross-build) on Linux? But that app would then actually run on an Apple platform, presumably? Is there some reason why you need to build MoltenVK itself on Linux? Could you use a MoltenVK binary that was built under macOS (or a macOS VM on Linux)? |
Beta Was this translation helpful? Give feedback.
-
Your version of osxcross is rather old as the newer ones do include an xcodebuild wrapper however it lightly still won’t help building MoltenVK from source. You could instead use one of the stock builds from my mirror https://github.com/The-Wineskin-Project/MoltenVK/releases all built via GitHub actions. |
Beta Was this translation helpful? Give feedback.
-
Hi, I am making a cross-compilation Golang application on Linux with GLFW and MoltenVK for macOS.
I have pre-requisition "the MoltenVK.framework needs to be installed in the /Library/Frameworks folder for the build to find it".
It seems script "./fetchDependencies" heavily depends on Apple Xcode SDK.
I end up on
I can modify the destination OS in the script but it does not change the fact I need to run "xcodebuild".
Does have somebody any hints?
Beta Was this translation helpful? Give feedback.
All reactions