This repository has been archived by the owner on Apr 2, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 87
Compile with Mingw #38
Comments
Does it throw an illegal instruction exception? |
Can you show the full function where you call GetPerlinSet |
My code where I start using FastNoiseSIMD is below but my full function is a litle too long yet to show it. I am in test phase. URHO3D_LOGINFO("debug 7");
{
std::stringstream ss;
ss << "FastNoiseSIMD level " << FastNoiseSIMD::GetSIMDLevel();
std::cout << ss.str() << std::endl;
URHO3D_LOGINFO(ss.str().c_str());
}
FastNoiseSIMD* noiseSIMD = FastNoiseSIMD::NewFastNoiseSIMD(seed);
noiseSIMD->SetNoiseType(FastNoiseSIMD::NoiseType::Perlin);
URHO3D_LOGINFO("debug 7.1");
{
std::stringstream ss;
ss << "FastNoiseSIMD level " << (void*) &noiseSIMD->GetPerlinSet;
std::cout << ss.str() << std::endl;
URHO3D_LOGINFO(ss.str().c_str());
}
float* results = noiseSIMD->GetPerlinSet(0, 0, 0, 200, 1, 200);
URHO3D_LOGINFO("debug 7.2"); And I get in log files : [Tue Nov 13 18:51:01 2018] INFO: debug 7 PS : A friend of mine asked me to test GetEmptySet and FillPerlinSet separately and it crashed on FillPerlinSet. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hello,
Actually, there is too much ifdef _WIN32 in your sources, so it doesn't work.
Even if some may be justified, some of them should be ifdef MSVC
I tried with some changes until I can compile it with mingw, but I had a beautifull error 0x000005 :
Process finished with exit code -1073741819 (0xC0000005)
So I am a litle lost. It happened with this line :
Originally posted by @NicolasRicard in #37 (comment)
The text was updated successfully, but these errors were encountered: