OSG is so unreliable at building and linking properly that I would very strongly recommend you to use the pre{{code|git clone -built versionb fgfs-342-1 https: download this folder, and copy the <tt>archive/install/msvc140-64github.com/OpenSceneGraph<zakalawe/tt> folder into the directory structure shown belowosg.git osg}}
[http://build.flightgear.org:8080/job/OSG-Win/lastSuccessfulBuild/artifact/*zip*/archive.zip prebuilt OSG for Windows x64]
If you wish to compile your own OSG, you can get FlightGear's fork with a few patches at