gwaldron / osgearth

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

fix: macOS build #2551

Closed remoe closed 2 months ago

remoe commented 3 months ago

MacOS build failed because of current CMake protobuf integration. And it had some minor compile issues.

remoe commented 2 months ago

Here is the error for current implementation of Presets in clang without the fix of current PR:

Default constructor of 'Presets' is implicitly deleted because field '_nodata' of const-qualified type 'const osgEarth::Config' would not be initialized

gwaldron commented 2 months ago

Remo, what version of cmake do you use?

gwaldron commented 2 months ago

Remo, I pushed my own version of these fixes. Let me know. Thanks!