Re: [GNC-dev] New balsheet (and P report), API considerations, and (slow?) KVP in Account.cpp

2018-07-02 Thread DaveC49
Chris, I have the multicolumn report up and running in V3.2. In addition to adding your file I also had to incorporate it in the CMakeLists.txt in ~/gnucash/report/standard-reports to have it available from the menu. Initially I will just comment on the presentation, as I don't have a testfile

Re: [GNC-dev] Proposed updates to Wiki Build#Ubuntu pages

2018-05-01 Thread DaveC49
Jeffrey, Can you copy the cmake command you used to the forum. That looks as though the switch which should be preceded by a "-D" has been interpreted as part of the cmake target. Each swith needs to be preficed by "-D" and followed by a space before any following switches. There also needs to

Re: [GNC-dev] GnuCash 3.0 wine versus Windoze 10

2018-04-21 Thread DaveC49
Robin, I think having a separate build directory is what you would consider best practice using cmake. Where that build directory is located does not appear to be a major issue from my reading of the CMake documentation so far. I have built other applications and libraries using cmake where a

Re: [GNC-dev] GnuCash 3.0 wine versus Windoze 10

2018-04-20 Thread DaveC49
Jeffrey, My response re "30 years ago I swallowed new programming languages like jellybeans, today it takes a manual and 3 sledge hammers." is very similar although in my case it was closer to 40 years. At least being retired now I can take the time to bumble my way through these days. My own

Re: [GNC-dev] GnuCash 3.0 wine versus Windoze 10

2018-04-20 Thread DaveC49
Jeffrey, I tend to keep the stable release installed under /usr/local. If I have any unstable or work in progress versions I install them under /opt or under my home directory as John suggests in another reply. I usually set up aliases tagged with a version number or some other identifier

Re: [GNC-dev] Proposed updates to Wiki Build#Ubuntu pages

2018-04-20 Thread DaveC49
Thanks Geert, I will take your feedback on board and have a go at an edit. I am also talking Jeffrey Black through a build of v3 on Ubuntu16.04. I hope that will clarify things further for me as well. I've had a quick look at the rewrite of the C source code and it looks to be much more

Re: [GNC-dev] Proposed updates to Wiki Build#Ubuntu pages

2018-04-20 Thread DaveC49
Hi John, My apologies for my misinterpretation of why Google recommended that googlemock and googletest not be built as shared libraries. I now understand the problem with a lot of conditional code and different compile flags and on the build for a calling program and the libraries much better.

Re: [GNC-dev] GnuCash 3.0 wine versus Windoze 10

2018-04-20 Thread DaveC49
Jeffrey, I will start form scratch. The first step is setting up for building. My apologies if I am teaching you to suck eggs. Linux Mint has an alias of apt defined for apt-get. I am not sure if it is also defined in Ubuntu. If not substitute apt-get where I have apt in the following. # first

Re: [GNC-dev] GnuCash 3.0 wine versus Windoze 10

2018-04-19 Thread DaveC49
Jeffrey, There should be no significant difference in building Gnucash 3.0 on Ubuntu Xenial from Linux Mint 18.3 which I have just finished doing, if you need some guidance in doing that. I have proposed a rewrite of the Wiki page to the developers to try and make the build instructions a bit

[GNC-dev] Proposed updates to Wiki Build#Ubuntu pages

2018-04-18 Thread DaveC49
John, Geert and whoever maintains the Wiki Build#Ubuntu_16.04 pages. I would like to propose some edits to the above Wiki page section in the light of my recent experiences building Guncash v3.0 which may help others building it in future. My major

Re: [GNC-dev] [GNC-Dev]Gnucash-3.0 Build Error in make

2018-04-16 Thread DaveC49
Thanks Geert, I have found the thread. I will start again. I had cleared the build directory after building with it inside the source directory but had not cleared the source directory. I will wipe the source tree by restoring the gnucash-3.0 directory from the downloaded archive and then try it

[GNC-dev] [GNC-Dev]Gnucash-3.0 Build Error in make

2018-04-16 Thread DaveC49
CMakeError.log CMakeOutput.log terminal_output.txt Hi, Building Gnucash 3.0 on Linux

Re: [GNC-dev] Gnucash-3.0 build error: GTEST not found

2018-04-10 Thread DaveC49
Hi John, Thanks for the info. I'll check on the thread started by Carlos Garcia. I now have a pretty good handle on how Cmake functions and how to point it at the top level directory. Cheers David - David Cousens -- Sent from:

