gwaldron / osgearth

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

How can I know the osgEarth version if I installed it by vcpkg? #2454

Closed shaozhihua closed 6 months ago

shaozhihua commented 6 months ago

We know,if we install the osg&osgEarth by vcpkg,it will be very convenient and high efficiency,but in this way, we will missing some .exe files. and we only got a lot of .lib and .dll files,so I can not know accurately what version of the osgEarth which I installed... That is my question. I hope some relevant person can help me answer questions, thank you very much!

gwaldron commented 6 months ago

The osgEarth tool are separate in vcpkg. You can install osgearth[tools] to get them. Otherwise you can check the header file osgEarth/Version in your vcpkg install folder. Hope this helps.

shaozhihua commented 6 months ago

@gwaldron thanks,I read the Version file,and I figure it out. version and I wonder how can I install the osgEarth tools except compile src... if you are free,I want to consult you.

gwaldron commented 6 months ago

vcpkg install osgearth[tools]:x64-windows should do it.

shaozhihua commented 6 months ago

tnanks sir,thank you so much!