gwaldron / osgearth

3D Maps for OpenSceneGraph / C++14
https://www.pelicanmapping.com/home-1/opensource
Other
1.48k stars 774 forks source link

Capabilities: Remove unused Version include that does not compile #2614

Closed emminizer closed 3 weeks ago

emminizer commented 3 weeks ago

This was introduced in a recent refactor. Not sure how Windows is working here, as the "Version" file is in the build directory at build_dir/build_include/osgEarth/Version

Another fix is to update this back to "osgEarth/Version". I suspect that removing this works simply because one of the other headers already includes it, but removing the header was a clean fix that compiled cleanly for me too.

Without a change here, Linux builds are continuing to fail. Again, unsure how Windows is apparently working.

gwaldron commented 3 weeks ago

Thanks Dan. Yes. Local environment hid this problem.