Re: [GNC-dev] Noob: setup and build master
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="' + 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. Regards, John Ralls On Mar 13, 2020, at 12:13 PM, Jean Laroche wrote: 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/jlaroche/.config/jhbuildrc", line 462, in execfile(_user_rc) File "/Users/jlaroche/.config/jhbuildrc-custom", line 54 module_cmakeargs["boost"] = "-DCMAKE_CXX_FLAGS=" . os.environ["CXXFLAGS"] . " -std=c++17" ^ SyntaxError: invalid syntax jhbuild: could not load config file On 3/13/20 11:49 AM, John Ralls wrote: 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 module_cmakeargs['boost'] = '-DCMAKE_CXX_FLAGS=' . os.environ['CXXFLAGS'] . ' -std=c++17' to jhbuildrc-custom then run jhbuild buildone --force --clean boost If that doesn't work on its own try doing the buildone again but stop it and tell it to wipe the directory and start over. John, is this going to work with xcode? Also, will that affect my maint branch (I have two separate build dirs for maint and master)? Jean Jean, If you mean can you do that in Xcode, no you can't. Boost needs to be built to the highest standard you want to use, so it will still link with maint, which is built to C++11. Regards, John Ralls ___ gnucash-devel mailing list gnucash-devel@gnucash.org https://lists.gnucash.org/mailman/listinfo/gnucash-devel
[GNC-dev] IngAusOfxFix updated for Java 11 + 2 new features - Release 2.01
Hi, I've updated my IngAusOfxFix app to java 11 which is the default version of java on Ubuntu 18.04 and derivatives like Mint 19, so it is no longer necessary to 'hold' Linux java packages at Java 8. IngAusOfxFix is my app that fixes problems in .ofx files from ING Australia so that they can be imported into GnuCash. The new IngAusOfxFix version is 2.01. As the V2.01 app is now a modular java app, it is distributed as a runtime image which includes the required java runtime, so it is not necessary to have java installed on your system. There are 2 new features also: 1. There is an option to split the input data into (company name which gets imported into GnuCash transaction 'Description' field), and (the rest of gets imported into the 'Memo' field of the bank account split). Without a field in a transaction, GnuCash duplicates the field in both the transaction 'Description' and the 'Memo' field of the bank account split. 2. Replace bad tag in the with a space as it causes GnuCash to fail to import the field. Please see: Linux: https://github.com/goodvibes2/IngAusOfxFixLinux Windows: https://github.com/goodvibes2/IngAusOfxFixWin Regards, Chris Good <>___ gnucash-devel mailing list gnucash-devel@gnucash.org https://lists.gnucash.org/mailman/listinfo/gnucash-devel
Re: [GNC-dev] Noob: setup and build master
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/jlaroche/.config/jhbuildrc", line 462, in execfile(_user_rc) File "/Users/jlaroche/.config/jhbuildrc-custom", line 54 module_cmakeargs["boost"] = "-DCMAKE_CXX_FLAGS=" . os.environ["CXXFLAGS"] . " -std=c++17" ^ SyntaxError: invalid syntax jhbuild: could not load config file On 3/13/20 11:49 AM, John Ralls wrote: 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 module_cmakeargs['boost'] = '-DCMAKE_CXX_FLAGS=' . os.environ['CXXFLAGS'] . ' -std=c++17' to jhbuildrc-custom then run jhbuild buildone --force --clean boost If that doesn't work on its own try doing the buildone again but stop it and tell it to wipe the directory and start over. John, is this going to work with xcode? Also, will that affect my maint branch (I have two separate build dirs for maint and master)? Jean Jean, If you mean can you do that in Xcode, no you can't. Boost needs to be built to the highest standard you want to use, so it will still link with maint, which is built to C++11. Regards, John Ralls ___ gnucash-devel mailing list gnucash-devel@gnucash.org https://lists.gnucash.org/mailman/listinfo/gnucash-devel
Re: [GNC-dev] Noob: setup and build master
> 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 >>module_cmakeargs['boost'] = '-DCMAKE_CXX_FLAGS=' . os.environ['CXXFLAGS'] >> . ' -std=c++17' >> to jhbuildrc-custom then run >>jhbuild buildone --force --clean boost >> If that doesn't work on its own try doing the buildone again but stop it and >> tell it to wipe the directory and start over. > > John, is this going to work with xcode? > Also, will that affect my maint branch (I have two separate build dirs for > maint and master)? > Jean Jean, If you mean can you do that in Xcode, no you can't. Boost needs to be built to the highest standard you want to use, so it will still link with maint, which is built to C++11. Regards, John Ralls ___ gnucash-devel mailing list gnucash-devel@gnucash.org https://lists.gnucash.org/mailman/listinfo/gnucash-devel
Re: [GNC-dev] Noob: setup and build master
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['CXXFLAGS'] . ' -std=c++17' to jhbuildrc-custom then run jhbuild buildone --force --clean boost If that doesn't work on its own try doing the buildone again but stop it and tell it to wipe the directory and start over. John, is this going to work with xcode? Also, will that affect my maint branch (I have two separate build dirs for maint and master)? Jean ___ gnucash-devel mailing list gnucash-devel@gnucash.org https://lists.gnucash.org/mailman/listinfo/gnucash-devel