Glad to hear you are trying OpenSurgSim. I am not quite sure what is
causing the compile error you are having. What version of gcc are you
using that it failed on? I noticed that the default gcc in Ubuntu 12.04
is 4.6, is this version you tried and failed?
In any case, we currently don't support Ubuntu 12.04 since many of the
packages we depend on are too old (Boost and OpenSceneGraph in
particular). Did you compile these from source?
BTW, what errors are you getting with building the examples?