Page 1 of 1

Problem With Make In A Linux Install

Posted: 29.01.2007, 05:25
by Harpo
Hello

I had Celestia 1.4.1 installed on my Suse 10.0 computer. I have upgraded to 10.2 and so had to reinstall Celestia. I had a good configure done, but on the make I get errors and it will go no further. The errors are:
Class Orbit has virtual functions but non-virtual destructor
Class Elliptical Orbit has virtual functions but non-virtual destructor
Class Orbit Sample Proc has virtual functions but non-virtual destructor
Class Caching Orbit has virtual functions but non-virtual destructor

I am using KDE 3.5.6 with Suse 10.2. ATI X800 video card that does not have 3D capabilities yet (need new ATI driver upgrade for Xorg 7.2). P4 3.0 GHZ Prescott with 2GB of RAM.

Does anyone have any idea as to how I can correct these errors?

Thanks
Harpo
:?

Posted: 29.01.2007, 20:50
by Christophe
This is fixed in CVS.

You can add a virtual destructor to each of these classes. See the current src/celengine/orbit.h, the destructors are declared like this:

Code: Select all

virtual ~ClassName() {}

in the public section of each class declaration.