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'] = '-DCMAKE_CXX_FLAGS="'
Jean,
Indeed, I mixed up perl and python syntax. The line should be
module_cmakeargs['boost'] = '-DCMAKE_CXX_FLAGS="' + os.environ['CXXFLAGS'] + '
-std=c++17"'
Note the single quotes around the python arguments and the double quotes
setting off the string value passed to -DCMAKE_CXX_FLAGS.
Reg
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 "/Users/jlaroc
> 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
>>
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=' . os.environ['CXXFLA
> 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 GTEST_ROOT=$SRCROOT/googletest
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
/
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
> 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 c