More problems with python bindings
Phil Longstaff
plongstaff at rogers.com
Mon Apr 6 08:39:47 EDT 2009
Even after I added -I/usr/include/tcl8.4 to the command compiling
gnucash_core.c, I had other problems.
1) Couldn't find datetime.h. My distro has it in /usr/include/python2.6.
2) After I added -I/usr/include/python2.6 to the compile line, I needed to add
"#include <Python.h>" before "#include <datetime.h>". I was then left with:
gnucash_core.c: In function ‘_wrap_xaccSplitRetDateReconciledTS’:
gnucash_core.c:2671: error: lvalue required as left operand of assignment
gnucash_core.c: In function ‘_wrap_xaccTransRetDatePostedTS’:
gnucash_core.c:9284: error: lvalue required as left operand of assignment
gnucash_core.c: In function ‘_wrap_xaccTransRetDateEnteredTS’:
gnucash_core.c:9339: error: lvalue required as left operand of assignment
gnucash_core.c: In function ‘_wrap_xaccTransRetDateDueTS’:
gnucash_core.c:9365: error: lvalue required as left operand of assignment
gnucash_core.c: In function ‘_wrap_xaccTransGetVoidTime’:
gnucash_core.c:9555: error: lvalue required as left operand of assignment
gnucash_core.c: In function ‘_wrap_gncBillTermComputeDueDate’:
gnucash_core.c:20801: error: lvalue required as left operand of assignment
gnucash_core.c: In function ‘_wrap_gncBillTermComputeDiscountDate’:
gnucash_core.c:20834: error: lvalue required as left operand of assignment
Phil
More information about the gnucash-devel
mailing list