Hi Ivan,
I gave the script a good run-through today with Visual Studio 2015. It
works great! Very nice to use the features of the IDE, I really like
how it runs off of the setting in nmake.opt Here are some comments:
- When you run the script, the examples that it displays are missing
the second switch (platform).
- In the IDE after you've loaded "makefileproj_vs14.vcxproj", in the
"Solution Explorer" panel there is text of "Visual Studio 2013" for some
reason
- (just for the record) I had to of course configure my "VC++
Directories" settings of the project first, to find SDK lib locations
- I updated the wiki with these notes:
https://trac.osgeo.org/gdal/wiki/BuildingOnWindows#GeneratingVisualStudioProject
Great work!
-jeff
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).
Add comments, if you like, to: https://trac.osgeo.org/gdal/ticket/6635
Regards,
Ivan
------------------------------------------------------------------------
*From:* Ivan Lucena <[email protected]>
*Sent:* Monday, August 15, 2016 3:37 PM
*To:* Mateusz Loskot; Jeff McKenna
*Cc:* [email protected]
*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,
so it's basically useless.
In previous VS versions once the .vsproj file was loaded and upgraded
you could press F7 and "nmake -f makefile.vc" would start running inside
the IDE.
That means you would have all the advantages of the IDE (debuggin/cross
reference/refactoring/etc.) but still using the settings of nmake.local
and running makefiles.
I am using VS 2013. Is that the same for you on VS 2015?
Thanks,
Ivan
------------------------------------------------------------------------
*From:* gdal-dev <[email protected]> on behalf of Mateusz
Loskot <[email protected]>
*Sent:* Thursday, August 4, 2016 5:44 PM
*To:* Jeff McKenna
*Cc:* [email protected]
*Subject:* Re: [gdal-dev] Release of a GDAL 2.0.x and 2.1.x Visual
Studio 2010 Solution (static and dynamic lib)
On 4 August 2016 at 17:52, Jeff McKenna <[email protected]>
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
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
BuildingOnWindows – GDAL
<https://trac.osgeo.org/gdal/wiki/BuildingOnWindows>
trac.osgeo.org
GDAL can be built on Win32 platforms using MS VC++ 6.x and MS Visual
Studio .NET (C++). The source distribution includes NMAKE compatible
makefiles for use from the ...
https://trac.osgeo.org/gdal/wiki/BuildingOnWindows#GeneratingVisualStudioproject
Best regards,
--
Mateusz Loskot, http://mateusz.loskot.net
_______________________________________________
gdal-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/gdal-dev
--
Jeff McKenna
MapServer Consulting and Training Services
http://www.gatewaygeomatics.com/
_______________________________________________
gdal-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/gdal-dev