Re: [GNC-dev] Gnucash-3.0 build error: GTEST not found

2018-04-10 Thread DaveC49
Hi John, I now seem to have googlemock and googletest installed correctly. With the patch https://github.com/Gnucash/gnucash/pull/329 incorporated I am not no longer failing on the GTEST or GMOCK checks and cmake is completing successfully. Make is now failing in the build as follows in

Re: [GNC-dev] Gnucash-3.0 build error: GTEST not found

2018-04-09 Thread DaveC49
Thanks John, I did clone the googletest-master at https://github.com/google/googletest which has gmock incorporated. I will try pointing GMOCK_ROOT and GTEST_ROOT at the copies within my user directory that I installed it from as a shared library in usr/local. I will also check the permissions

Re: [GNC-dev] gnc_add_swig_guile_command compile errors

2018-04-08 Thread DaveC49
Just to confirm with build-cmake in the gnucash-3.0 toplevel folder using any of .. ../ ../../gnucash-3.0 as the argument for Cmake will work as expected. - David Cousens -- Sent from: http://gnucash.1415818.n4.nabble.com/GnuCash-Dev-f1435356.html

[GNC-dev] Gnucash-3.0 build error: GTEST not found

2018-04-08 Thread DaveC49
Hi, I am past the initial problem but I appear to be having a problem with GTEST not being found. I have gtest 1.8.0 intsalled and I have also uninstalled it and reinstalled 1.7.0 from the ubuntu repository with the same result: $ cmake -D CMAKE_INSTALL_PREFIX=/usr/local/gnucash -D

Re: gnc_add_swig_guile_command compile errors

2018-04-06 Thread DaveC49
Thanks Rob, John passed on the message to me. I was following the Build#Ubuntu page on the wiki, so this may need modifying too. I will keep notes as I sort out and get used to building with Cmake. I guess the other cure would be to use ../../gnucash-3.0 to go up to the parent directory from a

Re: Building with CMake

2017-06-04 Thread DaveC49
Hi Rob, I do have a build file under gnucash and the cache files were located there. I have deleted all files in it. I'll take your advice and get a clean clone up and compile that without modifying anyof the files. I had already modified the files to include a feature for addinga link to

Re: Building with CMake

2017-06-03 Thread DaveC49
Hi further progress I ran cmake with the --trace option ( *cmake --trace -D CMAKE_INSTALL_PREFIX=/opt/gnucash-devel ../gnucash*). It appears that cmake is executing the call to add the libqof directory .../gnucash/src/CMakeLists.txt line 141 and the qof/test subdirectory

Re: Building with CMake

2017-06-01 Thread DaveC49
Solved my own problem or at least found the ../src/cmake-modules/GncAddTest.cmake. Somehow these files are not being picked up in the configure even though it is in the INCLUDEs in the CMAKELists.txt in the top level gnucash folder above the src folder ( in my case

Building with CMake

2017-06-01 Thread DaveC49
Hi, I am getting an error as follows while building a branch from the master for gnucash to implement links to documents in invoices/bills/creditNotes etc. $ cmake -D CMAKE_INSTALL_PREFIX=/opt/gnucash-devel ../gnucash CMake Error at libqof/qof/test/CMakeLists.txt:44 (GNC_ADD_TEST): Unknown

Re: Attachment of links to documents to bills, invoices, credit notes in addition to attachment to transactions

2017-04-30 Thread DaveC49
Thanks Geert, I had no problems with the easy part adding the KVPs to the invoice. The user interface may take me a bit longer as I'm not too familiar with GTK. Cheers David -- View this message in context:

Attachment of links to documents to bills, invoices, credit notes in addition to attachment to transactions

2017-04-27 Thread DaveC49
Bug 780112 requested attachment of a link to a document to an invoice rather than the current link attachment (http://gnucash.1415818.n4.nabble.com/Bug-336843-Attach-files-to-Transactions-td4665357.html) which is to the transaction created by the invoice. However that transaction doesn't exist

Patch to documentation Bug777287

2017-01-15 Thread DaveC49
Hi all, I have created a patch to the documentation to add tips to both the User Guide and Help manual and attached it in Bug 777287. The tips added describe how to check or uncheck all transaction in the Reconcile Window Funds In/Out panes using Ctrl-A followed by a space as conveyed to me by