[GNC-dev] [GNC] UK VAT and "Making Tax Digital"

Maf. King maf at chilwell.net
Tue May 14 03:35:32 EDT 2019


On Sunday, 12 May 2019 01:54:16 BST Christopher Lam wrote:
> Good luck creating a build. Branch at
> https://github.com/christopherlam/gnucash/tree/maint-csv-export

Hi Christopher,

Tried to build GC last night.  CMake failed with many errors.

I downloaded the zip source file using the green "clone or download" button on 
the page you mentioned above.

unzipped into ~/src

followed the suggestions on the wiki page about how to install into 
~/opt/gnucash-vat

ran    cmake -DCMAKE_INSTALL_PREFIX=$HOME/opt/gnucash-vat ../gnucash-maint-
csv-export/


the first several errors were file not found types:

CMake Error at common/test-core/CMakeLists.txt:43 (add_library):
  Cannot find source file:

    /home/maf/src/gnucash-maint-csv-export/common/test-core/swig-unittest-
support-guile.c

  Tried extensions .c .C .c++ .cc .cpp .cxx .m .M .mm .h .hh .h++ .hm .hpp
  .hxx .in .txx

(that file is not in my tree, nor is it in your git branch)

then there were some like

CMake Error: CMake can not determine linker language for target: test-core
-guile

make failed, of course.

Do I need to pass some switches to CMake, or do I need more source than what 
is in the branch from mainline or somewhere?

Thanks,
Maf.






More information about the gnucash-devel mailing list