Missing include files

I’m trying to build the Visual Studio 2015 solution, and it appears to be missing the following header files:

#include “gdal_priv.h”
#include “geos_c.h”
#include “ogr_geometry.h”
#include “ogr_spatialref.h”

I’m guessing that I need to build separate libraries that aren’t included in the zip file.
Is that the case?
If so, what are they?


Hello @kmeyer, and welcome.

Those files should all be included in the zip files downloaded from GISInternals. If I may I ask:

  1. Which branch/version of MapWinGIS are you trying to build?
  2. Which zip files have you downloaded from the GISInternals site?

Thank you,

I used this link

from this page: https://github.com/MapWindow/MapWinGIS/releases

Hello again.

That file includes the source code for MapWinGIS, but not all of the necessary libs, includes, and binaries for GDAL. The GDAL files are downloaded from GISInternals.

I’ve been looking for Pauls tutorial on building MapWinGIS for VS2015. I can only find his newer one, for VS2017. The differences only affect which files you download from GISInternals (release 1900 for VS2015) and where you put the files (support\GDAL_SDK\v140 for VS2015). Otherwise, the video should still be helpful.

And make sure to build the support\SupportLibs solution before building MapWinGIS (this should be covered in the video).

Let me know if that helps or not.


Alright, i’ll check it out. Thanks.