OpenSceneGraph 3.0: Beginner's Guide
上QQ阅读APP看书,第一时间看更新

Prebuilts making trouble?

There are several inconveniences when using prebuilt packages and installers. First, these prebuilts are often compiler-dependent, platform-dependent, and even architecture-dependent. For example, you can never run osgviewer.exe on a UNIX system if the executable was built under Windows XP and Visual Studio 2008. One more example: although a 32-bit OSG application is capable of running on 64-bit Windows servers, a 64-bit OSG application compiled specifically for 64-bit Windows will only run on 64-bit Windows. In these cases, you will have to wait until others who are using the same computing environment with you have their OSG package built and published.

Secondly, the prebuilts are seldom made from the latest version. Their creators may think of using a more stable distribution, or some specified ones instead, intending to meet their own development requirements. This is of course a pain for developers to be stalled from adopting new releases, especially those including exciting features and important bug fixes.

Last but not least, it is more customizable, flexible, and sometimes interesting to compile binaries and developer files from the source code, under different platforms and configurations. OSG is open sourced, so why not to think and act from open source perspective?