Re: [GNC-dev] Error building stable

john <[email protected]>
Newsgroups gmane.comp.gnome.apps.gnucash.devel
Message-ID <[email protected]>
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 <[email protected]> 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
> [email protected]
> https://lists.gnucash.org/mailman/listinfo/gnucash-devel

_______________________________________________
gnucash-devel mailing list
[email protected]
https://lists.gnucash.org/mailman/listinfo/gnucash-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.