[GNC-dev] Compiling not working

lists+gnucash at alexandervowinkel.de lists+gnucash at alexandervowinkel.de
Wed Oct 23 14:15:45 EDT 2019


Hi,


I am trying to compile gnucash.

I downloaded the tarball gnucash-3.7.tar.bz2,
installed and compiled all necessary dependencies,
run
     mkdir mybuild && cd mybuild && cmake 
-DCMAKE_INSTALL_PREFIX=/opt/gnucash ..
and then (inside the build directory)
     make

and I get the following errors (snip, full in attachement)

[ 19%] Building CXX object 
libgnucash/engine/CMakeFiles/gncmod-engine.dir/Account.cpp.o
/build/libgnucash/engine/Account.cpp:244:13: error: static inline [-Werror]
   244 | G_INLINE_FUNC void mark_account (Account *acc);
       |             ^~~~~~~~~~~~~~~
/build/libgnucash/engine/Account.cpp:262:13: error: G_ADD_PRIVATE [-Werror]
   262 |     priv = GET_PRIVATE(acc);
       |             ^~~~~~~~~~~~~~~

I am building inside a docker container (but this shouldn't be the 
problem, I guess).

What is the problem here?


Thanks,
Alexander
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gnucash_compile.log
Type: text/x-log
Size: 25607 bytes
Desc: not available
URL: <http://lists.gnucash.org/pipermail/gnucash-devel/attachments/20191023/cf0dce3a/attachment.bin>


More information about the gnucash-devel mailing list