Error when setting up a local build
After cloning repo and running eng\Build-Dependencies.ps1 as mentioned here got this message:
PS C:\Users\leewaylod\source\repos\foo_scrobble_plus_new> C:\Users\leewaylod\Source\Repos\foo_scrobble_plus_new\eng\Build-Dependencies.ps1
Using vcpkg in C:\Users\leewaylod\Source\Repos\foo_scrobble_plus_new\artifacts\vcpkg
Cleaning buildtrees...
Cleaning downloads...
Cleaning installed...
Cleaning packages...
Cleaning vcpkg.exe...
Cleaning done
From https://github.com/microsoft/vcpkg
* branch b4c94da052e881f8cb5044d8e5b88f5ff1f0519f -> FETCH_HEAD
HEAD is now at b4c94da05 [outcome] Fix MSVC compiler error in C++20 mode
Downloading https://github.com/microsoft/vcpkg-tool/releases/download/2022-08-24/vcpkg.exe -> C:\Users\leewaylod\source\repos\foo_scrobble_plus_new\artifacts\vcpkg\vcpkg.exe... done.
Validating signature... done.
Error: invalid triplet: x86-windows-static-md-noiso Available architecture triplets VCPKG built-in triplets: arm-neon-android arm64-android arm64-osx arm64-uwp arm64-windows x64-android x64-linux x64-osx x64-uwp x64-windows-static x64-windows x86-windows VCPKG community triplets: arm-android arm-ios arm-linux-release arm-linux arm-mingw-dynamic arm-mingw-static arm-uwp-static-md arm-uwp arm-windows-static arm-windows arm64-ios-release arm64-ios-simulator-release arm64-ios-simulator arm64-ios arm64-linux-release arm64-linux arm64-mingw-dynamic arm64-mingw-static arm64-osx-dynamic arm64-osx-release arm64-uwp-static-md arm64-windows-static-md arm64-windows-static-release arm64-windows-static arm64ec-windows armv6-android loongarch32-linux-release loongarch32-linux loongarch64-linux-release loongarch64-linux mips64-linux ppc64le-linux-release ppc64le-linux riscv32-linux-release riscv32-linux riscv64-linux-release riscv64-linux s390x-linux-release s390x-linux wasm32-emscripten x64-freebsd x64-ios x64-linux-dynamic x64-linux-release x64-mingw-dynamic x64-mingw-static x64-openbsd x64-osx-dynamic x64-osx-release x64-uwp-static-md x64-windows-release x64-windows-static-md-release x64-windows-static-md x64-windows-static-release x64-xbox-scarlett-static x64-xbox-scarlett x64-xbox-xboxone-static x64-xbox-xboxone x86-android x86-freebsd x86-ios x86-linux x86-mingw-dynamic x86-mingw-static x86-uwp-static-md x86-uwp x86-windows-static-md x86-windows-static x86-windows-v120
Exception: C:\Users\leewaylod\Source\Repos\foo_scrobble_plus_new\eng\Build-Dependencies.ps1:138
Line |
138 | throw $Failure
| ~~~~~~~~~~~~~~
| vcpkg install failed
It seems like vcpkg cannot find x86-windows-static-md-noiso
Please help...
Expanding on issue #46; I did install PowerShell 7 and ran eng\Build-Dependencies.ps1 with it
These should have been copied from foo_scrobble\eng\cmake to artifacts\vcpkg\triplets (see line 188 in eng\Build-Dependencies.ps1).
These files are present:
Still the same error:
Any ideas? Maybe i should specify CMakeLists.txt? (Visual Studio seems to want me to do it)
And if i should how do i find it?
These files are present:
Then I have no idea why it doesn't work. You could check with Process Monitor (with a filter "Path" "contains" "x86-windows-static-md-noiso.cmake") where vcpkg attempts to look for it.
Does it build the component on your machine? If so, please, can you make for change to one line of code (line 23) to
constexpr SecondsD MinRequiredTrackLength{1.0};
(or somehow remove the check for minimum length entirely) and build it for me?
I really need to scrobble tracks under 30 sec (I have some hardcore punk albums for example that contain many songs in range of 15 - 20 sec). I'm trying to compile your repo for 8 hours now, making changes to Build-Dependencies.ps1 and all other files but nothing seems to work...
Please contact me at [email protected].
I have the same issue, but this is the error I get
I have the same issue, but this is the error I get
Hello! I switched to listenbrainz.org and this component. It builds normally, if you want to scrobble tracks that are less than 5 sec long you can change same value in check of length.
It is truly superior component and scrobble system overall.