Re: [GRASS-dev] Debugging QGIS with GRASS provider on Windows

2015-06-22 Thread Radim Blazek
On Sun, Jun 21, 2015 at 4:32 AM, Glynn Clements gl...@gclements.plus.com wrote: Helmut Kudrnovsky wrote: Finally I found it, it is similar story like with FILE. The provider (MSVC) calls Vect__open_old with struct Map_info variable allocated in the provider where sizeof(struct Map_info) =

Re: [GRASS-dev] Debugging QGIS with GRASS provider on Windows

2015-06-20 Thread Glynn Clements
Helmut Kudrnovsky wrote: Finally I found it, it is similar story like with FILE. The provider (MSVC) calls Vect__open_old with struct Map_info variable allocated in the provider where sizeof(struct Map_info) = 1408. Vect__open_old (MinGW) calls G_zero on that variable, where sizeof(struct

Re: [GRASS-dev] Debugging QGIS with GRASS provider on Windows

2015-06-19 Thread Helmut Kudrnovsky
Radim Blazek-2 wrote On Fri, Jun 19, 2015 at 9:44 AM, Maris Nartiss lt; maris.gis@ gt; wrote: 2015-06-19 10:35 GMT+03:00 Radim Blazek lt; radim.blazek@ gt;: I have somehow managed to compile limited GRASS core libs with MSVC and GRASS Makefiles replacing gcc by cl.exe. The build

Re: [GRASS-dev] Debugging QGIS with GRASS provider on Windows

2015-06-19 Thread Maris Nartiss
2015-06-19 10:35 GMT+03:00 Radim Blazek radim.bla...@gmail.com: I have somehow managed to compile limited GRASS core libs with MSVC and GRASS Makefiles replacing gcc by cl.exe. The build system does not seem to be the biggest problem, there are still pieces of code not compiling under MSVC

Re: [GRASS-dev] Debugging QGIS with GRASS provider on Windows

2015-06-19 Thread Radim Blazek
On Tue, Jun 16, 2015 at 10:48 PM, Vaclav Petras wenzesl...@gmail.com wrote: On Tue, Jun 16, 2015 at 2:01 PM, Radim Blazek radim.bla...@gmail.com wrote: Hi, I need to debug QGIS GRASS provider on Windows. I have successfully compiled GRASS 7 using MinGW [1] and QGIS using MSVC [2]. The

Re: [GRASS-dev] Debugging QGIS with GRASS provider on Windows

2015-06-19 Thread Radim Blazek
On Fri, Jun 19, 2015 at 9:44 AM, Maris Nartiss maris@gmail.com wrote: 2015-06-19 10:35 GMT+03:00 Radim Blazek radim.bla...@gmail.com: I have somehow managed to compile limited GRASS core libs with MSVC and GRASS Makefiles replacing gcc by cl.exe. The build system does not seem to be the

[GRASS-dev] Debugging QGIS with GRASS provider on Windows

2015-06-16 Thread Radim Blazek
Hi, I need to debug QGIS GRASS provider on Windows. I have successfully compiled GRASS 7 using MinGW [1] and QGIS using MSVC [2]. The problem is that MSVC does not support GCC debugging symbols and vice versa. Do you have any idea how to debug both QGIS and GRASS code at the same time, preferably

Re: [GRASS-dev] Debugging QGIS with GRASS provider on Windows

2015-06-16 Thread Vaclav Petras
On Tue, Jun 16, 2015 at 2:01 PM, Radim Blazek radim.bla...@gmail.com wrote: Hi, I need to debug QGIS GRASS provider on Windows. I have successfully compiled GRASS 7 using MinGW [1] and QGIS using MSVC [2]. The problem is that MSVC does not support GCC debugging symbols and vice versa. Do you