Re: [GNC-dev] Error building stable

2023-04-03 Thread Herbert Thoma
Hi John, thanks for your detailed explaination. Actually I am a bit surprised now that openSUSE ships such an old (outdated) gcc. Everything used to work with GnuCash 4.x, so I never cared. I installed one of the community builds of gcc 12 and it builds and runs just fine. Thanks again for

Re: [GNC-dev] Error building stable

2023-04-02 Thread John Ralls
Herbert, gcc 8 is the minimum required since 2019: https://github.com/Gnucash/gnucash/commit/e4bbf7257f6555808ffbac85e446ed0cb53c6015 According to https://software.opensuse.org/package/gcc there's no official gcc package for leap 15.4, but there are three community builds of gcc 12 and an

Re: [GNC-dev] Error building stable

2023-04-02 Thread Herbert Thoma
Am 02.04.23 um 19:23 schrieb john: Herbert, Hmm, I tested with gcc 8, 9, 10, and 12 . What version are you using? gcc --version gcc (SUSE Linux) 7.5.0 Copyright (C) 2017 Free Software Foundation, Inc. This is the latest stable open SUSE 15.4 Herbert. The SWIG version doesn't matter as

Re: [GNC-dev] Error building stable

2023-04-02 Thread john
Herbert, Hmm, I tested with gcc 8, 9, 10, and 12 . What version are you using? The SWIG version doesn't matter as long as it's at least 3.0.12. Regards, John Ralls > On Apr 2, 2023, at 8:59 AM, Herbert Thoma > wrote: > > Hi John, Maarten, > > thnaks for the fixes. This error is now gone on

Re: [GNC-dev] Error building stable

2023-04-02 Thread Herbert Thoma
Hi John, Maarten, thnaks for the fixes. This error is now gone on my machine. But it finds another one a bit later: [ 20%] Building CXX object bindings/guile/CMakeFiles/gnucash-guile.dir/swig-engine.cpp.o /home/tma/gnucash/gnucash_cvs/build_stable/bindings/guile/swig-engine.cpp: In function

Re: [GNC-dev] Error building stable

2023-04-02 Thread john
> On Apr 2, 2023, at 1:38 AM, Maarten Bosmans wrote: > > Op ma 27 mrt 2023 om 17:59 schreef Herbert Thoma > : >> /home/tma/gnucash/gnucash_cvs/gnucash_stable/libgnucash/engine/gnc-option.cpp:448:35: >>required from here >>

Re: [GNC-dev] Error building stable

2023-04-02 Thread Maarten Bosmans
Op ma 27 mrt 2023 om 17:59 schreef Herbert Thoma : > /home/tma/gnucash/gnucash_cvs/gnucash_stable/libgnucash/engine/gnc-option.cpp:448:35: >required from here > /home/tma/gnucash/gnucash_cvs/gnucash_stable/libgnucash/engine/gnc-option-impl.hpp:331:45: > error: variable ‘value’ set but not

Re: [GNC-dev] Error building stable

2023-03-27 Thread Herbert Thoma
Am 27.03.23 um 18:50 schrieb john: stable is what used to be master, so you need to ninja uninstall && rm -rf * && cmake … && ninja if you're starting from a build directory with a 4.x build in it. If you hadn't run ninja install then ninja uninstall isn't necessary, and if did install but

Re: [GNC-dev] Error building stable

2023-03-27 Thread john
stable is what used to be master, so you need to ninja uninstall && rm -rf * && cmake … && ninja if you're starting from a build directory with a 4.x build in it. If you hadn't run ninja install then ninja uninstall isn't necessary, and if did install but cleaned the build directory and lost

[GNC-dev] Error building stable

2023-03-27 Thread Herbert Thoma
Hi! I tried to build the current stable branch and got the following error: [ 10%] Building CXX object libgnucash/engine/CMakeFiles/gnc-engine.dir/gnc-option.cpp.o In file included from /home/tma/gnucash/gnucash_cvs/gnucash_stable/libgnucash/engine/gnc-option.cpp:25:0: