[Kstars-devel] kdeedu/kstars/kstars

Jason Harris kstars at 30doradus.org
Fri Feb 18 21:40:41 CET 2005


Hello,

TIMEZONE_IS_INT was recently added to kdeedu/configure.in.in, so make sure you 
update that file and run "make -f Makefile.cvs" and "./configure" again.

Jason

On Friday 18 February 2005 02:19 pm, Gaetano Vocca wrote:
> Hello Jasem,
> I have just updated my cvs sources to perform some first testing but I get,
> when compiling, an error.
> Here is an excerpt of the compilation
>
> ...
> if g++ -DHAVE_CONFIG_H -I. -I. -I../../..   -DQT_THREAD_SUPPORT 
> -D_REENTRANT -Wnon-virtual-dtor -Wno-long-long -Wundef -ansi
> -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion
> -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -O2
> -Wformat-security
> -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common
> -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT
> -DQT_NO_TRANSLATION  -MT lx200generic.o -MD -MP -MF
> ".deps/lx200generic.Tpo" \
>   -c -o lx200generic.o `test -f 'lx200generic.cpp' || echo
> './'`lx200generic.cpp; \
> then mv -f ".deps/lx200generic.Tpo" ".deps/lx200generic.Po"; \
> else rm -f ".deps/lx200generic.Tpo"; exit 1; \
> fi
> lx200generic.cpp:43:7: warning: "TIMEZONE_IS_INT" is not defined
> lx200generic.cpp:44: error: `daylight' was declared `extern' and later
> `static'
> /usr/include/time.h:287: error: previous declaration of `daylight'
> lx200generic.cpp:54:5: warning: "TIMEZONE_IS_INT" is not defined
> make[3]: *** [lx200generic.o] Error 1
> ...
>
> What about this TIMEZONE_IS_INT variable?
> Maybe I need some specific version of some include somewhere, may you help
> me?
>
> Thank you
> Gaetano
>
> On Friday 18 February 2005 15:45, Jasem Mutlaq wrote:
> > CVS commit by mutlaqja:
> >
> > Use IUUpdateMinMax to fix min/max values of properties. The property edit
> > box no longer gets updated when the property is busy; Thanks Gaetano!
> >
> > Gaetano, you can go ahead and test the FLI CCD now.
> >
> > CCMAIL: kstars-devel at kde.org
> >
> >
> >   M +2 -2      indidevice.cpp   1.37
> >   M +1 -1      indi/fli_ccd.c   1.18
> >   M +7 -1      indi/lx200generic.cpp   1.50
> >   M +1 -0      indi/v4ldriver.cpp   1.15
> >   M +2 -1      indi/v4lphilips.cpp   1.14
> >
> >
> > --- kdeedu/kstars/kstars/indidevice.cpp  #1.36:1.37
> > @@ -292,9 +292,9 @@ int INDI_D::setTextValue (INDI_P *pp, XM
> >                 if (ap) { max = atof(valuXMLAtt(ap)); lp->setMax(max); }
> >
> > -               if (lp->spin_w)
> > +               /*if (lp->spin_w)
> >                 {
> >                  lp->spin_w->setValue(lp->value);
> >                  lp->spinChanged(lp->value);
> > -               }
> > +             }*/
> >
> >               }
> >
> > --- kdeedu/kstars/kstars/indi/fli_ccd.c  #1.17:1.18
> > @@ -829,5 +829,5 @@ int grabImage()
> >    }
> >
> > -  for (i=0; i < FLIImg->width ; i++)
> > +  for (i=0; i < FLIImg->height ; i++)
> >    {
> >      if ( (err = FLIGrabRow(fli_dev, &FLIImg->img[i * FLIImg->width],
> > FLIImg->width)))
> >
> > --- kdeedu/kstars/kstars/indi/lx200generic.cpp  #1.49:1.50
> > @@ -328,4 +328,5 @@ LX200Generic::LX200Generic()
> >     // Children call parent routines, this is the default
> >     IDLog("initilizaing from generic LX200 device...\n");
> > +   IDLog("INDI Version: 2004-02-17\n");
> >
> >     //enableSimulation(true);
> > @@ -751,5 +752,5 @@ void LX200Generic::ISNewSwitch (const ch
> >          //IDLog("SolarSw name is %s\n", SolarSw.name);
> >
> > -        IDLog("The device name is %s\n", dev);
> > +        //IDLog("The device name is %s\n", dev);
> >          // ignore if not ours //
> >          if (strcmp (thisDevice, dev))
> > @@ -1526,4 +1527,6 @@ int LX200Generic::handleCoordSet()
> >    double dx, dy;
> >
> > +  IDLog("In Handle Coord Set()\n");
> > +
> >    switch (currentSet)
> >    {
> > @@ -1534,4 +1537,5 @@ int LX200Generic::handleCoordSet()
> >            if (eqNum.s == IPS_BUSY)
> >            {
> > +             IDLog("Aboring Slew\n");
> >               abortSlew();
> >
> > @@ -1555,6 +1559,8 @@ int LX200Generic::handleCoordSet()
> >       // Track
> >       case LX200_TRACK:
> > +          IDLog("We're in LX200_TRACK\n");
> >            if (eqNum.s == IPS_BUSY)
> >            {
> > +             IDLog("Aboring Slew\n");
> >               abortSlew();
> >
> >
> > --- kdeedu/kstars/kstars/indi/v4ldriver.cpp  #1.14:1.15
> > @@ -565,4 +565,5 @@ void getBasicData()
> >    ImageSizeN[1].max = ymax;
> >
> > +  IUUpdateMinMax(&ImageSizeNP);
> >    IDSetNumber(&ImageSizeNP, NULL);
> >
> >
> > --- kdeedu/kstars/kstars/indi/v4lphilips.cpp  #1.13:1.14
> > @@ -966,4 +966,5 @@ void getBasicData()
> >
> >    IDSetNumber(&ImageSizeNP, NULL);
> > +  IUUpdateMinMax(&ImageSizeNP);
> >
> >    strncpy(camNameT[0].text, getDeviceName(), MAXINDILABEL);
> >
> >
> > _______________________________________________
> > Kstars-devel mailing list
> > Kstars-devel at kde.org
> > https://mail.kde.org/mailman/listinfo/kstars-devel

-- 
-------------------------------
KStars: KDE Desktop Planetarium
http://edu.kde.org/kstars


More information about the Kstars-devel mailing list