[GNC-dev] Cannot build master on mac os
jean
ripngo at gmail.com
Sat Jun 27 16:28:34 EDT 2020
Is the cmake command still the same?
cmake -G Xcode -D CMAKE_INSTALL_PREFIX=$PREFIX -D
GTEST_ROOT=$SRCROOT/googletest $SRCROOT/gnucash-git
J.
On 6/27/20 1:05 PM, John Ralls wrote:
>
>
>> On Jun 27, 2020, at 11:29 AM, jean <ripngo at 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
>
More information about the gnucash-devel
mailing list