-
Notifications
You must be signed in to change notification settings - Fork 2
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 of mingw cross compilation? #10
Comments
try to put
at the top of hastyNoise.cpp |
When I do that it is even worst got lot of errors:
|
Yeah that just means there are more errors then the first ones. I never tried to compile it in mingw. Although you would assume gcc to be the same everywhere it really is not. May also be related to the gcc version. I do not have a mingw environment setup but if a get a chance this weekend I will take a look. |
For a pre made MingW64 environment look at https://github.com/dockcross/dockcross and the image windows-static-x64 |
checked in some fixes to https://github.com/caseymcc/HastyNoise/tree/mingw, I need to verify everything still works on the rest of the platforms before I merge it. |
Got this issue:
dockcross image don't have filesystem so it should be installed. |
are you compiling for 32bit? |
Normally no and I didn't specified any kind of options for but this include |
This line is set in my toolchain file that must trigger 64bit compilation |
Mingw does not support building AVX aligned code. This repo won't be able to fix the problem without compiler support. Here are a few of many discussion links: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54412 https://sourceforge.net/p/mingw-w64/mailman/message/34453497/ |
Toolchain file:
The text was updated successfully, but these errors were encountered: