-
Notifications
You must be signed in to change notification settings - Fork 714
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Install error #5682
Comments
Hi @bmarques1995, I'm afraid though we'd like to have them working properly, we don't use the cmake install rules ourselves and so they have some problems. I can't say when we might get to this, but if it's something you've resolved and would like to submit a pull request, we'd welcome the contribution! Thanks for the great bug report |
We don't expect the install target to work, but if someone wants to take the time to try and make it work we'd consider a PR for that. |
This is really old, i found a solution, using powershell |
Alternatively the |
Description
When you try to install the dxc, an error is occuring
Steps to Reproduce
build.cmd:
REM on dxc directory
set current_dir=%cd%
call ./utils/hct/hctstart %current_dir% %current_dir%\dependencies\dxc
call ./utils/hct/hctbuild -Release -no-parallel -installdir "%current_dir%\install"
cmake --build ./dependencies/dxc --config Release --target install
Actual Behavior
CMake Error at tools/llvm-as/cmake_install.cmake:39 (file):
file INSTALL cannot find
"F:/cpp/dxc_install/modules/dxc/dependencies/dxc/Release/bin/llvm-as.exe":
File exists.
Call Stack (most recent call first):
tools/cmake_install.cmake:47 (include)
cmake_install.cmake:117 (include)
C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(161,5): error MSB3073: O comando "setlocal [F:\cpp\dxc_install\modules\dxc\dependencies\dxc\install.vcxproj]
C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(161,5): error MSB3073: "C:\Program Files\CMake\bin\cmake.exe" -DBUILD_TYPE=Release -P cmake_install.cmake [F:\cpp\dxc_install\modules\dxc\dependencies\dxc\install.vcxproj]
C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(161,5): error MSB3073: if %errorlevel% neq 0 goto :cmEnd [F:\cpp\dxc_install\modules\dxc\dependencies\dxc\install.vcxproj]
C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(161,5): error MSB3073: :cmEnd [F:\cpp\dxc_install\modules\dxc\dependencies\dxc\install.vcxproj]
C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(161,5): error MSB3073: endlocal & call :cmErrorLevel %errorlevel% & goto :cmDone [F:\cpp\dxc_install\modules\dxc\dependencies\dxc\install.vcxproj]
C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(161,5): error MSB3073: :cmErrorLevel [F:\cpp\dxc_install\modules\dxc\dependencies\dxc\install.vcxproj]
C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(161,5): error MSB3073: exit /b %1 [F:\cpp\dxc_install\modules\dxc\dependencies\dxc\install.vcxproj]
C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(161,5): error MSB3073: :cmDone [F:\cpp\dxc_install\modules\dxc\dependencies\dxc\install.vcxproj]
C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(161,5): error MSB3073: if %errorlevel% neq 0 goto :VCEnd [F:\cpp\dxc_install\modules\dxc\dependencies\dxc\install.vcxproj]
C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(161,5): error MSB3073: :VCEnd" foi encerrado com o código 1. [F:\cpp\dxc_install\modules\dxc\dependencies\dxc\install.vcxproj]
Environment
The text was updated successfully, but these errors were encountered: