-
Notifications
You must be signed in to change notification settings - Fork 7
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
MinGW+CMake crosscompilation for Windows #18
Comments
Resolved some issues and got the toolchain to work, but at the moment progress is stopped by a redaclaration within FBX SDK headers and the libraries they import (math stuff that's taken from mingw, in this case; so it might not act the same on native windows). This does not occur during Linux builds, so it is possible that this is caused by some mistake with the include lists. |
The supplied https://stackoverflow.com/questions/2472924/linking-to-msvc-dll-from-mingw
An example of writing a shim can be found here. However, given the number of libs which potentially have this issue, this fix is not very viable. Another solution would be to do one of the following:
On the other hand:
This means that it should be possible, but the dlls would be useless, so we probably need the other fix anyway. |
Worth noting:
Might be helpful, but probably won't. |
Got the MinGW builds to compile, but they're broken - probably because non-MinGW libraries are still being used. |
This is needed because if someone on Windows compiles the editors, they can release them without the Linux builds (since there's very few users for that). Meanwhile, a Linux developer can't do much with their builds because most people use Windows.
Hopefully helpful link:
https://cmake.org/cmake/help/book/mastering-cmake/chapter/Cross%20Compiling%20With%20CMake.html
The text was updated successfully, but these errors were encountered: