Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

edit revisions #1

Merged
merged 2 commits into from
Nov 8, 2015
Merged

edit revisions #1

merged 2 commits into from
Nov 8, 2015

Conversation

rsbivand
Copy link
Member

@rsbivand rsbivand commented Nov 8, 2015

Added some clarification, some links

edzer added a commit that referenced this pull request Nov 8, 2015
@edzer edzer merged commit 855d566 into r-spatial:master Nov 8, 2015
edzer pushed a commit that referenced this pull request Dec 17, 2015
edzer pushed a commit that referenced this pull request Sep 26, 2018
checks and cleanup for ExecuteSQL
djhshih added a commit to djhshih/sf that referenced this pull request Aug 8, 2024
R
> devtools::install()

Compilation error encountered with gcc 4.2:

```
In file included from gdal.cpp:1:
./gdal.h:3:1: error: ‘OGRSpatialReference’ does not name a type; did you mean ‘DEFINED_OGRSpatialReferenc
eH’?
    3 | OGRSpatialReference *handle_axis_order(OGRSpatialReference *sr);
      | ^~~~~~~~~~~~~~~~~~~
      | DEFINED_OGRSpatialReferenceH
./gdal.h:4:1: error: ‘Rcpp’ does not name a type
    4 | Rcpp::List create_crs(const OGRSpatialReference *ref, bool set_input);
      | ^~~~
```

This commit forward declares `OGRSpatialReference` to fix the first
error above, and it includes `Rcpp.h` explicitly to fix the second
error.

```
$ R --version
R version 4.4.1 (2024-06-14) -- "Race for Your Life"

$ gcc --version
gcc (GCC) 14.2.1 20240802

$ uname -a
Linux durus 6.10.3-arch1-1 r-spatial#1 SMP PREEMPT_DYNAMIC Sun, 04 Aug 2024 05:11:32 +0000 x86_64 GNU/Linux
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants