You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When opening audio-share-main\server-mfc\audio-share-server.sln on Visual Studio 2022 version 17 with C++ and MFC build tools installed, I get error :
Severity Code Description Project File Line Suppression State Details
Error MSB8066 Custom build for '....\protos\client.proto' exited with code 3. audio-share-server C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets 254
Which redirects me there:
The startup project is audio-share-server debug 64 and local windows Debugger, but it's the same error on all other settings debug or release settings, and with unit-test project I get one more error but I don't need unit tests for now.
Also I am not sure if have installed vcpkg correctly because I have no idea on how to set it up exactly for this project, and because of the first error I won't be able to know if it is installed it correctly.
In visual studio installer I have selected vcpkg package manager so it's integrated to VS studio.
What I did is launch audio-share-server.sln and open a Visual Studio Developer Powershell on audio-share-main\server-mfc
and typed the following commands : vcpkg new --application vcpkg add port asio protobuf spdlog[wchar] wil nlohmann-json vcpkg install --triplet=x64-windows-static-md
Which generated the following files:
"audio-share-main\server-mfc\vcpkg.json"
"audio-share-main\server-mfc\vcpkg-configuration"
And the following folder :
"audio-share-main\server-mfc\vcpkg_installed"
the packages are installed inside this folder I guess :
Still got the error, I think that the first error in VS studio is not linked to vcpkg or vcpkg should be mentionned in the error.
The text was updated successfully, but these errors were encountered:
ngfrank45
changed the title
[BUG] Compilation build error on Windows/Visual Studio + confusion on how to install vcpkg (newbie)
[BUG] Compilation build error on Windows/Visual Studio
Jan 14, 2025
When opening audio-share-main\server-mfc\audio-share-server.sln on Visual Studio 2022 version 17 with C++ and MFC build tools installed, I get error :
Severity Code Description Project File Line Suppression State Details
Error MSB8066 Custom build for '....\protos\client.proto' exited with code 3. audio-share-server C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets 254
Which redirects me there:
The startup project is audio-share-server debug 64 and local windows Debugger, but it's the same error on all other settings debug or release settings, and with unit-test project I get one more error but I don't need unit tests for now.
Also I am not sure if have installed vcpkg correctly because I have no idea on how to set it up exactly for this project, and because of the first error I won't be able to know if it is installed it correctly.
In visual studio installer I have selected vcpkg package manager so it's integrated to VS studio.
What I did is launch audio-share-server.sln and open a Visual Studio Developer Powershell on audio-share-main\server-mfc
and typed the following commands :
vcpkg new --application vcpkg add port asio protobuf spdlog[wchar] wil nlohmann-json vcpkg install --triplet=x64-windows-static-md
Which generated the following files:
"audio-share-main\server-mfc\vcpkg.json"
"audio-share-main\server-mfc\vcpkg-configuration"
And the following folder :
"audio-share-main\server-mfc\vcpkg_installed"
the packages are installed inside this folder I guess :
Still got the error, I think that the first error in VS studio is not linked to vcpkg or vcpkg should be mentionned in the error.
The text was updated successfully, but these errors were encountered: