Open Aurailus opened 3 years ago
I have not tested MinGW on Windows, only MSVC and ClangCL. The code above works on latter 2 compilers.
Can you give any more details on the crash?
This will happen even on clean clone of repo
Well that doesn't look like a simple fix, I'll put MinGW support on my ToDo list but I'm busy with a few other tasks currently. If you want to look into it further yourself I'm happy to provide some guidance, probably best to do that over Discord chat though
ok, I will look into it, my discord is: Sam Freki#9144
There is a FastNoise Discord
Another option is to compile it as a DLL using one of the supported compilers and use it via the C interface, but that's not an ideal solution
Yeah and its weird that the segfault is only present on some generators
MinGW does not support AVX code on Windows https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54412
I just tried to test this, I didn't seem to get the segfault. Not sure if it's been fixed? The bug report linked above is still open.
I'm testing on GNU 13.1.0
Hi ! Just to confirm, this still segfaults on master branch (using MinGw with GNU 13.2.0) :)
This will happen even on clean clone of repo
Could you test the NewFastSIMD branch, I may have fixed it on there
For #142 I was using NewFastSIMD so it didn't fix it for me.
Are you sure, the arguments in GenUniform3D suggest you are using the master branch
Yes, I just rebuild the library from NewFastSIMD branch and the GenUniform3D still takes the same argument.
Hi! I'm encountering a strange issue with FastNoise2 on windows. When trying to call GenSingle3D on a FractalFBm module, a segfault occurs. This behaviour is present in the latest commit as well as the last release, and we managed to replicate it with just the following code, which should segfault at the GenSingle3D call:
Compiled with C++17, MinGW on Windows.