Hi,<div>I have the gdb support working on a windows box, compiled 1.9.1, some time ago.</div><div>From memory:</div><div>Remember filegdb support is a plugin. The dll needs to be in a specific gdalplugins directory.</div><div>
I guess that if the support is compiled correctly and the dll is not found, this would be mentioned in an error.</div><div>I had to edit nmake.opt; have to do that anyway for lots of support.</div><div>Lastly, when I built, there were 2 windows lib/dll's from esri (for filegdb), 1 for vs 2008, and 1 for vs 2010.</div>
<div>Only the first works, which compelled me to compile using VS 2008.</div><div>If you have another vs version installed, you need to run the correct vsvars.bat before starting (commandline) compilation.</div><div><br></div>
<div>FGDB_ENABLED = YES</div><div>FGDB_PLUGIN = YES</div><div>FGDB_SDK = "D:\win7users\jan\Documents\Visual_Studio_2012\Projects\FileGDB_API_VS2008_1_2"</div><div>FGDB_INC = $(FGDB_SDK)\include </div><div>FGDB_LIB = $(FGDB_SDK)\lib\FileGDBAPI.lib</div>
<div><br></div><div>Specific supportfiles - see if these are compiled - are in gdal-1.9.1\ogr\ogrsf_frmts\filegdb.</div><div>You should see ogr_FileGDB.dll and ogr_FileGDB.lib.</div><div>Let me know if this helps any.</div>
<div>Jan<br><div><br><div class="gmail_quote">On Fri, Mar 15, 2013 at 7:31 PM, Paul Norman <span dir="ltr"><<a href="mailto:penorman@mac.com" target="_blank">penorman@mac.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
> From: <a href="mailto:gdal-dev-bounces@lists.osgeo.org">gdal-dev-bounces@lists.osgeo.org</a> [mailto:<a href="mailto:gdal-dev-">gdal-dev-</a><br>
> To: <a href="mailto:gdal-dev@lists.osgeo.org">gdal-dev@lists.osgeo.org</a><br>
> Subject: [gdal-dev] Issues with FileGDB support<br>
<div class="im">><br>
> Hello<br>
><br>
> I have built gdal from source (1.9.2, latest stable) with Esri FileGDB<br>
> support included. This is specified during the configuration, --with-<br>
> fgdb=/usr/local/FileGDB_API/.<br>
><br>
> The configuration and build goes well and I can see that the fileGDB<br>
> libs get linked but when I check the format support with for example<br>
> 'ogrinfo --format' FileGDB doesn't show up. ldd shows that the binary is<br>
> linked to the fileGDB libs.<br>
><br>
> At this point I guess that the most likely explanation for this is an<br>
> error in the code, but I haven't checked it.<br>
><br>
> So, is FileGDB support working for you?<br>
<br>
</div>It's been awhile, but I successfully built gdal with FileGDB support.<br>
<br>
My notes indicate I used ./configure --with-fgdb=/home/pnorman/FileGDB_API<br>
and installed files from that location to /usr/local/lib/libFileGDBAPI.so<br>
and /usr/local/lib/libfgdbunixrtl.so, as well as<br>
/usr/share/doc/filegdb-api/.<br>
<br>
I believe I installed from svn, and ogrinfo --version reports GDAL 2.0dev,<br>
released 2011/12/29<br>
<div class="HOEnZb"><div class="h5"><br>
_______________________________________________<br>
gdal-dev mailing list<br>
<a href="mailto:gdal-dev@lists.osgeo.org">gdal-dev@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/gdal-dev" target="_blank">http://lists.osgeo.org/mailman/listinfo/gdal-dev</a><br>
</div></div></blockquote></div><br></div></div>