LINK : fatal error LNK1181: cannot open input file 'brotlicommon.lib'
I've encountered an error when trying to build the Tracy server on Windows
I'm using Tracy v0.10, Visual Studio 2022 17.7.6. When I try to build the VS Solution in the profiler folder, I get the error in the title of this issue
I have a library called brotlicommon-static.lib in vcpkg/packages/protlie_x64-windows-static/lib. All the brotli libs in that directory end in -static, in fact
It appears that brotli has caused issues before. https://github.com/wolfpld/tracy/issues/627 appears to be the opposite of my issue - Tracy wanted to link against brotlicommon-static, but the brotli lib was just called brotlicommon
If I install dependencies with the included script vcpkg\install_vcpkg_dependencies.bat1 instead of using my standalone vcpkg installation, the build succeeds. Maybe the latest version of brotli or freetype in the official vcpkg repo renamed the libraries, and the version the script installs is from before that?
The script will install the latest versions of the libraries available in vcpkg. Are you sure you have an up-to-date set of libraries in your vcpkg checkout?