[Kstars-devel] undefined reference to `KStars::slotDownload()

Jason Harris kstars at 30doradus.org
Tue Jun 15 19:23:47 CEST 2004


On Tuesday 15 June 2004 01:55 am, Alessio Sangalli wrote:
> : undefined reference to `KStars::slotDownload()'
>
Ok, I fixed this problem.  I recently added some preprocessor "#ifdef" 
statements to skip sections of code that are incompatible with KDE 3.2.x.  I 
forgot to wrap the definition of KStars::slotDownload() in kstars.h in this 
ifdef.  

> I have kde 3.2.3, gcc 3.3.2, ld 2.14.90.0.7, linux 2.6.6 ... I was able 
> to compile cvs until three or four days ago :)
>
Are you sure?  The reason I added the #ifdefs is that parts of the code should 
not have compiled if you have kde 3.2.x.  Specifically, there is no KNewStuff 
class in 3.2.x, so you should not have been able to compile the "Get new 
stuff" code...

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


More information about the Kstars-devel mailing list