On Wed, 30 Dec 2020 at 19:32, Yu Jin <yu_...@lyx.org> wrote: > Am Mi., 30. Dez. 2020 um 18:40 Uhr schrieb Scott Kostyshak < > skost...@lyx.org>: > >> On Wed, Dec 30, 2020 at 06:32:35PM +0100, Yu Jin wrote: >> > Am Di., 29. Dez. 2020 um 18:13 Uhr schrieb Richard Kimberly Heck < >> > rikih...@lyx.org>: >> > >> > > Hi, all, >> > > >> > > I've built tarballs for LyX 2.4.0-alpha1 and placed them here: >> > > >> > > http://ftp.lyx.org/ftp/pub/lyx/devel/lyx-2.4/ >> > > >> > > Please prepare binaries. Sorry for doing this right on top of 2.3.6.1, >> > > but it seemed worth doing while I had a few moments! >> > > >> > > Further info to come on moves toward 2.4.0. >> > > >> > >> > These tarballs don't work for me, CMake configure says >> > CMake Error at development/cmake/modules/LyXMacros.cmake:469 (message): >> > "C:/lyx/lyx-2.4.0-alpha1/configure.ac": Unable to determine >> build-type >> > from >> > suffix "" in AC_INIT macro >> > Call Stack (most recent call first): >> > CMakeLists.txt:120 (determineversionandbuildtype) >> > >> > Can you help me out with a fix here so I can test everything else >> before we >> > go into the second round or so? >> >> Kornel fixed it here: c07278a45c1d23d1ff8a2ed67e3cd8603680df12. >> > > Ah thank you. Unfortunately I can't compile LyX, i get these errors: > > Severity Code Description Project File Line Suppression State > Error MSB3073 The command "setlocal > "C:\Program Files\CMake\bin\cmake.exe" -DBUILD_TYPE=Release -P > cmake_install.cmake > if %errorlevel% neq 0 goto :cmEnd > :cmEnd > endlocal & call :cmErrorLevel %errorlevel% & goto :cmDone > :cmErrorLevel > exit /b %1 > :cmDone > if %errorlevel% neq 0 goto :VCEnd > :VCEnd" exited with code 1. INSTALL C:\Program Files (x86)\Microsoft > Visual > Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets > 153 > Error C2039 'result_of': is not a member of 'std' LyX > (applications\LyX\LyX) C:\lyx\lyx-2.4.0-alpha1\3rdparty\nod\nod.hpp 272 > Error C2653 'result_of': is not a class or namespace name LyX > (applications\LyX\LyX) C:\lyx\lyx-2.4.0-alpha1\3rdparty\nod\nod.hpp 272 > Error C2146 syntax error: missing ';' before identifier 'type' LyX > (applications\LyX\LyX) C:\lyx\lyx-2.4.0-alpha1\3rdparty\nod\nod.hpp 272 > Error C4430 missing type specifier - int assumed. Note: C++ does not > support default-int LyX (applications\LyX\LyX) > C:\lyx\lyx-2.4.0-alpha1\3rdparty\nod\nod.hpp 272 > Error C2039 'result_of': is not a member of 'std' LyX > (applications\LyX\LyX) C:\lyx\lyx-2.4.0-alpha1\3rdparty\nod\nod.hpp 272 > Error C2653 'result_of': is not a class or namespace name LyX > (applications\LyX\LyX) C:\lyx\lyx-2.4.0-alpha1\3rdparty\nod\nod.hpp 272 > Error C2146 syntax error: missing ';' before identifier 'type' LyX > (applications\LyX\LyX) C:\lyx\lyx-2.4.0-alpha1\3rdparty\nod\nod.hpp 272 > Error C4430 missing type specifier - int assumed. Note: C++ does not > support default-int LyX (applications\LyX\LyX) > C:\lyx\lyx-2.4.0-alpha1\3rdparty\nod\nod.hpp 272 > Error C2446 ':': no conversion from 'const _Ty' to > 'std::_List_const_iterator<std::_List_val<std::_List_simple_types<_Ty>>>' > LyX (applications\LyX\LyX) > C:\lyx\lyx-2.4.0-alpha1\src\support\RandomAccessList.h 299 > Error C2039 'result_of': is not a member of 'std' LyX > (applications\LyX\LyX) C:\lyx\lyx-2.4.0-alpha1\3rdparty\nod\nod.hpp 272 > Error C2653 'result_of': is not a class or namespace name LyX > (applications\LyX\LyX) C:\lyx\lyx-2.4.0-alpha1\3rdparty\nod\nod.hpp 272 > Error C2146 syntax error: missing ';' before identifier 'type' LyX > (applications\LyX\LyX) C:\lyx\lyx-2.4.0-alpha1\3rdparty\nod\nod.hpp 272 > Error C4430 missing type specifier - int assumed. Note: C++ does not > support default-int LyX (applications\LyX\LyX) > C:\lyx\lyx-2.4.0-alpha1\3rdparty\nod\nod.hpp 272 > Error C2446 ':': no conversion from 'const _Ty' to > 'std::_List_const_iterator<std::_List_val<std::_List_simple_types<_Ty>>>' > LyX (applications\LyX\LyX) > C:\lyx\lyx-2.4.0-alpha1\src\support\RandomAccessList.h 299 > Error C2039 'result_of': is not a member of 'std' LyX > (applications\LyX\LyX) C:\lyx\lyx-2.4.0-alpha1\3rdparty\nod\nod.hpp 272 > Error C2653 'result_of': is not a class or namespace name LyX > (applications\LyX\LyX) C:\lyx\lyx-2.4.0-alpha1\3rdparty\nod\nod.hpp 272 > Error C2146 syntax error: missing ';' before identifier 'type' LyX > (applications\LyX\LyX) C:\lyx\lyx-2.4.0-alpha1\3rdparty\nod\nod.hpp 272 > Error C4430 missing type specifier - int assumed. Note: C++ does not > support default-int LyX (applications\LyX\LyX) > C:\lyx\lyx-2.4.0-alpha1\3rdparty\nod\nod.hpp 272 > Error C2446 ':': no conversion from 'const _Ty' to > 'std::_List_const_iterator<std::_List_val<std::_List_simple_types<_Ty>>>' > LyX (applications\LyX\LyX) > C:\lyx\lyx-2.4.0-alpha1\src\support\RandomAccessList.h 299 > Error C2446 ':': no conversion from 'const _Ty' to > 'std::_List_const_iterator<std::_List_val<std::_List_simple_types<_Ty>>>' > LyX (applications\LyX\LyX) > C:\lyx\lyx-2.4.0-alpha1\src\support\RandomAccessList.h 299 > Error C2446 ':': no conversion from 'const _Ty' to > 'std::_List_const_iterator<std::_List_val<std::_List_simple_types<_Ty>>>' > LyX (applications\LyX\LyX) > C:\lyx\lyx-2.4.0-alpha1\src\support\RandomAccessList.h 299 > Error LNK1181 cannot open input file '..\..\bin\Release\support.lib' > check_ExternalTransforms C:\lyx\lyx-2.4.0-alpha1-build-64\src\tests\LINK 1 > Error LNK1181 cannot open input file '..\..\bin\Release\support.lib' > check_Length C:\lyx\lyx-2.4.0-alpha1-build-64\src\tests\LINK 1 > Error LNK1181 cannot open input file '..\..\bin\Release\support.lib' > check_ListingsCaption C:\lyx\lyx-2.4.0-alpha1-build-64\src\tests\LINK 1 > Error LNK1181 cannot open input file '..\..\..\bin\Release\support.lib' > check_convert C:\lyx\lyx-2.4.0-alpha1-build-64\src\support\tests\LINK 1 > Error LNK1181 cannot open input file '..\..\..\bin\Release\support.lib' > check_filetools C:\lyx\lyx-2.4.0-alpha1-build-64\src\support\tests\LINK 1 > Error LNK1181 cannot open input file '..\..\bin\Release\support.lib' > check_layout C:\lyx\lyx-2.4.0-alpha1-build-64\src\tests\LINK 1 > Error LNK1181 cannot open input file '..\..\..\bin\Release\support.lib' > check_lstrings C:\lyx\lyx-2.4.0-alpha1-build-64\src\support\tests\LINK 1 > Error C2039 'result_of': is not a member of 'std' frontend_qt > C:\lyx\lyx-2.4.0-alpha1\3rdparty\nod\nod.hpp 272 > Error C2653 'result_of': is not a class or namespace name frontend_qt > C:\lyx\lyx-2.4.0-alpha1\3rdparty\nod\nod.hpp 272 > Error C2146 syntax error: missing ';' before identifier 'type' frontend_qt > C:\lyx\lyx-2.4.0-alpha1\3rdparty\nod\nod.hpp 272 > Error C4430 missing type specifier - int assumed. Note: C++ does not > support default-int frontend_qt > C:\lyx\lyx-2.4.0-alpha1\3rdparty\nod\nod.hpp 272 > Error C2039 'result_of': is not a member of 'std' frontend_qt > C:\lyx\lyx-2.4.0-alpha1\3rdparty\nod\nod.hpp 272 > Error C2653 'result_of': is not a class or namespace name frontend_qt > C:\lyx\lyx-2.4.0-alpha1\3rdparty\nod\nod.hpp 272 > Error C2146 syntax error: missing ';' before identifier 'type' frontend_qt > C:\lyx\lyx-2.4.0-alpha1\3rdparty\nod\nod.hpp 272 > Error C4430 missing type specifier - int assumed. Note: C++ does not > support default-int frontend_qt > C:\lyx\lyx-2.4.0-alpha1\3rdparty\nod\nod.hpp 272 > Error C2039 'result_of': is not a member of 'std' frontend_qt > C:\lyx\lyx-2.4.0-alpha1\3rdparty\nod\nod.hpp 272 > Error C2653 'result_of': is not a class or namespace name frontend_qt > C:\lyx\lyx-2.4.0-alpha1\3rdparty\nod\nod.hpp 272 > Error C2146 syntax error: missing ';' before identifier 'type' frontend_qt > C:\lyx\lyx-2.4.0-alpha1\3rdparty\nod\nod.hpp 272 > Error C4430 missing type specifier - int assumed. Note: C++ does not > support default-int frontend_qt > C:\lyx\lyx-2.4.0-alpha1\3rdparty\nod\nod.hpp 272 > Error C2039 'result_of': is not a member of 'std' frontend_qt > C:\lyx\lyx-2.4.0-alpha1\3rdparty\nod\nod.hpp 272 > Error C2653 'result_of': is not a class or namespace name frontend_qt > C:\lyx\lyx-2.4.0-alpha1\3rdparty\nod\nod.hpp 272 > Error C2146 syntax error: missing ';' before identifier 'type' frontend_qt > C:\lyx\lyx-2.4.0-alpha1\3rdparty\nod\nod.hpp 272 > Error C4430 missing type specifier - int assumed. Note: C++ does not > support default-int frontend_qt > C:\lyx\lyx-2.4.0-alpha1\3rdparty\nod\nod.hpp 272 > Error C2039 'result_of': is not a member of 'std' frontend_qt > C:\lyx\lyx-2.4.0-alpha1\3rdparty\nod\nod.hpp 272 > Error C2653 'result_of': is not a class or namespace name frontend_qt > C:\lyx\lyx-2.4.0-alpha1\3rdparty\nod\nod.hpp 272 > Error C2146 syntax error: missing ';' before identifier 'type' frontend_qt > C:\lyx\lyx-2.4.0-alpha1\3rdparty\nod\nod.hpp 272 > Error C4430 missing type specifier - int assumed. Note: C++ does not > support default-int frontend_qt > C:\lyx\lyx-2.4.0-alpha1\3rdparty\nod\nod.hpp 272 > Error C2039 'result_of': is not a member of 'std' graphics > C:\lyx\lyx-2.4.0-alpha1\3rdparty\nod\nod.hpp 272 > Error C2653 'result_of': is not a class or namespace name graphics > C:\lyx\lyx-2.4.0-alpha1\3rdparty\nod\nod.hpp 272 > Error C2146 syntax error: missing ';' before identifier 'type' graphics > C:\lyx\lyx-2.4.0-alpha1\3rdparty\nod\nod.hpp 272 > Error C4430 missing type specifier - int assumed. Note: C++ does not > support default-int graphics C:\lyx\lyx-2.4.0-alpha1\3rdparty\nod\nod.hpp > 272 > Error C2039 'result_of': is not a member of 'std' graphics > C:\lyx\lyx-2.4.0-alpha1\3rdparty\nod\nod.hpp 272 > Error C2653 'result_of': is not a class or namespace name graphics > C:\lyx\lyx-2.4.0-alpha1\3rdparty\nod\nod.hpp 272 > Error C2146 syntax error: missing ';' before identifier 'type' graphics > C:\lyx\lyx-2.4.0-alpha1\3rdparty\nod\nod.hpp 272 > Error C4430 missing type specifier - int assumed. Note: C++ does not > support default-int graphics C:\lyx\lyx-2.4.0-alpha1\3rdparty\nod\nod.hpp > 272 > Error C2039 'result_of': is not a member of 'std' graphics > C:\lyx\lyx-2.4.0-alpha1\3rdparty\nod\nod.hpp 272 > Error C2653 'result_of': is not a class or namespace name graphics > C:\lyx\lyx-2.4.0-alpha1\3rdparty\nod\nod.hpp 272 > Error C2146 syntax error: missing ';' before identifier 'type' graphics > C:\lyx\lyx-2.4.0-alpha1\3rdparty\nod\nod.hpp 272 > Error C4430 missing type specifier - int assumed. Note: C++ does not > support default-int graphics C:\lyx\lyx-2.4.0-alpha1\3rdparty\nod\nod.hpp > 272 > Error C2039 'result_of': is not a member of 'std' graphics > C:\lyx\lyx-2.4.0-alpha1\3rdparty\nod\nod.hpp 272 > Error C2653 'result_of': is not a class or namespace name graphics > C:\lyx\lyx-2.4.0-alpha1\3rdparty\nod\nod.hpp 272 > Error C2146 syntax error: missing ';' before identifier 'type' graphics > C:\lyx\lyx-2.4.0-alpha1\3rdparty\nod\nod.hpp 272 > Error C4430 missing type specifier - int assumed. Note: C++ does not > support default-int graphics C:\lyx\lyx-2.4.0-alpha1\3rdparty\nod\nod.hpp > 272 > Error C2039 'result_of': is not a member of 'std' graphics > C:\lyx\lyx-2.4.0-alpha1\3rdparty\nod\nod.hpp 272 > Error C2653 'result_of': is not a class or namespace name graphics > C:\lyx\lyx-2.4.0-alpha1\3rdparty\nod\nod.hpp 272 > Error C2146 syntax error: missing ';' before identifier 'type' graphics > C:\lyx\lyx-2.4.0-alpha1\3rdparty\nod\nod.hpp 272 > Error C4430 missing type specifier - int assumed. Note: C++ does not > support default-int graphics C:\lyx\lyx-2.4.0-alpha1\3rdparty\nod\nod.hpp > 272 > Error C2039 'result_of': is not a member of 'std' graphics > C:\lyx\lyx-2.4.0-alpha1\3rdparty\nod\nod.hpp 272 > Error C2653 'result_of': is not a class or namespace name graphics > C:\lyx\lyx-2.4.0-alpha1\3rdparty\nod\nod.hpp 272 > Error C2146 syntax error: missing ';' before identifier 'type' graphics > C:\lyx\lyx-2.4.0-alpha1\3rdparty\nod\nod.hpp 272 > Error C4430 missing type specifier - int assumed. Note: C++ does not > support default-int graphics C:\lyx\lyx-2.4.0-alpha1\3rdparty\nod\nod.hpp > 272 > Error C2039 'result_of': is not a member of 'std' insets > C:\lyx\lyx-2.4.0-alpha1\3rdparty\nod\nod.hpp 272 > Error C2653 'result_of': is not a class or namespace name insets > C:\lyx\lyx-2.4.0-alpha1\3rdparty\nod\nod.hpp 272 > Error C2146 syntax error: missing ';' before identifier 'type' insets > C:\lyx\lyx-2.4.0-alpha1\3rdparty\nod\nod.hpp 272 > Error C4430 missing type specifier - int assumed. Note: C++ does not > support default-int insets C:\lyx\lyx-2.4.0-alpha1\3rdparty\nod\nod.hpp 272 > Error C2039 'result_of': is not a member of 'std' insets > C:\lyx\lyx-2.4.0-alpha1\3rdparty\nod\nod.hpp 272 > Error C2653 'result_of': is not a class or namespace name insets > C:\lyx\lyx-2.4.0-alpha1\3rdparty\nod\nod.hpp 272 > Error C2146 syntax error: missing ';' before identifier 'type' insets > C:\lyx\lyx-2.4.0-alpha1\3rdparty\nod\nod.hpp 272 > Error C4430 missing type specifier - int assumed. Note: C++ does not > support default-int insets C:\lyx\lyx-2.4.0-alpha1\3rdparty\nod\nod.hpp 272 > Error C2039 'result_of': is not a member of 'std' insets > C:\lyx\lyx-2.4.0-alpha1\3rdparty\nod\nod.hpp 272 > Error C2653 'result_of': is not a class or namespace name insets > C:\lyx\lyx-2.4.0-alpha1\3rdparty\nod\nod.hpp 272 > Error C2146 syntax error: missing ';' before identifier 'type' insets > C:\lyx\lyx-2.4.0-alpha1\3rdparty\nod\nod.hpp 272 > Error C4430 missing type specifier - int assumed. Note: C++ does not > support default-int insets C:\lyx\lyx-2.4.0-alpha1\3rdparty\nod\nod.hpp 272 > Error C2039 'result_of': is not a member of 'std' insets > C:\lyx\lyx-2.4.0-alpha1\3rdparty\nod\nod.hpp 272 > Error C2653 'result_of': is not a class or namespace name insets > C:\lyx\lyx-2.4.0-alpha1\3rdparty\nod\nod.hpp 272 > Error C2146 syntax error: missing ';' before identifier 'type' insets > C:\lyx\lyx-2.4.0-alpha1\3rdparty\nod\nod.hpp 272 > Error C4430 missing type specifier - int assumed. Note: C++ does not > support default-int insets C:\lyx\lyx-2.4.0-alpha1\3rdparty\nod\nod.hpp 272 > Error C2039 'result_of': is not a member of 'std' insets > C:\lyx\lyx-2.4.0-alpha1\3rdparty\nod\nod.hpp 272 > Error C2653 'result_of': is not a class or namespace name insets > C:\lyx\lyx-2.4.0-alpha1\3rdparty\nod\nod.hpp 272 > Error C2146 syntax error: missing ';' before identifier 'type' insets > C:\lyx\lyx-2.4.0-alpha1\3rdparty\nod\nod.hpp 272 > Error C4430 missing type specifier - int assumed. Note: C++ does not > support default-int insets C:\lyx\lyx-2.4.0-alpha1\3rdparty\nod\nod.hpp 272 > Error C2039 'result_of': is not a member of 'std' insets > C:\lyx\lyx-2.4.0-alpha1\3rdparty\nod\nod.hpp 272 > Error C2653 'result_of': is not a class or namespace name insets > C:\lyx\lyx-2.4.0-alpha1\3rdparty\nod\nod.hpp 272 > Error C2146 syntax error: missing ';' before identifier 'type' insets > C:\lyx\lyx-2.4.0-alpha1\3rdparty\nod\nod.hpp 272 > Error C4430 missing type specifier - int assumed. Note: C++ does not > support default-int insets C:\lyx\lyx-2.4.0-alpha1\3rdparty\nod\nod.hpp 272 > Error C2039 'result_of': is not a member of 'std' insets > C:\lyx\lyx-2.4.0-alpha1\3rdparty\nod\nod.hpp 272 > Error C2653 'result_of': is not a class or namespace name insets > C:\lyx\lyx-2.4.0-alpha1\3rdparty\nod\nod.hpp 272 > Error C2146 syntax error: missing ';' before identifier 'type' insets > C:\lyx\lyx-2.4.0-alpha1\3rdparty\nod\nod.hpp 272 > Error C4430 missing type specifier - int assumed. Note: C++ does not > support default-int insets C:\lyx\lyx-2.4.0-alpha1\3rdparty\nod\nod.hpp 272 > Error C2039 'result_of': is not a member of 'std' mathed > C:\lyx\lyx-2.4.0-alpha1\3rdparty\nod\nod.hpp 272 > Error C2653 'result_of': is not a class or namespace name mathed > C:\lyx\lyx-2.4.0-alpha1\3rdparty\nod\nod.hpp 272 > Error C2146 syntax error: missing ';' before identifier 'type' mathed > C:\lyx\lyx-2.4.0-alpha1\3rdparty\nod\nod.hpp 272 > Error C4430 missing type specifier - int assumed. Note: C++ does not > support default-int mathed C:\lyx\lyx-2.4.0-alpha1\3rdparty\nod\nod.hpp 272 > Error C2039 'result_of': is not a member of 'std' mathed > C:\lyx\lyx-2.4.0-alpha1\3rdparty\nod\nod.hpp 272 > Error C2653 'result_of': is not a class or namespace name mathed > C:\lyx\lyx-2.4.0-alpha1\3rdparty\nod\nod.hpp 272 > Error C2146 syntax error: missing ';' before identifier 'type' mathed > C:\lyx\lyx-2.4.0-alpha1\3rdparty\nod\nod.hpp 272 > Error C4430 missing type specifier - int assumed. Note: C++ does not > support default-int mathed C:\lyx\lyx-2.4.0-alpha1\3rdparty\nod\nod.hpp 272 > Error C2039 'result_of': is not a member of 'std' support > (applications\LyX\support) C:\lyx\lyx-2.4.0-alpha1\3rdparty\nod\nod.hpp 272 > Error C2653 'result_of': is not a class or namespace name support > (applications\LyX\support) C:\lyx\lyx-2.4.0-alpha1\3rdparty\nod\nod.hpp 272 > Error C2146 syntax error: missing ';' before identifier 'type' support > (applications\LyX\support) C:\lyx\lyx-2.4.0-alpha1\3rdparty\nod\nod.hpp 272 > Error C4430 missing type specifier - int assumed. Note: C++ does not > support default-int support (applications\LyX\support) > C:\lyx\lyx-2.4.0-alpha1\3rdparty\nod\nod.hpp 272 > Error C2039 'result_of': is not a member of 'std' support > (applications\LyX\support) C:\lyx\lyx-2.4.0-alpha1\3rdparty\nod\nod.hpp 272 > Error C2653 'result_of': is not a class or namespace name support > (applications\LyX\support) C:\lyx\lyx-2.4.0-alpha1\3rdparty\nod\nod.hpp 272 > Error C2146 syntax error: missing ';' before identifier 'type' support > (applications\LyX\support) C:\lyx\lyx-2.4.0-alpha1\3rdparty\nod\nod.hpp 272 > Error C4430 missing type specifier - int assumed. Note: C++ does not > support default-int support (applications\LyX\support) > C:\lyx\lyx-2.4.0-alpha1\3rdparty\nod\nod.hpp 272 > Error C2039 'result_of': is not a member of 'std' support > (applications\LyX\support) C:\lyx\lyx-2.4.0-alpha1\3rdparty\nod\nod.hpp 272 > Error C2653 'result_of': is not a class or namespace name support > (applications\LyX\support) C:\lyx\lyx-2.4.0-alpha1\3rdparty\nod\nod.hpp 272 > Error C2146 syntax error: missing ';' before identifier 'type' support > (applications\LyX\support) C:\lyx\lyx-2.4.0-alpha1\3rdparty\nod\nod.hpp 272 > Error C4430 missing type specifier - int assumed. Note: C++ does not > support default-int support (applications\LyX\support) > C:\lyx\lyx-2.4.0-alpha1\3rdparty\nod\nod.hpp 272 > Error LNK1181 cannot open input file '..\..\bin\Release\support.lib' > tex2lyx (applications\TeX2LyX\tex2lyx) > C:\lyx\lyx-2.4.0-alpha1-build-64\src\tex2lyx\LINK 1 >
This error is already the topic of another discussion on the list: http://lists.lyx.org/pipermail/lyx-devel/2020-December/004984.html. For now, you can use the patch at http://lists.lyx.org/pipermail/lyx-devel/2020-December/004991.html, but it's probably not its final form: a better solution would be to add the right flag when calling MSVC.
-- lyx-devel mailing list lyx-devel@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-devel