Skip to content

How to include and use openvpn3 library on Windows #361

@Victorusik

Description

@Victorusik

Let's imagine we have a task. Connect to vpn server via .ovpn config file. How to solve It?

  • I've built openvpn3 in C:\core
  • My project located in C:\prjs\MyPrjs
MyPrj /
   ├── CMakeLists.txt
   ├── main.cpp
   ├── config.ovpn

// CMakeLists.txt
cmake_minimum_required(VERSION 3.30)
project(MyPrj)

set(CMAKE_CXX_STANDARD 20)

add_executable(main main.cpp)

// main.cpp
#include // What should I include?


int main() {

}

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