Comments (9)
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.
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.
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.
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.
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.
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.
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.
@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.
@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)
- Windows sample configurations files with wrong EOL and blank lines HOT 3
- 2.6.3 Problem With TAP Driver Signature HOT 9
- Can't install on windows 10 x64 using newer installers. HOT 2
- win11系统,编译生成msi安装包时出现错误 HOT 3
- Bug Report: Heavy Performance Limitation with TAP Adapter in OpenVPN on Windows 7 HOT 4
- Use renovate to keep dependencies up-to-date
- Dependency Dashboard self-hosted
- Cannot install on Windows 10: a script required for this install to complete could not be run HOT 19
- Cross Compile with OpenSSL 3 HOT 7
- 为啥我电脑一个线路不能用啊 HOT 2
- OpenVPNMSICA: tap_create_adapter:DinstallDevice Error 536870397 HOT 3
- CMakePresets.json Not Found HOT 1
- Can't update HOT 3
- Installation Error Every Time HOT 6
- Cannot install on Windows 10: a script required for this install to complete could not be run HOT 9
- Having the same issue, also i don't use any antivirus except for Windows Defender
- Easy-RSA: New Windows Start menu item for Easy-RSA Non-Admin mode HOT 1
- Windows Msi x64 2.6.1001 Virustotal HOT 1
- Open
- Updating OpenVPN on Windows fails when the OS language is other than English HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from openvpn-build.