Skip to content

Vcpkg error when building from sources #660

@jaybi

Description

@jaybi

Hi,

Config :
MVSC 2022
vcpkg 2023-09-15-ac02a9f660977426b8ec6392919fbb1d51b10998
source https://github.com/OpenVPN/openvpn-gui 11.46.0.0 branch:master

I tried to build from sources using this : https://community.openvpn.net/openvpn/wiki/BuildingOpenVPN-GUI
But when I tried I got a misconfiguration of vcpkg :

PS C:\Users\xxx\Code\openvpn-gui> cmake -S . --preset x64
Preset CMake variables:

  CMAKE_TOOLCHAIN_FILE:FILEPATH="C:\Program Files\Microsoft Visual Studio\2022\Community\VC\vcpkg/scripts/buildsystems/vcpkg.cmake"

-- Running vcpkg install
erreur : Cette instance de vcpkg n├®cessite un manifeste avec une ligne de base sp├®cifi├®e afin d'interagir avec les ports. Veuillez ajouter 'builtin-baseline' au manifeste ou ajouter un fichier 'vcpkg-configuration.json' qui red├®finit le registre par d├®faut.
-- Running vcpkg install - failed
CMake Error at C:/Program Files/Microsoft Visual Studio/2022/Community/VC/vcpkg/scripts/buildsystems/vcpkg.cmake:899 (message):
  vcpkg install failed.  See logs for more information:
  C:\Users\xxx\Code\openvpn-gui\out\build\x64\vcpkg-manifest-install.log
Call Stack (most recent call first):
  C:/Program Files/CMake/share/cmake-3.28/Modules/CMakeDetermineSystem.cmake:170 (include)
  CMakeLists.txt:5 (project)


-- Configuring incomplete, errors occurred!

In english : This instance of vcpgk needs a manifest with baseline in order to interact with ports. Please add 'builtin-baseline' to manifest or add a file vcpkg-configuration.json to redefine default folder.

Is it possible that I did something wrong or something is missing with my settings ?
Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions