[GNC-dev] Compiling not working
John Ralls
jralls at ceridwen.us
Wed Oct 23 22:32:42 EDT 2019
> On Oct 23, 2019, at 11:15 AM, lists+gnucash at alexandervowinkel.de wrote:
>
> 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?
Your Glib is too new. ;-)
See https://bugs.gnucash.org/show_bug.cgi?id=797407.
The simplest solution for you would be to build the maint branch from git.
Regards,
John Ralls
More information about the gnucash-devel
mailing list