Re: Windows Build failure
OK, deleted all folders in gcdev apart from the git ones and reran the vb script and then the install.sh file. This recompiled all dependencies and also gnucash. Tried to start it from the gcdev/gnucash/inst/bin/gnucash-launcher.cmd which failed as boost libraries was not in path. Added new path entry to cmd file and now it fails with a Runtime Error. Had a look at the Nightly Builds and the last one that installed and ran straight off was on 29/04/2015 and about says version 15a0d5d These have stopped building since the 19/06/2015. All other later builds install but fail to run as missing libboost_date_time.dll, thought I could copy the one I had created in gcdev/boost to the bin folder but that results in the Runtime Error. Not sure what else I can try. Regards, Bob On 16 July 2015 at 00:58, John Ralls jra...@ceridwen.us wrote: On Jul 15, 2015, at 8:51 AM, Robert Fewell 14ubo...@gmail.com wrote: I tried to build the windows version on my XP VM but it failed with the following error... Did a git pull on gnucash-on-windows.git and gnucash.git to get the latest builds and then ran the install.sh under mingw which updated some parts of the software as usual but the gnucash sections fails. Have I failed to upgrade some component part ? Regards, Bob make all-recursive make[1]: Entering directory `/c/gcdev/gnucash/build' Making all in . make[2]: Entering directory `/c/gcdev/gnucash/build' gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I/c/gcdev/gnucash.git -I/c/gcdev/regex/include -I/c/gcdev/gnome/include -I/c/gcdev /guile/include -I/c/gcdev/libdbi/include -I/c/gcdev/gwenhywfar/include -I/c/gcdev/hh/include -mms-bitfields -Ic:/gcdev/l ibsoup/include/libsoup-2.4 -Ic:/gcdev/gnome/include/libxml2 -Ic:/gcdev/gnome/include/glib-2.0 -Ic:/gcdev/gnome/lib/glib- 2.0/include -D_WIN32 -pthread -Ic:/gcdev/guile/include -I/c/gcdev/readline/include -I/c/gcdev/regex/include -g -st d=gnu99 -mms-bitfields -g -MT gnc_guile-guile.o -MD -MP -MF .deps/gnc_guile-guile.Tpo -c -o gnc_guile-guile.o `test -f 'util/guile.c' || echo '/c/gcdev/gnucash.git/'`util/guile.c In file included from c:\gcdev\mingw\include\unistd.h:95:0, from c:/gcdev/guile/include/libguile/stime.h:27, from c:/gcdev/guile/include/libguile.h:91, from c:/gcdev/gnucash.git/util/guile.c:32: c:\gcdev\mingw\include\parts\time.h:65:8: error: redefinition of 'struct timespec' struct timespec ^ In file included from c:/gcdev/guile/include/libguile/__scm.h:52:0, from c:/gcdev/guile/include/libguile.h:30, from c:/gcdev/gnucash.git/util/guile.c:32: c:/gcdev/guile/include/libguile/scmconfig.h:114:16: note: originally defined here typedef struct timespec scm_t_timespec; That’s from a Makefile that needs to be rebuilt. Delete the build directory and start from scratch. Regards, John Ralls ___ gnucash-devel mailing list gnucash-devel@gnucash.org https://lists.gnucash.org/mailman/listinfo/gnucash-devel
Re: Windows Build failure
On Jul 20, 2015, at 4:05 AM, Robert Fewell 14ubo...@gmail.com wrote: OK, deleted all folders in gcdev apart from the git ones and reran the vb script and then the install.sh file. This recompiled all dependencies and also gnucash. Tried to start it from the gcdev/gnucash/inst/bin/gnucash-launcher.cmd which failed as boost libraries was not in path. Added new path entry to cmd file and now it fails with a Runtime Error. Had a look at the Nightly Builds and the last one that installed and ran straight off was on 29/04/2015 and about says version 15a0d5d These have stopped building since the 19/06/2015. All other later builds install but fail to run as missing libboost_date_time.dll, thought I could copy the one I had created in gcdev/boost to the bin folder but that results in the Runtime Error. Not sure what else I can try. Robert, I did a build by hand last week after cleaning the build dir, which is what stopped the last automatic build. There hasn’t been a commit to master since to trigger a new automatic build. I’m heading out of town for the week, so I won’t be able to look at the Windows runtime until the weekend. Since there were completed builds in May and June I guess you mean that none of the bundles actually runs because libboost_date_time.dll isn’t in the bundle. I guess that’s not surprising except that I thought I’d set up the build of boost so that date_time would be header-only. That part should be easy to fix. What’s the runtime error? Regards, John Ralls ___ gnucash-devel mailing list gnucash-devel@gnucash.org https://lists.gnucash.org/mailman/listinfo/gnucash-devel
Re: Windows Build failure
John, All the builds in May and June will install and if you start one it stops saying it can not find libboost_date_time.dll. If I copy that dll from the gcdev/boost/lib to the gnucash/bin directory you get the Runtime Error straight away as attached. Robert On 20 July 2015 at 15:22, John Ralls jra...@ceridwen.us wrote: On Jul 20, 2015, at 4:05 AM, Robert Fewell 14ubo...@gmail.com wrote: OK, deleted all folders in gcdev apart from the git ones and reran the vb script and then the install.sh file. This recompiled all dependencies and also gnucash. Tried to start it from the gcdev/gnucash/inst/bin/gnucash-launcher.cmd which failed as boost libraries was not in path. Added new path entry to cmd file and now it fails with a Runtime Error. Had a look at the Nightly Builds and the last one that installed and ran straight off was on 29/04/2015 and about says version 15a0d5d These have stopped building since the 19/06/2015. All other later builds install but fail to run as missing libboost_date_time.dll, thought I could copy the one I had created in gcdev/boost to the bin folder but that results in the Runtime Error. Not sure what else I can try. Robert, I did a build by hand last week after cleaning the build dir, which is what stopped the last automatic build. There hasn’t been a commit to master since to trigger a new automatic build. I’m heading out of town for the week, so I won’t be able to look at the Windows runtime until the weekend. Since there were completed builds in May and June I guess you mean that none of the bundles actually runs because libboost_date_time.dll isn’t in the bundle. I guess that’s not surprising except that I thought I’d set up the build of boost so that date_time would be header-only. That part should be easy to fix. What’s the runtime error? Regards, John Ralls ___ gnucash-devel mailing list gnucash-devel@gnucash.org https://lists.gnucash.org/mailman/listinfo/gnucash-devel
Re: Windows Build failure
On Jul 20, 2015, at 9:57 AM, Robert Fewell 14ubo...@gmail.com wrote: I had but I do not think I was doing it correctly, see attached, once I click on OK I get the program exited with code 03. Robert, OK, that means it’s terminating either from an unhandled exception or an assert. Set a breakpoint on exit() with “b exit and a catchpoint with “catch exception unhandled”. See https://sourceware.org/gdb/onlinedocs/gdb/Breakpoints.html#Breakpoints for details. Regards, John Ralls ___ gnucash-devel mailing list gnucash-devel@gnucash.org https://lists.gnucash.org/mailman/listinfo/gnucash-devel
Re: Windows Build failure
On Jul 20, 2015, at 7:41 AM, Robert Fewell 14ubo...@gmail.com wrote: John, All the builds in May and June will install and if you start one it stops saying it can not find libboost_date_time.dll. If I copy that dll from the gcdev/boost/lib to the gnucash/bin directory you get the Runtime Error straight away as attached. Robert, Ah. Have you tried it in gdb? Regards, John Ralls ___ gnucash-devel mailing list gnucash-devel@gnucash.org https://lists.gnucash.org/mailman/listinfo/gnucash-devel
Re: Windows Build failure
On Jul 20, 2015, at 10:59 AM, John Ralls jra...@ceridwen.us wrote: On Jul 20, 2015, at 9:57 AM, Robert Fewell 14ubo...@gmail.com wrote: I had but I do not think I was doing it correctly, see attached, once I click on OK I get the program exited with code 03. Robert, OK, that means it’s terminating either from an unhandled exception or an assert. Set a breakpoint on exit() with “b exit and a catchpoint with “catch exception unhandled”. See https://sourceware.org/gdb/onlinedocs/gdb/Breakpoints.html#Breakpoints for details. Robert, BTW, I had some extra time this morning before leaving and did a build and dist on Win7. Works fine. That might be because I don’t have a “pure” system, but I fixed up the boost stuff in install and dist in gnucash-on-windows and pushed it. Regards, John Ralls ___ gnucash-devel mailing list gnucash-devel@gnucash.org https://lists.gnucash.org/mailman/listinfo/gnucash-devel