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
Point.h does not use local include form #14
Comments
@kyngchaos I think it is only Point.h. All of the other headers in I'll fix Point.h, but can you demonstrate a scenario where the current layout fails? |
As mentioned in the bug report, when spatialindex is not installed in a location that is in the default search path for headers, it can't see <spatialindex/...>. Configuration of sources to use spatialindex places the header folder as "-I/some/prefix/include/spatialindex", and /some/prefix/include is not in the header search path. If spatialindex is in, say, /usr/local, it works because /usr/local/include is in the compiler's default search path. |
ok, I think I understand, and I think my patch here fixes that for the public headers. When compiling libspatialindex itself, it clobbers the |
Closing this for now. Point.h uses the local form now and has for quite a while. Please open again if there's any more of these kinds of issues. |
All headers in spatialindex use the local include form:
Point.h uses:
When spatialindex is not installed in a standard location like /usr/local, this causes an error because the parent folder is not specified as a header folder.
The text was updated successfully, but these errors were encountered: