I get 2 CMake errors preventing LyX to be compiled:

>  -- Install configuration: "Release"
  CMake Error at cmake_install.cmake:31 (file):
file cannot create directory: C:/Program Files (x86)/LyX/Resources/bind/..
    Maybe need administrative privileges.

I don't compile LyX in this directory but in
D:\LyXGit\Master\compile-result
The path
D:\LyXGit\2.1.x\compile-result
does simple not exist in my system and I don't know why CMake tries to access a non-existing directory.

Second error:

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

I don't know what this means and this error does not appear when compiling master.

Kornel, maybe you could help?

thanks and regards
Uwe

Reply via email to