[osg-users] Segfault in VTP, but looks like OSG: SOLVED
rheinert at ingenius-software.de
Sat Sep 13 01:40:34 PDT 2008
I got exactly the same error when trying to start VTP
(vterrain.org) on my linux 64 bit (opensuse 11).
It compiled but Enviro crashed whenever an osg-function
was called from within VTP.
And I solved it now:
The reason is (as expected) a discrepency between what
OSG does by default and what VTP expects concerning
OSG-default is double (which can be changed via the
OSG_USE_FLOAT_MATRIX value in CMakeCache.txt - by default it is off)
VTP expects FLOAT (and you should not change it there).
So just do the following
cmake . -DCMAKE_BUILD_TYPE=Release
vi CMakeCache.txt --> change OSG_USE_FLOAT_MATRIX from off to on
and then compile the VTP-package. And it works great!
Thanks for the splendid software (OSG and VTP)!!!
More information about the osg-users