GithubHelp home page GithubHelp logo

Build Instructions about lpvpn HOT 7 OPEN

gyf304 avatar gyf304 commented on August 23, 2024
Build Instructions

from lpvpn.

Comments (7)

gyf304 avatar gyf304 commented on August 23, 2024

LPVPN uses cmake for building. mkdir build, cd build, cmake .. and cmake --build . should work.
The CI steps also work as an instruction for building.

https://github.com/gyf304/lpvpn/blob/main/.github/workflows/ci.yml

from lpvpn.

seppeon avatar seppeon commented on August 23, 2024

Yeh, I'm able to produce executable. But it crashes on launch. It crashes when loading one of the embedded DLL's.

from lpvpn.

gyf304 avatar gyf304 commented on August 23, 2024

One thing to make sure of is that you are building for the architecture that your PC is using. Loading an x86 Wintun DLL on x86_64 may cause that. Additionally, try building with Debug and see what exactly caused the crash.

from lpvpn.

gyf304 avatar gyf304 commented on August 23, 2024

And just to make sure - running one of the precompiled exes work?

from lpvpn.

omerXfaruq avatar omerXfaruq commented on August 23, 2024

@seppeon met with the issue now, perhaps you might have missed the answers, reminding the issue after a while :D

from lpvpn.

hbirler avatar hbirler commented on August 23, 2024

Hey, I encountered a similar issue. The reason was that CMAKE_GENERATOR_PLATFORM was not set while building with Visual Studio and Ninja (which resulted in the correct DLL resources not being embedded into the binary). I switched to using CMAKE_SIZEOF_VOID_P to determine the arch as in afb1ee7.

from lpvpn.

seppeon avatar seppeon commented on August 23, 2024

Revisited this I've managed to get this thing building. msvc amd64 is what was required for my build.
Although it appears the latest lpvpn doesn't work, there is an issue where data continues to be "received" even after disconnecting.

from lpvpn.

Related Issues (12)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.