[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    error compiling kdelibs/kstyle/oxygen
From:       Jason Harris <kstars () 30doradus ! org>
Date:       2007-06-21 0:00:59
Message-ID: 200706201700.59453.kstars () 30doradus ! org
[Download RAW message or body]

Hello,

(I tried posting this at k-c-d, but it never appeared)

I am getting the following errors when compiling latest kdelibs:

Building CXX object kstyles/oxygen/CMakeFiles/kstyle-oxygen.dir/oxygen.o
In file included 
from /home/kstars/kde4svn/kdelibs/kstyles/oxygen/animation.cpp:21,
                 
from /home/kstars/kde4svn/kdelibs/kstyles/oxygen/oxygen.cpp:223:
/home/kstars/kde4svn/kdelibs/kstyles/oxygen/oxrender.h:52: error: 
`XLinearGradient' has not been declared
/home/kstars/kde4svn/kdelibs/kstyles/oxygen/oxrender.h:52: error: ISO C++ 
forbids declaration of `lg' with no type
/home/kstars/kde4svn/kdelibs/kstyles/oxygen/oxrender.h:53: error: 
`XLinearGradient' has not been declared
/home/kstars/kde4svn/kdelibs/kstyles/oxygen/oxrender.h:53: error: ISO C++ 
forbids declaration of `lg' with no type
In file included 
from /home/kstars/kde4svn/kdelibs/kstyles/oxygen/oxygen.cpp:429:
/home/kstars/kde4svn/kdelibs/kstyles/oxygen/genpixmaps.cpp: In member function 
`void Oxygen::OxygenStyle::generatePixmaps()':
/home/kstars/kde4svn/kdelibs/kstyles/oxygen/genpixmaps.cpp:93: warning: unused 
variable 'add'
/home/kstars/kde4svn/kdelibs/kstyles/oxygen/oxygen.cpp: In member function 
`virtual bool Oxygen::OxygenStyle::eventFilter(QObject*, QEvent*)':
/home/kstars/kde4svn/kdelibs/kstyles/oxygen/oxygen.cpp:976: warning: unused 
variable 'menu'
make[2]: *** [kstyles/oxygen/CMakeFiles/kstyle-oxygen.dir/oxygen.o] Error 1
make[1]: *** [kstyles/oxygen/CMakeFiles/kstyle-oxygen.dir/all] Error 2
make: *** [all] Error 2

oxrender.h includes the following X11-related headers, none of which make any 
mention of XLinearGradient on my system:

#include <X11/Xlib.h>
#include <X11/extensions/Xrender.h>
#include <fixx11h.h>

This is on my work machine, using xorg-x11-6.8.2-r6 on Gentoo.  There is no 
error on my home machine, using xorg-x11-7.2 on Gentoo.  Is there perhaps a 
missing cmake check against the version of X11 here?    

Jason

-- 
KStars: KDE Desktop Planetarium
kstars@30doradus.org
 
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic