The first thing I want to say is that OSG is a binary installation package: Http://openscenegraph.alphapixel.com/osg/downloads/free-openscenegraph-binary-downloads ( It is not called a binary installation package, which is pre-compiled by someone else.
I think that if you simply use the OSG, you can take the above version directly.
However, many people still decide to build their own, the reason is unknown, the main reference tutorial is this version: Http://bbs.osgchina.org/forum.php?mod=viewthread&tid=9223&extra=page %3d1. I have compiled this tutorial as well.
The author of the tutorial all uses x86 compile, and I use all is the x64 compiles.
My Computer system is win7 64 bits, compiled by Osg3.2.1,cmake is 3.1.3. Note that there are several aspects of the point:
1. CMake generated project OpenSceneGraph contains OSGQT, if you want to build successfully, you need to install QT beforehand, I installed 64-bit qt4.8.5.
2. During the compilation, you will be prompted to "Freeglut.lib not found", so you need to configure Freeglut in advance. (third-party library 3rdParty has the corresponding glut file, I do not use on, the other configured Freeglut).
3. My own configuration has been successful, has been shared to Baidu network disk: Http://pan.baidu.com/s/1ntDrkZv
Did not say, began to learn OSG.
Win7 64-bit systems use VS2010 to compile OSG3.2.1