alien
alien copied to clipboard
Problem on building the sources on Windows
i built the source by following the direction on readme but finally failed. and idk how to descripe my problem, so i share a screenshot which contains whole process i have done on cmd.
i tried to find the cause of problem on building process, and summarized two potential attribution: i don't install Nsight Visual Studio Edition on installing CUDA because it is always failed, and i don't do anything to configurate the ide because i don't know how to do so.
It should be sufficient to install Visual Studio 2022 and CUDA Toolkit. In your case it already fails at the installation of the package manager vcpkg. There is a log file mentioned in the message. What is written there?
It should be sufficient to install Visual Studio 2022 and CUDA Toolkit. In your case it already fails at the installation of the package manager vcpkg. There is a log file mentioned in the message. What is written there?
do you mean error MSB1009? it is "project file don't exist". and then "switch: All_BUILD.vcxproj"
do you mean error MSB1009? it is "project file don't exist". and then "switch: All_BUILD.vcxproj"
In your first message there is written: "See logs for more information: C:\User[...]\vcpkg-bootstrap.log" Maybe in this log-file are more details about your problem.
How did you install CMake?
You can install it using the Visual Studio 2022 installer.
Does that solves the problem?
oh, sorry, now i finally understand your meaning. i have installed CMake tools for Windows, and this doesn't work. the log file in build folder is said:"'powershell.exe' is not an internal or external command, nor is it a runnable program or batch file"
It seems that you need to install powershell: https://learn.microsoft.com/de-de/powershell (It was already installed on my system.)
thanks a lot, now i've installed powershell and add it to path system variable, so this 'powershell.exe' is not an internal or external command, nor is it a runnable program or batch file" solved, but i still met a new problem on building it.
this problem happened on cmake .. -DCMAKE_BUILD_TYPE=Release
i'm sure i'm using the latest portfiles with git pull
and .\vcpkg update
neither git pull --recurse-submodules
nor git switch d8783052cbf85bb5b1777b58b998c88d99357943 --detach
works
here are the error screenshot and the log file
CMake Error at scripts/cmake/vcpkg_execute_required_process.cmake:128 (message):
copy-tool-dependencies-0-err.log
CMake Error at external/vcpkg/scripts/buildsystems/vcpkg.cmake:836 (message):
vcpkg-manifest-install.log
thanks a lot, now i've installed powershell and add it to path system variable, so this 'powershell.exe' is not an internal or external command, nor is it a runnable program or batch file" solved, but i still met a new problem on building it. this problem happened on
cmake .. -DCMAKE_BUILD_TYPE=Release
i'm sure i'm using the latest portfiles withgit pull
and.\vcpkg update
neithergit pull --recurse-submodules
norgit switch d8783052cbf85bb5b1777b58b998c88d99357943 --detach
works here are the error screenshot and the log file
The problem this time seems to be related to https://github.com/microsoft/vcpkg/issues/25322. The suggested solution there is "So I uninstalled PowerShell I downloaded from the Windows Store and re-downloaded it from another source."
very thanks, now i successfully built it. the problems solved