clap-plugins icon indicating copy to clipboard operation
clap-plugins copied to clipboard

Build Script overwriting system files on Windows 10

Open tarnith opened this issue 2 years ago • 2 comments

Hello,

I tried running the buildscript and it overwrote C:\B\ with QT as part of the process.

This was already in use for something else. Luckily I keep backups.

Why would this script be writing over existing folders?

Thanks

tarnith avatar May 04 '23 19:05 tarnith

because of windows/cmake/ninja poor support for long path, Qt needs to be built almost at the root :/

abique avatar May 05 '23 09:05 abique

[DEBUG] D:\a_work\1\s\src\vcpkg\install.cpp(567): Why is it also writing to D drive? It does not know what is on D?

I haven't worked with vcpkg before, but there seems to be a lot of odd activity going on.

Building from C:\temp\B doesn't result in any immediate errors (is vcpkg really so long it hits the 32k path limit?)

While attempting to run in C:\temp\B I do get a different error that on first inspection doesn't appear to be path length related.

I think I'll just build the headless versions, I don't care about the GUI implementation with QT anyway.

vcpkgerror.log

tarnith avatar May 05 '23 17:05 tarnith