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

Mike Evans mikee at saxicola.idps.co.uk
Thu Jan 27 04:29:32 EST 2011


On Thursday 27 Jan 2011 08:45:11 Christian Stimming wrote:
> 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
> 
> _______________________________________________
Thanks Christian

Would it be OK to ask someone with more knowlage of the build system to fix 
this error?  As you say it's difficult for me to test here and I'm a bit short 
of time at the moment.

Mike E

-- 
GPG Key: 1024D/050895C2
Keyserver: http://pgp.mit.edu/          
Search String: 0x050895C2


More information about the gnucash-devel mailing list