[GNC-dev] Error building stable
john
jralls at ceridwen.us
Mon Mar 27 12:50:54 EDT 2023
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 install.manifest then you `find <install-dir> -name libgnc*.so -delete && rm -rf <install-dir>/lib/guile/<guileversion>/site-ccache/gnucash/` should be remove enough install artifacts to get the new build to work.
Regards,
John Ralls
> On Mar 27, 2023, at 8:59 AM, Herbert Thoma <herbert.thoma at iis.fraunhofer.de> wrote:
>
> 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:
>
> <lots of c++ dependency information (I assume, I don't really understand this>
>
> /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 used [-Werror=unused-but-set-variable]
> cc1plus: all warnings being treated as errors
>
>
> The last 4.x maint branch compiled for me, but I updated the OS in the meantime
>
> openSUSE 13.4
> gcc 7.5.0
>
> Herbert.
> _______________________________________________
> gnucash-devel mailing list
> gnucash-devel at gnucash.org
> https://lists.gnucash.org/mailman/listinfo/gnucash-devel
More information about the gnucash-devel
mailing list