r20169 - gnucash/trunk/src/plugins/bi_import - Open the newly created invoices for editing after import.

Christian Stimming stimming at tuhh.de
Thu Jan 27 03:45:11 EST 2011


Zitat von Mike Evans <mikee at code.gnucash.org>:

> Author: mikee
> Date: 2011-01-26 12:13:09 -0500 (Wed, 26 Jan 2011)
> New Revision: 20169
> Trac: http://svn.gnucash.org/trac/changeset/20169
>
> Modified:
>    gnucash/trunk/src/plugins/bi_import/Makefile.am
>    gnucash/trunk/src/plugins/bi_import/bi_import.c

Thanks for the new feature. However, there is a compiler issue here:  
When compiling with a different builddir, the include flags in  
Makefile.am must also include -I${top_builddir} for those  
sub-directories which include headers that are generated during the  
build, such as swig-runtime.h. This makes e.g. the windows nightly  
build fail, see the latest log at  
http://code.gnucash.org/builds/win32/trunk/ :

make[5]: Entering directory `/c/soft/gnucash/build/src/plugins/bi_import'
/bin/sh ../../../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H  
-I.  [...]  -c ../../../../repos/src/plugins/bi_import/bi_import.c   
-DDLL_EXPORT -DPIC -o .libs/bi_import.o
In file included from ../../../../repos/src/plugins/bi_import/bi_import.c:66:
../../../../repos/src/business/business-gnome/dialog-invoice.c:31:26:  
swig-runtime.h: No such file or directory

However, I admit this is almost impossible to guess if you don't test  
this with a separate builddir build on your own. In this particular  
case, I think you only need -I${top_builddir}/src in the CFLAGS so  
that swig-runtime.h is found, but no other additional CFLAGS.

Best Regards,

Christian



More information about the gnucash-devel mailing list