Closed defiantnerd closed 2 weeks ago
First of all, thank you for your interest in xtd.
Indeed, there is a problem when installing xtd on Windows. I recently added the ability to save the installation process using a special tee.cmd command. Unfortunately, this command doesn't work as expected. I have temporarily removed this option until it works properly.
The second problem is that in the documentation I forgot to specify that the command prompt must be run in "administrator" mode. This has now been corrected.
This was in Administrator mode, as reported in the issue. I am also curious why it needs an install.
The problem came from tee.cmd. You can reinstall it in administrator mode. You need to delete the build folder.
xtd is compiled and installed with CMake.
To find the dependency libraries for a project, CMake will search by default for the Windows OS in C:\Program Files (x86)\lib_name path. It is of course possible to install a library elsewhere, but in this case you need to specify where the library is installed when generating the project. You can modify the cmake_install_prefix variable, in which case the installation will take place where you decide.
You can also use a package manager such as VCPKG to manage project installation. But xtd does not currently use a package manager other than the default CMake one.
xtd is therefore installed by default in C:\Program Files (x86)\xtd, which is why you need to be in administrator mode to install xtd. For more information read the CMake documentation.
Describe the bug
xtd does not install on Windows 11
To Reproduce
Steps to reproduce the behavior:
install
Expected behaviour
install and work
Screenshots
This is the content of the "build/install.log":
The terminal shows this:
At one point in time it seems stuck and I hit ENTER once with the result that it immediately continued with cloning wxWidgets. It also never displays any progress or what the script tries to do.
Desktop
Workaround
none available.