Am 21.07.2016 um 20:51 schrieb Richard Heck:

Source tarballs for LyX 2.2.1 have been uploaded to
ftp://ftp.lyx.org/pub/lyx/devel/lyx-2.2/2.2.1/. Please prepare binaries.

The tarball is not compilable for me because of a CMake issue:

"D:\LyXGit\LyX22\compile-2015\INSTALL.vcxproj" (Standardziel) (1) ->
(PostBuildEvent Ziel) ->
C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(133,5): error MSB3073: The command "setlocal\r [D:\LyXGit\LyX22\compile-2015\INSTALL.vcxproj] C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(133,5): error MSB3073: "C:\Program Files\CMake\bin\cmake.exe" -DBUILD_TYPE=Release -P cmake_install.cmake\r [D:\LyXGit\LyX22\compile-2015\INSTALL.vcxproj] C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(133,5): error MSB3073: if %errorlevel% neq 0 goto :cmEnd\r [D:\LyXGit\LyX22\compile-2015\INSTALL.vcxproj] C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(133,5): error MSB3073: :cmEnd\r [D:\LyXGit\LyX22\compile-2015\INSTALL.vcxproj] C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(133,5): error MSB3073: endlocal & call :cmErrorLevel %errorlevel% & goto :cmDone\r [D:\LyXGit\LyX22\compile-2015\INSTALL.vcxproj] C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(133,5): error MSB3073: :cmErrorLevel\r [D:\LyXGit\LyX22\compile-2015\INSTALL.vcxproj] C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(133,5): error MSB3073: exit /b %1\r [D:\LyXGit\LyX22\compile-2015\INSTALL.vcxproj] C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(133,5): error MSB3073: :cmDone\r [D:\LyXGit\LyX22\compile-2015\INSTALL.vcxproj] C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(133,5): error MSB3073: if %errorlevel% neq 0 goto :VCEnd\r [D:\LyXGit\LyX22\compile-2015\INSTALL.vcxproj] C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(133,5): error MSB3073: :VCEnd" was terminated with code 1. [D:\LyXGit\LyX22\compile-2015\INSTALL.vcxproj]

After 3 hours of fiddling around with this I gave up. It is a CMake issue that I don't understand. (I have admin privileges.) I can compile any other LyX branch I like using CMake 3.6.1 without any problems, I can also compile the tarball of 2.1.5 and 2.2.0 so there must be a bug in the 2.2.1 tarball.

Since I can compile the current 2.2.x branch without problems, I included the lyx.exe to the installer that I compiled of current 2.2.x branch (as I see the code is identic to the one when you prepared the binary).
Here is the installer:
http://ftp.lyx.de/LyX%202.2.1/

Since I released installers with lyx.exe compiled from tagged branches for years, I don't see why this should harm here. I have now other things to do and cannot work on LyX. Sorry. I can give it another try on Sunday.

(Btw., the tarball does not include the build5-2015.bat file because this is missing in the makefile. Seems that I forgot to add it there.)

regards Uwe

Reply via email to