> > On Jun 27, 2020, at 1:31 PM, jean <rip...@gmail.com> wrote: > > The build complains that I'm missing boost: > CMake Error at CMakeLists.txt:541 (message): > A suitable Boost is not installed, and is required. GnuCash requires that > Boost be compatible and compiled with C++17. Boost 1.67 is the first > compatible release but some distributions have patched earlier ones to work > with C++17. Please install it and ensure that the following libraries are > built: date_time, filesystem, locale, regex, program_options and system. > > Any special instructions on how to get boost? > Should I rerun the entire install process from scratch? > J.
You have boost, just not enough of it. Geert added another dependency (libboost_program_options in the list above) for the command-line overhaul last month. If you're using a local gnucash.modules, pull a fresh one, then run jhbuild buildone -f --clean boost and check that $PREFIX/lib/libboost_program_options.dylib exists. If it doesn't you'll need to run jhbuild buildone again, stop it, and select 6 - delete directory and start over to make sure that the CMakeLists.txt gets updated. > On Jun 27, 2020, at 1:28 PM, jean <rip...@gmail.com> wrote: > > Is the cmake command still the same? > > cmake -G Xcode -D CMAKE_INSTALL_PREFIX=$PREFIX -D > GTEST_ROOT=$SRCROOT/googletest $SRCROOT/gnucash-git > > J. > Only for those who want to build with Xcode, which as you know has some issues. Otherwise use -G Ninja. Regards, John Ralls > On 6/27/20 1:05 PM, John Ralls wrote: >>> On Jun 27, 2020, at 11:29 AM, jean <rip...@gmail.com> wrote: >>> >>> I'm trying to built master (to repro a crash bug) but on macos I'm not >>> having any luck. >>> I'm getting a link error: >>> >>> "_gnc_assoc_get_path_head", referenced from: >>> _file_chooser_clear_cb in dialog-preferences.o >>> _file_chooser_selected_cb in dialog-preferences.o >>> "_gnc_assoc_get_unescape_uri", referenced from: >>> _gnc_prefs_connect_file_chooser_button in dialog-preferences.o >>> "_gnc_assoc_pref_path_head_changed", referenced from: >>> _file_chooser_clear_cb in dialog-preferences.o >>> _file_chooser_selected_cb in dialog-preferences.o >>> ld: symbol(s) not found for architecture x86_64 >>> clang: error: linker command failed with exit code 1 (use -v to see >>> invocation) >>> >>> >>> Any idea how to fix that? >> Uninstall, nuke the build directory, re-run cmake, then try the build again. >> Regards, >> John Ralls _______________________________________________ gnucash-devel mailing list gnucash-devel@gnucash.org https://lists.gnucash.org/mailman/listinfo/gnucash-devel