OpenVPN / OpenVPN/openvpn3

Cannot open include file: 'asio.hpp': No such file or directory

Open
#226 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C++
Stars
1.2k
Forks
467
PR merge metrics
No merged PRs in 30d

Description

After running cmake --build build --config Release --target ovpncli I get the error below. Is there another system variable that needs to be defined or something else I need to download?

C:\Users\toyiniku\Documents\core\cmake\..\openvpn/io/io.hpp(28,10): fatal error C1083: Cannot open include file: 'asio.hpp': No such file or directory [C:\Users\toyiniku\Documents\core\build\test\ovpncli\ovpncli.vcxproj]

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the reported CMake build command and inspect openvpn/io/io.hpp, where the missing asio.hpp include is reported. Trace the CMake dependency configuration for the ovpncli target and verify the documented Windows build prerequisites; done means the Release ovpncli target builds without the missing-header error.

Written by the indexing model from the issue text.

Assessment

Tech stack
cmake, cpp
Domain
build-system, networking
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.