setTimeZoneBias
Posted: 18.01.2004, 18:26
Sorry to repost this message here, but I got no replies in the Users forum.
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. This is because my OS has no daylight or timezone variables. Lines like the following:
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.
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.
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. This is because my OS has no daylight or timezone variables. 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.
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.