Just for clarification of the last comment of mine:
The -Dlinux define is needed for successful building on linux.
The following code snippet shows the relevant section:
#ifndef EXPORT_FILEGDB_API
# if defined linux || defined __APPLE__
# define EXT_FILEGDB_API
# else
# define EXT_FILEGDB_API _declspec(dllimport)
# endif
#else
Search Criteria
Package Details: filegdb-api 1.5.1-5
Package Actions
Git Clone URL: | https://aur.archlinux.org/filegdb-api.git (read-only, click to copy) |
---|---|
Package Base: | filegdb-api |
Description: | ESRI File Geodatabase (FileGDB) API |
Upstream URL: | https://github.com/Esri/file-geodatabase-api |
Keywords: | GIS |
Licenses: | Apache |
Submitter: | okanisis |
Maintainer: | alireza6677 |
Last Packager: | alireza6677 |
Votes: | 3 |
Popularity: | 0.000068 |
First Submitted: | 2013-09-14 01:36 (UTC) |
Last Updated: | 2024-10-25 13:27 (UTC) |
Dependencies (2)
- gcc (gcc-gitAUR, gccrs-gitAUR, gcc11AUR, gcc-snapshotAUR) (make)
- libxml2 (libxml2-gitAUR, libxml2-2.9AUR) (make)
Required by (4)
- gdal-hdf4
- gdal-hdf4 (make)
- gdal-libkml-filegdb
- python-gdal-hdf4 (make)
Sources (1)
Latest Comments
« First ‹ Previous 1 2 3
marcelhuber commented on 2014-07-01 08:17 (UTC)
marcelhuber commented on 2014-03-18 10:01 (UTC)
I suggest adding the following line to the build section just after export LD_LIBRARY_PATH:
export CPPFLAGS=-Dlinux
Otherwise it did not compile on my box.
okanisis commented on 2013-09-14 16:58 (UTC)
I compiled this just to enable the FileGDB driver in gdal.
I think GDAL uses hardcoded paths in its source when looking for the libs and headers, so if those need to be put in other parts of the filesystem just let me know.
Libs and headers are in /usr/lib/filegdb-api/lib and /usr/lib/filegdb-api/include
Docs and licence are in /usr/share/doc/filegdb-api and /usr/share/license/filegdb-api
Pinned Comments
alireza6677 commented on 2023-09-24 08:51 (UTC)
Hi, I'm the new maintainer. I've updated the
PKGBUILD
and it should now work without any errors.