Open deletexl opened 4 months ago
The reference client implementation is in test/ovpncli/cli.cpp
. You can also look at how the implementation is done in OpenVPN 3 Linux, for a more comprehensive implementation. The «OpenVPN for Android» Android app also has an OpenVPN 3 integration (in addition to OpenVPN 2.x).
What this library is very picky about is the order of the #include
files. The openvpn_io
issues are typically an indication of that. Pay attention that when looking at the core-client.hpp
from the OpenVPN 3 Linux project.
Hello, I am trying to use Qt6 and OpenVPN3 as libraries for some of my experiments, but I have not been able to make any progress for 2-3 days. Can you tell me where I made a mistake?
First of all, I managed to download the project and build it successfully.
Here's my compile output. Compile all good
My project CMakeList.txt
My project main.cpp
This is the error I get when I try to build my project.
I couldn't find an example on exactly how to use this library. There are a few open source projects, but CMakeList files are very complex. Can you help me?