[Kmymoney-devel] Help, I don't get it

Thomas Baumgart thb at net-bembel.de
Sun Mar 1 13:18:17 UTC 2015


Hi Jack,

I don't do insource builds. Having the build directory as a subdir of the 
source dir is still an out-of-source-build. So I do have

/home/thb/devel/kmymoney as the source dir and
/home/thb/devel/kmymoney/build as the build dir. That worked for ages. So it 
does not seem to be the issue.

I did notice some differences between cmake 2.8.11 and 2.8.12 in the past 
though.

The only thing that puzzles me is, that the only spot the file is referenced 
in the build system is a the binary (build) dir as a dependency:

thb at thb-nb:~/devel/kmymoney (master)$ find . -name CMakeLists.txt | xargs grep 
payeeidentifier_iban_bic_widgets_export.h
./kmymoney/payeeidentifier/ibanandbic/widgets/CMakeLists.txt:  
${CMAKE_CURRENT_BINARY_DIR}/payeeidentifier_iban_bic_widgets_export.h


For some reason the generate_export_header() macros in 
kmymoney/payeeidentifier/ibanandbic/widgets/CMakeLists.txt don't do what they 
are supposed to do.

Cheers

Thomas


On Saturday 28 February 2015 12:31:02 Jack wrote:

> My cmake is 2.8.12 (Gentoo).  In my case, the build directory is NOT
> under the source root - I have been "trained" over the years that
> in-source build directories can sometimes cause hard to track down
> problems, although I'm not sure if that is the issue here or not.
> 
> Jack
> 
> On 2015.02.28 11:48, Thomas Baumgart wrote:
> > Hi,
> > 
> > well, since my build directory is a subdir to the source directory,
> > find
> > should have found it, but it is not there.
> > 
> > Where is the code that generates it? It must be somewhere in the
> > CMakeLists.txt files, right? Which one? BTW, I am on cmake 2.8.11.2,
> > the one
> > provided with my distro, just in case you use a feature only provided
> > by a
> > newer version.
> > 
> > Cheers
> > 
> > Thomas
> > 
> > On Friday 27 February 2015 21:57:54 Cristian OneČ› wrote:
> > > It should be in the build directory since it's generated by the
> > 
> > build
> > 
> > > system.
> > > 
> > > Regards,
> > > Cristian
> > > 
> > > 2015-02-27 21:21 GMT+02:00 Thomas Baumgart <thb at net-bembel.de>:
> > > > Hi all,
> > > > 
> > > > I just synced with git master and compiled as usual, when I hit
> > 
> > the
> > 
> > > > problem, that a header file was missing. It is referenced in two
> > > > locations, but I can't seem to find it in my sandbox.
> > > > 
> > > > thb at thb-nb:~/devel/kmymoney (master)$ git grep
> > > > payeeidentifier_iban_bic_delegates_export.h
> > 
> > kmymoney/payeeidentifier/ibanandbic/widgets/ibanbicitemdelegate.h:#include
> > 
> > > > "payeeidentifier_iban_bic_delegates_export.h"
> > 
> > kmymoney/payeeidentifier/ibanandbic/widgets/ibanbicitemedit.h:#include
> > 
> > > > "payeeidentifier_iban_bic_delegates_export.h"
> > > > 
> > > > 
> > > > but
> > > > 
> > > > 
> > > > thb at thb-nb:~/devel/kmymoney (master)$ find . -name
> > > > payeeidentifier_iban_bic_delegates_export.h
> > > > 
> > > > does not return a single file. Hence I get:
> > > > 
> > > > [100%] Building CXX object
> > 
> > kmymoney/payeeidentifier/ibanandbic/widgets/CMakeFiles/payeeidentifier_iba
> > 
> > > > n_bic_delegates.dir/ibanbicitemdelegate.cpp.o In file included
> > 
> > from
> > 
> > /home/thb/devel/kmymoney/kmymoney/payeeidentifier/ibanandbic/widgets/ibanb
> > 
> > > > icitemdelegate.cpp:19:0:
> > /home/thb/devel/kmymoney/kmymoney/payeeidentifier/ibanandbic/widgets/iban
> > 
> > > > bicitemdelegate.h:26:55: fatal error:
> > > > payeeidentifier_iban_bic_delegates_export.h: No such file or
> > 
> > directory
> > 
> > > >  #include "payeeidentifier_iban_bic_delegates_export.h"
> > > >  
> > > >                                                        ^
> > > > 
> > > > compilation terminated.
> > > > make[2]: ***
> > 
> > [kmymoney/payeeidentifier/ibanandbic/widgets/CMakeFiles/payeeidentifier_ib
> > 
> > > > an_bic_delegates.dir/ibanbicitemdelegate.cpp.o] Error 1
> > > > make[1]: ***
> > 
> > [kmymoney/payeeidentifier/ibanandbic/widgets/CMakeFiles/payeeidentifier_ib
> > 
> > > > an_bic_delegates.dir/all] Error 2
> > > > make: *** [all] Error 2
> > > > 
> > > > 
> > > > 
> > > > What am I missing? The CI build is OK (maybe it is not compiling
> > 
> > this part
> > 
> > > > of the project). Christian?
> > > > 
> > > > 
> > > > 
> > > > 
> > > > --
> > > > 
> > > > Regards
> > > > 
> > > > Thomas Baumgart
> > > > 
> > > > GPG-FP: E55E D592 F45F 116B 8429   4F99 9C59 DB40 B75D D3BA
> > > > -------------------------------------------------------------
> > > > As soon as there is an optimist who discovers a light that does
> > 
> > not exist
> > 
> > > > there is a pessimist who blows it out. (Giovanni Guareschi)
> > > > -------------------------------------------------------------
> > > > 
> > > > _______________________________________________
> > > > 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
> > 
> > --
> > 
> > Regards
> > 
> > Thomas Baumgart
> > 
> > GPG-FP: E55E D592 F45F 116B 8429   4F99 9C59 DB40 B75D D3BA
> > -------------------------------------------------------------
> > Having trouble with Windows? Reboot!
> > Having trouble with Linux? Be root!
> > -------------------------------------------------------------
> 
> ------quoted attachment------
> 
> > _______________________________________________
> > 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
-- 

Regards

Thomas Baumgart

GPG-FP: E55E D592 F45F 116B 8429   4F99 9C59 DB40 B75D D3BA
-------------------------------------------------------------
Why do programmers wear glasses?
Cause they don't C#.
-------------------------------------------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 225 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kmymoney-devel/attachments/20150301/170beee0/attachment.sig>


More information about the KMyMoney-devel mailing list