On 27/10/2018 16:14, Stephan Witt wrote:
Am 27.10.2018 um 15:40 schrieb Kornel Benko <kor...@lyx.org>:
Am Samstag, 27. Oktober 2018 15:20:02 CEST schrieb Stephan Witt
<st.w...@gmx.net>:
Am 27.10.2018 um 15:05 schrieb Kornel Benko <kor...@lyx.org>:
Am Samstag, 27. Oktober 2018 14:33:04 CEST schrieb Stephan Witt
<st.w...@gmx.net>:
Am 26.10.2018 um 10:03 schrieb Kornel Benko <kor...@lyx.org>:
Am Freitag, 26. Oktober 2018 07:58:21 CEST schrieb Daniel <xraco...@gmx.de>:
C:\Qt\5.9.7\msvc2015\include\QtCore\qcompilerdetection.h 1352
Error LNK2019 unresolved external symbol "public: class
std::basic_string<unsigned int,struct std::char_traits<unsigned
int>,class std::allocator<unsigned int> > const __thiscall
lyx::Messages::getIfFound(class std::basic_string<char,struct
std::char_traits<char>,class std::allocator<char> > const &)const "
(?getIfFound@Messages@lyx@@QBE?BV?$basic_string@IU?$char_traits@I@std@@V?
This is defined in src/support/Messages.cpp. Don't know why it is unresolved.
The support dir is always handled, independent of using install.
It depends on ENABLE_NLS. If it is not enabled getIfFound is missing.
I don’t know how the correct implementation of it should be if NLS is disabled.
Stephan
Create a dummy variant?
Of course. But should the implementation return an empty docstring or the
parameter m?
Stephan
Since no translations are available, 'return docstring();' IMHO.
Kornel
I did it now. I read the comment of 30ec879d3a too and think it was the right
thing.
Stephan
Thanks. Compiles for me quickly without errors with NLS (and INSTALL)
deactivated.
Daniel