[osg-submissions] VPB float/double bounding box
Mathias Fröhlich
M.Froehlich at science-computing.de
Tue Jul 8 01:37:52 PDT 2008
Hi,
On Tuesday 08 July 2008 08:47, christophe loustaunau wrote:
> I have compile OSG with OSG_USE_FLOAT_BOUNDINGBOX and
> OSG_USE_FLOAT_BOUNDINGSPHERE to OFF. Then, when I try to
> compile VPB, it hangs on :
Hmm, if I unserstood right, you told cmake to configure the osg build to use
doubles for the bounding spheres (OSG_USE_FLOAT_BOUNDINGSPHERE to OFF).
True?
Then you added OSG_USE_FLOAT_BOUNDINGSPHERE to your C*FLAGS or VPB.
True?
If so, this is not supposed to work. This will compile the doubles version
into the dll and lets the float version appear in the headers when you
compile the application using osg.
Decide at cmake configuration time which version to need. Then just use osg in
vpb. You should not need to care for any additional defines in any
application that uses osg.
Anyway, can you use an up to date version of osg and retest without any hand
set defines please?
Thanks
Mathias
--
Dr. Mathias Fröhlich, science + computing ag, Software Solutions
Hagellocher Weg 71-75, D-72070 Tuebingen, Germany
Phone: +49 7071 9457-268, Fax: +49 7071 9457-511
--
Vorstand/Board of Management:
Dr. Bernd Finkbeiner, Dr. Florian Geyer,
Dr. Roland Niemeier, Dr. Arno Steitz, Dr. Ingrid Zech
Vorsitzender des Aufsichtsrats/
Chairman of the Supervisory Board:
Prof. Dr. Hanns Ruder
Sitz/Registered Office: Tuebingen
Registergericht/Registration Court: Stuttgart
Registernummer/Commercial Register No.: HRB 382196
More information about the osg-submissions
mailing list