example library calls
warlord at MIT.EDU
Wed Mar 28 04:41:06 EDT 2012
Danny Holstein <dgholstein at embarqmail.com> writes:
> Thanks so much, that's a great link.
> The first response I got to my posting (from John R.) accused me of being delusional, I didn't quite see how that was fair since a "make install" creates shared libraries in the /usr/local/lib/ directory.
> To me, with the python bindings and all, and discussions on the mailing list that recommended using the library instead of posting directly to the database with MySQL -- I think my question really should never have been characterized as delusional.
I think the issue is more that you need to be careful because there is
no guarantees on API stability. So you will need to watch and be
mindful that APIs may change between releases -- even patch-level
releases -- because we have no guarantees of API stability.
Also, we don't make it easy to link against the GnuCash C Libraries.
There is no .pc file, for example, and we have no test cases that make
sure that all the proper .h files are distributed.
> ----- Original Message -----
> Am Samstag, 24. März 2012, 20:34:00 schrieb Danny Holstein:
>> I can't seem to find an example of how to call the Gnucash libraries. I'd
>> like to write a program that posts invoices from a web-based shopping cart,
>> and I can imagine a POS program or ERP program using the library for the GL
>> I would expect examples to be in a top level examples directory, with
>> language-based subdirectories such as C and python.
> There's a short explanation for a C programmer here:
> gnucash-devel mailing list
> gnucash-devel at gnucash.org
Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
Member, MIT Student Information Processing Board (SIPB)
URL: http://web.mit.edu/warlord/ PP-ASEL-IA N1NWH
warlord at MIT.EDU PGP key available
More information about the gnucash-devel