# Missing include files

**URL:** <https://mapwindow.discourse.group/t/missing-include-files/732>\
**Category:** MapWinGIS\
**Created:** [October 6, 2020, 5:31pm UTC](https://mapwindow.discourse.group/t/missing-include-files/732 "2020-10-06T17:31:40Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![kmeyer](https://avatars.discourse-cdn.com/v4/letter/k/8e8cbc/32.png) [@kmeyer](https://mapwindow.discourse.group/u/kmeyer)\
**Post date:** [October 6, 2020, 5:31pm UTC](https://mapwindow.discourse.group/t/missing-include-files/732/1 "2020-10-06T17:31:41Z")

</div>

Hi,  
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?

Thanks.

---

<div class="post-metadata">

**Author:** ![jerryfaust](https://yyz2.discourse-cdn.com/free1/user_avatar/mapwindow.discourse.group/jerryfaust/32/378_2.png) [@jerryfaust](https://mapwindow.discourse.group/u/jerryfaust)\
**Post date:** [October 6, 2020, 5:59pm UTC](https://mapwindow.discourse.group/t/missing-include-files/732/2 "2020-10-06T17:59:29Z")

</div>

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,  
Jerry.

---

<div class="post-metadata">

**Author:** ![kmeyer](https://avatars.discourse-cdn.com/v4/letter/k/8e8cbc/32.png) [@kmeyer](https://mapwindow.discourse.group/u/kmeyer)\
**Post date:** [October 6, 2020, 6:01pm UTC](https://mapwindow.discourse.group/t/missing-include-files/732/3 "2020-10-06T18:01:40Z")

</div>

I used this link  
[https://github.com/MapWindow/MapWinGIS/archive/v5.2.4.zip](https://github.com/MapWindow/MapWinGIS/archive/v5.2.4.zip)

from this page: [https://github.com/MapWindow/MapWinGIS/releases](https://github.com/MapWindow/MapWinGIS/releases)

---

<div class="post-metadata">

**Author:** ![jerryfaust](https://yyz2.discourse-cdn.com/free1/user_avatar/mapwindow.discourse.group/jerryfaust/32/378_2.png) [@jerryfaust](https://mapwindow.discourse.group/u/jerryfaust)\
**Post date:** [October 6, 2020, 6:20pm UTC](https://mapwindow.discourse.group/t/missing-include-files/732/4 "2020-10-06T18:20:54Z")

</div>

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](https://www.gisinternals.com/release.php).

I’ve been looking for Pauls tutorial on building MapWinGIS for VS2015. I can only find [his newer one, for VS2017](https://www.youtube.com/watch?v=x1J6xJno9kM). 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.

Jerry.

---

<div class="post-metadata">

**Author:** ![kmeyer](https://avatars.discourse-cdn.com/v4/letter/k/8e8cbc/32.png) [@kmeyer](https://mapwindow.discourse.group/u/kmeyer)\
**Post date:** [October 6, 2020, 6:22pm UTC](https://mapwindow.discourse.group/t/missing-include-files/732/5 "2020-10-06T18:22:35Z")

</div>

Alright, i’ll check it out. Thanks.

---

<div class="post-metadata">

**Author:** ![pmeems](https://yyz2.discourse-cdn.com/free1/user_avatar/mapwindow.discourse.group/pmeems/32/9_2.png) [@pmeems](https://mapwindow.discourse.group/u/pmeems)\
**Post date:** [January 5, 2022, 3:09pm UTC](https://mapwindow.discourse.group/t/missing-include-files/732/6 "2022-01-05T15:09:08Z")

</div>


