<div dir="ltr"><div dir="ltr">I'm trying to build GDAL master branch with the python wrappers and I'm getting an error on OSX with clang:<div><br></div><div>--------------------</div><div><br></div><div>creating build/temp.macosx-10.7-x86_64-3.6</div><div>creating build/temp.macosx-10.7-x86_64-3.6/extensions</div><div>gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Users/acbell/miniconda2/envs/pdal/include -I/Users/acbell/miniconda2/envs/pdal/include -Wno-error=unused-command-line-argument-hard-error-in-future -Wno-error=unused-command-line-argument-hard-error-in-future -I../../port -I../../gcore -I../../alg -I../../ogr/ -I../../ogr/ogrsf_frmts -I../../gnm -I../../apps -I/Users/acbell/miniconda2/envs/pdal/include/python3.6m -I/Users/acbell/miniconda2/envs/pdal/lib/python3.6/site-packages/numpy/core/include -I/Users/acbell/gdal/gdal/include -c extensions/gdal_wrap.cpp -o build/temp.macosx-10.7-x86_64-3.6/extensions/gdal_wrap.o -std=c++11 -I/Users/acbell/gdal/gdal/port -I/Users/acbell/gdal/gdal/gcore -I/Users/acbell/gdal/gdal/alg -I/Users/acbell/gdal/gdal/ogr -I/Users/acbell/gdal/gdal/ogr/ogrsf_frmts -I/Users/acbell/gdal/gdal/frmts/vrt -I/Users/acbell/gdal/gdal/apps</div><div><br></div><div>extensions/gdal_wrap.cpp:4087:1: error: unknown type name 'VSIDIR'</div><div>VSIDIR* wrapper_VSIOpenDir( const char * utf8_path,</div><div>^</div><div>extensions/gdal_wrap.cpp:4091:12: error: use of undeclared identifier</div><div>      'VSIOpenDir'</div><div>    return VSIOpenDir(utf8_path, nRecurseDepth, options);</div><div>           ^</div><div>extensions/gdal_wrap.cpp:4135:38: error: unknown type name 'VSIDIR'</div><div>DirEntry* wrapper_VSIGetNextDirEntry(VSIDIR* dir)</div><div>                                     ^</div><div>extensions/gdal_wrap.cpp:4137:11: error: unknown type name 'VSIDIREntry'</div><div>    const VSIDIREntry* vsiEntry = VSIGetNextDirEntry(dir);</div><div><br></div><div>...</div><div><br></div><div>-----------------------</div><div><br></div><div>It seems like a header file is missing in the swig configuration, but that seems like something that others would have run into.</div><div><br></div><div>Any ideas appreciated,</div><div><br></div><div>-- <br><div dir="ltr" class="gmail_signature">Andrew Bell<br><a href="mailto:andrew.bell.ia@gmail.com" target="_blank">andrew.bell.ia@gmail.com</a></div></div></div></div>