Re: [GNC-dev] Noob: setup and build master

2020-03-13 Thread Jean Laroche
Thanks John, that did it. I had to interrupt and wipe the directory but after that, the build completed successfully! Thanks a bunch! Jean On 3/13/20 3:58 PM, John Ralls wrote: Jean, Indeed, I mixed up perl and python syntax. The line should be module_cmakeargs['boost'] =

Re: [GNC-dev] Noob: setup and build master

2020-03-13 Thread Jean Laroche
John Something must be wrong with the syntax you suggested. Since I don't know my jhbuild at all, I don't know how to fix this. Traceback (most recent call last): File "/Users/jlaroche/Source/jhbuild/jhbuild/config.py", line 194, in load execfile(filename, config) File

Re: [GNC-dev] Noob: setup and build master

2020-03-13 Thread John Ralls
> On Mar 13, 2020, at 11:20 AM, Jean Laroche wrote: > >> It's because C++17 is set in GnuCash's CMakeLists.txt and boost defaults to >> building for C++14. I'd forgotten that I'd pushed that to the public master >> branch. I think the simplest way to rebuild it for you would be to add >>

Re: [GNC-dev] Noob: setup and build master

2020-03-13 Thread Jean Laroche
It's because C++17 is set in GnuCash's CMakeLists.txt and boost defaults to building for C++14. I'd forgotten that I'd pushed that to the public master branch. I think the simplest way to rebuild it for you would be to add module_cmakeargs['boost'] = '-DCMAKE_CXX_FLAGS=' .

Re: [GNC-dev] Noob: setup and build master

2020-03-12 Thread John Ralls
> On Mar 12, 2020, at 12:11 PM, Jean Laroche wrote: > > Not having luck building master. > I followed John's instructions. > - I have no libgnc or libgnucash in $PREFIX/lib > - I created the xcode project using cmake -G Xcode -D > CMAKE_INSTALL_PREFIX=$PREFIX -D

Re: [GNC-dev] Noob: setup and build master

2020-03-12 Thread Jean Laroche
Not having luck building master. I followed John's instructions. - I have no libgnc or libgnucash in $PREFIX/lib - I created the xcode project using cmake -G Xcode -D CMAKE_INSTALL_PREFIX=$PREFIX -D GTEST_ROOT=$SRCROOT/googletest $SRCROOT/gnucash-git But the build fails with this error: Ld

Re: [GNC-dev] Noob: setup and build master

2020-03-11 Thread jean laroche
Thanks John, What about building the xcode project, are there differences between the cmake command to do that between the two branches? Jean On 3/11/2020 8:13 PM, John Ralls wrote: On Mar 11, 2020, at 2:35 PM, jeanl wrote: Hi People, Thanks to John I was able to setup and build maint on

Re: [GNC-dev] Noob: setup and build master

2020-03-11 Thread John Ralls
> On Mar 11, 2020, at 2:35 PM, jeanl wrote: > > Hi People, > Thanks to John I was able to setup and build maint on my mac. I'm now trying > to setup and build master which I've pulled into src/gnucash-git > > Can someone clarify these points: > - I imagine I need to edit jhbuildrc-cusom and

[GNC-dev] Noob: setup and build master

2020-03-11 Thread jeanl
Hi People, Thanks to John I was able to setup and build maint on my mac. I'm now trying to setup and build master which I've pulled into src/gnucash-git Can someone clarify these points: - I imagine I need to edit jhbuildrc-cusom and change the branch to master. Do I do that before any of the