MinGW Assertion Runtime:Assertion Failed

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

Re: MinGW Assertion Runtime:Assertion Failed

Post by Hritika »

ok sir Thank you.
Do we need gdal support also for rasterization process in cloud compare?
If yes,then can you brief what to include or any cmake file present in cloud compare to be build?

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 »

You need GDAL only if you want to export rasters to geotiff.

In this case you need to find precompiled binaries of GDAL or more easily install osgeo4w with "GDAL dev" or something similar. Then CMake should be able to find it or you can point it to the right paths.
Daniel, CloudCompare admin
Hritika
Posts: 23
Joined: Sat Jul 15, 2017 2:59 pm

Re: MinGW Assertion Runtime:Assertion Failed

Post by Hritika »

Thank you so much sir.Your guidance really helps.

Please notify me if you get to know regarding "not enough memory" or "mingw runtime assertion" problem,since machine is working fine for other functions. Only for rasterize ,it is causing the error.

Thank you
With regards
Hritika
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 »

I have never experienced this kind of issue on my side... Is your raster big?
Daniel, CloudCompare admin
Hritika
Posts: 23
Joined: Sat Jul 15, 2017 2:59 pm

Re: MinGW Assertion Runtime:Assertion Failed

Post by Hritika »

The raster is not yet created .The point cloud is of 72.5 mb. And the size for raster is 7827 X 463 which results into 196 mb raster.
This issue is not raised when running cloud compare but when build on qt creator, it is showing this way:" not enough memory'.

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 »

It's strange to reach the memory limit with such a small raster/grid. Even a 32 bits program would deal with it fine. Do you have options regarding memory limitation on Qt Creator?

By the way, does it work in release mode? (assert is a debug-only feature).
Daniel, CloudCompare admin
Hritika
Posts: 23
Joined: Sat Jul 15, 2017 2:59 pm

Re: MinGW Assertion Runtime:Assertion Failed

Post by Hritika »

It is showing the same errors in the release mode too.(not enough memory)
And about memory limitation regarding qt , i have no idea since working on it the first time.I will see to it.

Thank you
Hritika
Posts: 23
Joined: Sat Jul 15, 2017 2:59 pm

Re: MinGW Assertion Runtime:Assertion Failed

Post by Hritika »

It is also showing thies error:
ccpointcloud::reserve not enough memory


Thank you
With regards
Hritika Mehta
Hritika
Posts: 23
Joined: Sat Jul 15, 2017 2:59 pm

Re: MinGW Assertion Runtime:Assertion Failed

Post by Hritika »

I am using mingw 32 bit in the kit for building ,and the qt used is 5.6.1 (msvc 2013 32 bit).Is that causing any problem?
I mean any compiler issue?

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 »

CloudCompare is not meant to be compiled in 32 bits... Only the 64 bits mode is "officially" supported.
Daniel, CloudCompare admin
Post Reply