[osg-users] Up to date tutorials for linux

Robert Osfield robert.osfield at gmail.com
Thu Mar 2 00:30:33 PST 2017


Hi Rodrigo,

On 1 March 2017 at 21:57, Rodrigo Dias <rodrigo1406 at gmail.com> wrote:
> Without clear instructions for Linux starters, I first downloaded the OpenSceneGraph-3.4.0.zip. Then I unzipped it and tried to compile using make/cmake. No success. Then I tried sudo apt-get install libopenscenegraph-dev openscenegraph. Not sure if the first is in conflict with the second, or where to find the proper libraries, includes, etc.

Building under linux/unix is explained in the OpenSceneGraph/READEME

It's as simple as:

  cd OpenSceneGraph
  cmake .
  make -j 8
  sudo make install

You may wish to pull in some 3rd party dependencies if there are
specific.  There are a list is packages that you can pull in via
apt-get on the openscenegraph documentation section.

If there is an error you are seeing please tell us.

> If you do a FREE, OPEN SOURCE project, I think you should have more Tutorials other than Windows and Mac OS. I will post some broken links as long as I'm allowed.

The OSG is fundamentally cross platform, it's only the Windowing setup
and build that may vary across platforms.  Linux is most straight
forward of all platforms to build upon, most of what you need to know
is written above, yes, it's really that simple, the rest of the OSG
stuff will be cross platform so examples and tutorials will also be
applicable for all platforms..

Robert



More information about the osg-users mailing list