gwaldron / osgearth

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

no matching constructor generated during compiling from source #2515

Closed linlangongzi closed 4 months ago

linlangongzi commented 4 months ago

/Volumes/Development/Github/osgearth/build/build_include/osgEarth/Version:38:29: error: no matching constructor for initialization of 'Version' return lessThan(Version{ in_major, in_minor, in_patch }); ^ ~~~~~~~~ /Volumes/Development/Github/osgearth/build/build_include/osgEarth/Version:28:12: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 3 were provided struct Version ^ /Volumes/Development/Github/osgearth/build/build_include/osgEarth/Version:28:12: note: candidate constructor (the implicit move constructor) not viable: requires 1 argument, but 3 were provided /Volumes/Development/Github/osgearth/build/build_include/osgEarth/Version:28:12: note: candidate constructor (the implicit default constructor) not viable: requires 0 arguments, but 3 were provided /Volumes/Development/Github/osgearth/build/build_include/osgEarth/Version:46:38: error: no matching constructor for initialization of 'Version' return lessThanOrEqualTo(Version{ in_major, in_minor, in_patch }); ^ ~~~~~~~~ /Volumes/Development/Github/osgearth/build/build_include/osgEarth/Version:28:12: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 3 were provided struct Version ^ /Volumes/Development/Github/osgearth/build/build_include/osgEarth/Version:28:12: note: candidate constructor (the implicit move constructor) not viable: requires 1 argument, but 3 were provided /Volumes/Development/Github/osgearth/build/build_include/osgEarth/Version:28:12: note: candidate constructor (the implicit default constructor) not viable: requires 0 arguments, but 3 were provided /Volumes/Development/Github/osgearth/build/build_include/osgEarth/Version:54:32: error: no matching constructor for initialization of 'Version' return greaterThan(Version{ in_major, in_minor, in_patch }); ^ ~~~~~~~~ /Volumes/Development/Github/osgearth/build/build_include/osgEarth/Version:28:12: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 3 were provided struct Version ^ /Volumes/Development/Github/osgearth/build/build_include/osgEarth/Version:28:12: note: candidate constructor (the implicit move constructor) not viable: requires 1 argument, but 3 were provided /Volumes/Development/Github/osgearth/build/build_include/osgEarth/Version:28:12: note: candidate constructor (the implicit default constructor) not viable: requires 0 arguments, but 3 were provided /Volumes/Development/Github/osgearth/build/build_include/osgEarth/Version:62:41: error: no matching constructor for initialization of 'Version' return greaterThanOrEqualTo(Version{ in_major, in_minor, in_patch }); ^ ~~~~~~~~ /Volumes/Development/Github/osgearth/build/build_include/osgEarth/Version:28:12: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 3 were provided struct Version ^ /Volumes/Development/Github/osgearth/build/build_include/osgEarth/Version:28:12: note: candidate constructor (the implicit move constructor) not viable: requires 1 argument, but 3 were provided /Volumes/Development/Github/osgearth/build/build_include/osgEarth/Version:28:12: note: candidate constructor (the implicit default constructor) not viable: requires 0 arguments, but 3 were provided

no matching constructor generated

Desktop