Problem With Make In A Linux Install

General discussion about Celestia that doesn't fit into other forums.
Topic author
Harpo
Posts: 1
Joined: 29.01.2007
With us: 17 years 9 months

Problem With Make In A Linux Install

Post #1by Harpo » 29.01.2007, 05:25

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
:?

Christophe
Developer
Posts: 944
Joined: 18.07.2002
With us: 22 years 4 months
Location: Lyon (France)

Post #2by Christophe » 29.01.2007, 20:50

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.
Christophe


Return to “Celestia Users”