no daylight variable on my OS

General discussion about Celestia that doesn't fit into other forums.
Topic author
Anonymous Howard

no daylight variable on my OS

Post #1by Anonymous Howard » 16.01.2004, 05:32

I have successfully built Celestia from Linux source on Darwin. I'm using X11 and gtk for graphics, rather than Aqua.

In order to get it to build, I had to comment out a few lines in src/celestia/gtkmain.cpp that referenced daylight and/or timezone. Lines like the following:

Code: Select all

        appCore->setTimeZoneBias(-timezone + 3600 * daylight);
        appCore->setTimeZoneName(tzname[daylight]);


My question is, What do I lose by commenting these few lines out? Celestia appears to work properly, although I have nothing to compare it to. Is there an easy macro to #define daylight and timezone?

p.s.- FYI, I also had to hack configure, which couldn't find GL/gl.h, GL/glu.h and GL/glut.h as others have reported. Also, I'm confused as to why there are two releases of 1.3.1.

Return to “Celestia Users”