struggling to build KDev4
Marek Jasovsky
jasovsky.marek at gmail.com
Fri Aug 22 17:13:23 UTC 2008
Hi
was able to run cmake using LD... env var, but currently (all files
updated from svn) kdevplatfrom compilation fails as per following
error:
[ 0%] Building CXX object sublime/CMakeFiles/sublime.dir/container.o
/home/fretka/src/kdevplatform/sublime/container.cpp: In constructor
'Sublime::Container::Container(QWidget*)':
/home/fretka/src/kdevplatform/sublime/container.cpp:63: error:
'setCloseButtonEnabled' was not declared in this scope
make[2]: *** [sublime/CMakeFiles/sublime.dir/container.o] Error 1
make[1]: *** [sublime/CMakeFiles/sublime.dir/all] Error 2
make: *** [all] Error 2
any ideas how to solve this?
however with help of all people I got quite far (and 1000x more is
waiting for me :) )
thanks for help
Marek
PS anyway thanks for idea with parameters
2008/8/22, Manuel Breugelmans <mbr.nxi at gmail.com>:
> On Friday 22 August 2008 18:37:24 Marek Jasovsky wrote:
>> Hi
>>
>> I have successfully built kdelibs (trunk) into $HOME/kde4 but now I am
>> not sure, how to tell cmake (for kdevplatform) that it should use
>> kdelibs from $HOME/kde4 and not from original locations. how should I
>> do this?
>>
>
> I have a similar setup as yours, openSUSE KDE 4.1 installed system-wide and
> trunk kdelibs + kdev{elop,platform} in home.
>
> To compile kdevplatform:
>
> export KDEDIRS=$HOME/kde4/ && cmake .. -DCMAKE_INSTALL_PREFIX=$HOME/kde4/
>
> To compile kdevelop:
>
> export KDEDIRS=$HOME/kde4/ && \
> cmake .. -DCMAKE_INSTALL_PREFIX=$HOME/kde4/ \
> -DCMAKE_MODULE_PATH=$HOME/kde4/ \
> -DKDEVPLATFORM_INCLUDE_DIR=$HOME/kde4/include/kdevplatform \
> -DKDEVPLATFORM_LIBRARY_DIR=$HOME/kde4/lib/
>
> Some of those defines are probably redundant, you'd have to ask a cmake
> guru.
>
>
> Manuel
>
> _______________________________________________
> KDevelop-devel mailing list
> KDevelop-devel at kdevelop.org
> https://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-devel
>
More information about the KDevelop-devel
mailing list