MinGW Assertion Runtime:Assertion Failed

Feel free to ask any question here
Hritika
Posts: 23
Joined: Sat Jul 15, 2017 2:59 pm

MinGW Assertion Runtime:Assertion Failed

Post 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
Hritika
Posts: 23
Joined: Sat Jul 15, 2017 2:59 pm

Re: MinGW Assertion Runtime:Assertion Failed

Post 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
Hritika
Posts: 23
Joined: Sat Jul 15, 2017 2:59 pm

Re: MinGW Assertion Runtime:Assertion Failed

Post by Hritika »

Both the above mentioned errors are coming randomly one after the other.
Please guide me .

Thank you
daniel
Site Admin
Posts: 7709
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: MinGW Assertion Runtime:Assertion Failed

Post 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?
Daniel, CloudCompare admin
Hritika
Posts: 23
Joined: Sat Jul 15, 2017 2:59 pm

Re: MinGW Assertion Runtime:Assertion Failed

Post 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].
daniel
Site Admin
Posts: 7709
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: MinGW Assertion Runtime:Assertion Failed

Post by daniel »

Then something is probably wrong in your setup?
Daniel, CloudCompare admin
Hritika
Posts: 23
Joined: Sat Jul 15, 2017 2:59 pm

Re: MinGW Assertion Runtime:Assertion Failed

Post 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?
daniel
Site Admin
Posts: 7709
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: MinGW Assertion Runtime:Assertion Failed

Post 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?
Daniel, CloudCompare admin
Hritika
Posts: 23
Joined: Sat Jul 15, 2017 2:59 pm

Re: MinGW Assertion Runtime:Assertion Failed

Post by Hritika »

Sir can you tell how to update them in the debug mode?What does it mean?

Thank you
With regards
Hritika Mehta
daniel
Site Admin
Posts: 7709
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: MinGW Assertion Runtime:Assertion Failed

Post 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.
Daniel, CloudCompare admin
Post Reply