free-audio / clap-plugins

MIT License
61 stars 9 forks source link

Build Script overwriting system files on Windows 10 #13

Open tarnith opened 1 year ago

tarnith commented 1 year ago

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

abique commented 1 year ago

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

tarnith commented 1 year ago

[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