Giter VIP home page Giter VIP logo

Comments (9)

Herz3h avatar Herz3h commented on August 26, 2024

Actually the patches were not installed. This is how i installed mingw-w64 after building it from source (following this link https://community.openvpn.net/openvpn/wiki/PatchingDebs#no1)

I first installed mingw-w64 using apt-get. Then i followed instructions on the link above to build using apt-src, got some deb files which i've installed using :

dpkg -i *.deb

If i didn't install mingw-w64 using apt-get first i would get dependencies issues... "mingw-w64 depends on gcc-mingw-w64 but it is not going to be installed"

So since my patches aren't installed, what am i doing wrong ?

from openvpn-build.

chipitsine avatar chipitsine commented on August 26, 2024

thank you for reporting that.
wiki is good for openvpn-2.3, which recently was replaced by openvpn-2.4

openvpn-2.4 required several Windows Vista capabilities, so, the most simple would be to switch to ubuntu-16.04

we should update wiki :-)

from openvpn-build.

Herz3h avatar Herz3h commented on August 26, 2024

Switching to Ubuntu 16.04 would solve this issue?

What i ended up doing is patch the files directly in /usr/share/mingw-w64/include/

Got it to compile. But does that mean i'll have issues with Vista if i use these generated executables ?

from openvpn-build.

chipitsine avatar chipitsine commented on August 26, 2024

we build (for testing purpose, release builds are not currently on travis) openvpn-build on travis-ci:

https://travis-ci.org/OpenVPN/openvpn-build

actually, there's ubuntu-12.04 + xenial repo, it is ok for travis, as vm is destroyed every time.
I'm not sure whether you should do such a trick in production environment.

travis-ci script might be used as "wiki alternative": https://github.com/OpenVPN/openvpn-build/blob/master/.travis.yml

from openvpn-build.

chipitsine avatar chipitsine commented on August 26, 2024

as long as you stay with stable, it should be ok (actually, "master" branch is also good)

note, there are couple of wrappers

https://github.com/OpenVPN/openvpn-build/blob/master/windows-nsis/build-snapshot
https://github.com/OpenVPN/openvpn-build/blob/master/windows-nsis/build-complete

and pay attention to the branch you actually building
since you've compiled it, it should work, windows test suite is not very capable, but there's something if you want to test your binaries:

https://github.com/OpenVPN/openvpn-windows-test

from openvpn-build.

Herz3h avatar Herz3h commented on August 26, 2024

Also, since my goal is to make a Qt GUI Application that uses openvpn to connect, i didn't see source files using this generic build system, how do i go about this if i want to see the sources to modify them and build again?

from openvpn-build.

chipitsine avatar chipitsine commented on August 26, 2024

if I understand you right, you are talking about using openvpn-build with patched openvpn ?
if so, you can try to play with parameters: https://github.com/OpenVPN/openvpn-build/blob/master/generic/build.vars

from openvpn-build.

mattock avatar mattock commented on August 26, 2024

@Herz3h : there is no need to patch NSIS. We have an apt repository for Ubuntu 14.04 which contains patched NSIS packages. That repo gets enabled automatically when you run the automatic build computer setup script:

from openvpn-build.

Herz3h avatar Herz3h commented on August 26, 2024

@mattock i've had problems with that script, can't remember what was the error. I ran it on ubuntu 14.04. Anyway i tried the build i compiled like i said above and it works. So i guess problem solved i guess. Thanks.

from openvpn-build.

Related Issues (20)

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.