Re: [gdal-dev] Release of a GDAL 2.0.x and 2.1.x Visual Studio 2010 Solution (static and dynamic lib)

2016-08-31 Thread Jeff McKenna
*From:* Ivan Lucena <lucena_i...@hotmail.com> *Sent:* Monday, August 15, 2016 3:37 PM *To:* Mateusz Loskot; Jeff McKenna *Cc:* gdal-dev@lists.osgeo.org *Subject:* Re: [gdal-dev] Release of a GDAL 2.0.x and 2.1.x Visual Studio 2010 Solution (static and dynamic lib) Mat

Re: [gdal-dev] Release of a GDAL 2.0.x and 2.1.x Visual Studio 2010 Solution (static and dynamic lib)

2016-08-30 Thread Mateusz Loskot
> On 2016-08-30 4:21 PM, Ivan Lucena wrote: > > Hi Mateusz/Jeff, > > > Please try the new version of "makegdal_gen.bat". > > > It will generate projects ready to use in newer version of Visual Studio. > > > I tested it only in VC++ 12.0 (VS 2013). Ivan, I've just tested it with VS2015 Update 3

Re: [gdal-dev] Release of a GDAL 2.0.x and 2.1.x Visual Studio 2010 Solution (static and dynamic lib)

2016-08-30 Thread Jeff McKenna
PM *To:* Mateusz Loskot; Jeff McKenna *Cc:* gdal-dev@lists.osgeo.org *Subject:* Re: [gdal-dev] Release of a GDAL 2.0.x and 2.1.x Visual Studio 2010 Solution (static and dynamic lib) Mateusz, Thanks for the tip. Yes, the project is loaded but it is not a "Makefile Project" anymore,

Re: [gdal-dev] Release of a GDAL 2.0.x and 2.1.x Visual Studio 2010 Solution (static and dynamic lib)

2016-08-30 Thread Ivan Lucena
rds, Ivan From: Ivan Lucena <lucena_i...@hotmail.com> Sent: Monday, August 15, 2016 3:37 PM To: Mateusz Loskot; Jeff McKenna Cc: gdal-dev@lists.osgeo.org Subject: Re: [gdal-dev] Release of a GDAL 2.0.x and 2.1.x Visual Studio 2010 Solution (static and dynamic lib) M

Re: [gdal-dev] Release of a GDAL 2.0.x and 2.1.x Visual Studio 2010 Solution (static and dynamic lib)

2016-08-15 Thread Ivan Lucena
l-dev <gdal-dev-boun...@lists.osgeo.org> on behalf of Mateusz Loskot <mate...@loskot.net> Sent: Thursday, August 4, 2016 5:44 PM To: Jeff McKenna Cc: gdal-dev@lists.osgeo.org Subject: Re: [gdal-dev] Release of a GDAL 2.0.x and 2.1.x Visual Studio 2010 Solution (static and dynamic lib)

Re: [gdal-dev] Release of a GDAL 2.0.x and 2.1.x Visual Studio 2010 Solution (static and dynamic lib)

2016-08-08 Thread M. LATTES
Jan, I'll dig into it and it let you know. Mathieu Lattes   Le Samedi 6 août 2016 22h19, Jan Heckman a écrit : Hi Mateusz,Thanks for your effort! It is really handy for me. FYI, a few more things I came across:- In the dll post build event there are 3 copy

Re: [gdal-dev] Release of a GDAL 2.0.x and 2.1.x Visual Studio 2010 Solution (static and dynamic lib)

2016-08-08 Thread M. LATTES
Hi Jan thanks, Indeed, I'll update the master with the quote in post-builds events. Regards. Mathieu Lattes   Le Vendredi 5 août 2016 20h39, Jan Heckman a écrit : Hi,Great stuff here!A minor point: please add quotes to the copy path in post-build

Re: [gdal-dev] Release of a GDAL 2.0.x and 2.1.x Visual Studio 2010 Solution (static and dynamic lib)

2016-08-06 Thread Jan Heckman
Hi Mateusz, Thanks for your effort! It is really handy for me. FYI, a few more things I came across: - In the dll post build event there are 3 copy commands (dll, lib and exp). The second and third command need a space before 'copy'. - Enclosing source and destination file macros in quotes helps.

Re: [gdal-dev] Release of a GDAL 2.0.x and 2.1.x Visual Studio 2010 Solution (static and dynamic lib)

2016-08-05 Thread Jan Heckman
Hi, Great stuff here! A minor point: please add quotes to the copy path in post-build event. Often people (like me) will have spaces in the project path, e.g. C:\Users\jan\Documents\Visual Studio 2015\Projects\GDAL_2.1.x_VC-master\libgdal-2.1.1. copy

