Page 1 of 3

MinGW Assertion Runtime:Assertion Failed

Posted: Thu Jul 27, 2017 5:42 am
by Hritika
Sir,
I have been running cc on QT 5.6 Mingw ,but while using Rasterize function I am getting error in ccRasterGrid.cpp file Line no 349: Regarding Assertion Failed.I have made some modifications.Can you suggest any soultion?


With Regards
Hritika

Re: MinGW Assertion Runtime:Assertion Failed

Posted: Thu Jul 27, 2017 6:08 am
by Hritika
Respected Sir,

Now,The problem of assertion is not coming but while rasterization ,there is an error regarding "not enough memory", while working in qt5.6 mingw.
But while taking same values in cloud compare ,it is working.
Please guide me.

With regards
Hritika

Re: MinGW Assertion Runtime:Assertion Failed

Posted: Thu Jul 27, 2017 6:58 am
by Hritika
Both the above mentioned errors are coming randomly one after the other.
Please guide me .

Thank you

Re: MinGW Assertion Runtime:Assertion Failed

Posted: Thu Jul 27, 2017 7:22 pm
by daniel
Hard to tell... Something must be corrupted in your project / memory.

Are you compiling the original source code (and the latest version) or have you modified the code?

Re: MinGW Assertion Runtime:Assertion Failed

Posted: Sat Jul 29, 2017 12:26 am
by Hritika
I have modified the code a bit.Infact the plugins are also not loading,when checked in the console.Ther error is
The plugin uses incompatible qt library 5.7[release].

Re: MinGW Assertion Runtime:Assertion Failed

Posted: Sat Jul 29, 2017 8:45 am
by daniel
Then something is probably wrong in your setup?

Re: MinGW Assertion Runtime:Assertion Failed

Posted: Sat Jul 29, 2017 9:22 am
by Hritika
I think the setup is fine,since other features are working properly.Is it due to the fact that plugins are not getting loaded during the start of the application?

Re: MinGW Assertion Runtime:Assertion Failed

Posted: Sun Jul 30, 2017 6:50 am
by daniel
Apparently you are linking under debug mode with the release libs of Qt. At least for the plugins. Or you have compiled the release versions of the plugins and you haven't updated them in debug mode?

Re: MinGW Assertion Runtime:Assertion Failed

Posted: Tue Aug 01, 2017 9:38 am
by Hritika
Sir can you tell how to update them in the debug mode?What does it mean?

Thank you
With regards
Hritika Mehta

Re: MinGW Assertion Runtime:Assertion Failed

Posted: Wed Aug 02, 2017 6:42 am
by daniel
Not sure how it works with Qt Creator, but you have two compilation modes: debug (fully instrumented, where you can trace into the code and the software can detect some bugs, etc. - However it's very slow) and release moee (no check, but fast). You can't mix them.

This is standard mechanisms, it's not specific to Cloudcompare.