[Kmymoney-devel] new compile problem
Jack
ostroffjh at users.sourceforge.net
Wed Jul 7 02:09:31 CEST 2010
Hello Alvaro,
Yes - most of the time it seems I can get away with "svn up" and then
"make" in the build directory. In this case, I thought I did clear out
the build directory, but I suppose the evidence says I didn't. I know
I often forget the make uninstall - I wonder how many orphan files I
have left.
I'll use your script - it certainly saves steps, although I don't think
I need the testing, and I'll drop -j5 to -j3 (dual core only).
One question - why do the make install before make test?
Final question (for now) - I need to make the docs also, since that's
what I'm working on. Will I mess up anything else if I just add
"add_subdirectory( doc )" to CMakeLists.txt and copy the doc directory
into place? (I've also asked Thomas about altering the createtarball
script to be able to skip the translations, so I do have a possible
alternative.)
Jack
On 2010.07.06 19:26, Alvaro Soliverez wrote:
> Hello Jack,
> as with previous moves, you have to build from scratch, because it's
> looking for classes which are not there anymore.
>
> I use this line to compile from scratch, it uninstall, then rm * in
> the build directory and starts compiling from zero.
>
> You have to run it from a build folder, not from the source root.
>
> sudo make uninstall && sudo rm -Rf * && cmake ..
> -DCMAKE_INSTALL_PREFIX=/usr -DKDE4_BUILD_TESTS=on
> -DCMAKE_BUILD_TYPE=DebugFull && make -j5 && make -j5 && sudo make
> install && make test
>
> Regards,
> Alvaro
>
> On Tue, Jul 6, 2010 at 8:20 PM, Jack <ostroffjh at sbcglobal.net> wrote:
> > svn at revision 1146893. clean build.
> >
> > [ 73%] Building CXX object
> > kmymoney/views/CMakeFiles/views.dir/kmymoneyview.cpp.o
> > In file included from
> > /home/jack/KMM/KDE4/kmymoney/kmymoney/views/kmymoneyview.cpp:73:
> >
> /home/jack/KMM/KDE4/kmymoney/kmymoney/dialogs/kendingbalancedlg.h:40:38:
> > error: ui_kendingbalancedlgdecl.h: No such file or directory
> >
> > There are some other errors, but I think they likely follow from
> this
> > one.
> >
> > Jack
> > _______________________________________________
> > KMyMoney-devel mailing list
> > KMyMoney-devel at kde.org
> > https://mail.kde.org/mailman/listinfo/kmymoney-devel
> >
> _______________________________________________
> KMyMoney-devel mailing list
> KMyMoney-devel at kde.org
> https://mail.kde.org/mailman/listinfo/kmymoney-devel
>
More information about the KMyMoney-devel
mailing list