Re: [gdal-dev] Release of a GDAL 2.0.x and 2.1.x Visual Studio 2010 Solution (static and dynamic lib)

2016-08-05 Thread Jeff McKenna
On 2016-08-04 6:44 PM, Mateusz Loskot wrote: Can we make sure to document these steps, so they are not lost in emails? Somewhere on the BuildHints wiki would be great. Possibly here? https://trac.osgeo.org/gdal/wiki/BuildingOnWindows

Re: [gdal-dev] Release of a GDAL 2.0.x and 2.1.x Visual Studio 2010 Solution (static and dynamic lib)

2016-08-04 Thread Mateusz Loskot
On 4 August 2016 at 17:52, Jeff McKenna wrote: > On 2016-08-04 11:07 AM, Mateusz Loskot wrote: >> >> 1. makegdal_gen 10.00 32 > makegdal10.vcproj >> 2. Launch VS2015 >> 3. File > Open > Project/Solution... >> 4. Select makegdal10.vcproj >> 5. Accept to upgrade >> >

Re: [gdal-dev] Release of a GDAL 2.0.x and 2.1.x Visual Studio 2010 Solution (static and dynamic lib)

2016-08-04 Thread Jeff McKenna
On 2016-08-04 11:07 AM, Mateusz Loskot wrote: 1. makegdal_gen 10.00 32 > makegdal10.vcproj 2. Launch VS2015 3. File > Open > Project/Solution... 4. Select makegdal10.vcproj 5. Accept to upgrade Can we make sure to document these steps, so they are not lost in emails? Somewhere on the

Re: [gdal-dev] Release of a GDAL 2.0.x and 2.1.x Visual Studio 2010 Solution (static and dynamic lib)

2016-08-04 Thread M. LATTES
Thanks Mateusz, my mistake.I've just tried again the "makegdal_gen.bat" and you're right.I miss this when I tested it. My repositories may still be usefull for those who wants to build gdal as a static library, unless it's possible too to generate a static lib with "makegdal_gen.bat" Best

Re: [gdal-dev] Release of a GDAL 2.0.x and 2.1.x Visual Studio 2010 Solution (static and dynamic lib)

2016-08-04 Thread Mateusz Loskot
On 4 August 2016 at 15:41, Ivan Lucena wrote: > Hi Mateusz, > > I far as I know the project generated by makegdal_gen.bat does not work with > newer version of VS. > > It used to be the case that we can import the project to newer version of VS > but I think that MS

Re: [gdal-dev] Release of a GDAL 2.0.x and 2.1.x Visual Studio 2010 Solution (static and dynamic lib)

2016-08-04 Thread Ivan Lucena
Hi Mateusz, I far as I know the project generated by makegdal_gen.bat does not work with newer version of VS. It used to be the case that we can import the project to newer version of VS but I think that MS dropped the support for that feature. Have one of you manage to load the generated

Re: [gdal-dev] Release of a GDAL 2.0.x and 2.1.x Visual Studio 2010 Solution (static and dynamic lib)

2016-08-04 Thread Mateusz Loskot
On 4 August 2016 at 14:00, M. LATTES wrote: > Hi Mateusz, > > yes I was aware, but it generate workspace with only the all "makefile.vc" > in the project properties (at least when I tested it). > I wanted to browse among the sources and headers files in the Visual Studio

Re: [gdal-dev] Release of a GDAL 2.0.x and 2.1.x Visual Studio 2010 Solution (static and dynamic lib)

2016-08-04 Thread M. LATTES
Hi Mateusz, yes I was aware, but it generate workspace with only the all "makefile.vc" in the project properties (at least when I tested it).I wanted to browse among the sources and headers files in the Visual Studio "Solution Explorer" or in the "Class View" (when debugging for example).I

Re: [gdal-dev] Release of a GDAL 2.0.x and 2.1.x Visual Studio 2010 Solution (static and dynamic lib)

2016-08-04 Thread Mateusz Loskot
On 4 August 2016 at 12:02, M. LATTES wrote: > Hi Everybody, > > for some Visual Studio 2010 projects I've made a few time ago, I needed to > update the GDAL lib that I was using into those projects to the GDAL version > 2. > I could make it with the GDAL Visual Studio

[gdal-dev] Release of a GDAL 2.0.x and 2.1.x Visual Studio 2010 Solution (static and dynamic lib)

2016-08-04 Thread M. LATTES
Hi Everybody, for some Visual Studio 2010 projects I've made a few time ago, I needed to update the GDAL lib that I was using into those projects to the GDAL version 2.I could make it with the GDAL Visual Studio Makefile projects as described in the wiki, but I like to have the "full project"