Skip to contentSkip to conversation

Compiling openvpn for windows using mingw32

Openvpn-devel Kill AllSnoopers 3 participants 3 messages Mar 14, 2010

lore
Share & tools
lore
#0 lore raw

Hi,

I am trying to compile openvpn for windows using mingw32 and have openssl lzo, etc compiled. I am trying to compile to create the openvpn.exe and then use the GUI.

I haven't figured how to compile the main openvpn to create openvpn.exe

The instructions on openvpn are not that helpful for this part.

Can anyone outline the steps or point to mails in the forum that discuss it. I did a search for them without any useful results.

Thanks,

KS

Kill ALL snoopers

#1 lore raw

You can use [1].

[1] opensc-project.org/build

Quoted 26 lines · Kill AllSnoopers

Hi,

I am trying to compile openvpn for windows using mingw32 and have openssl lzo, etc compiled. I am trying to compile to create the openvpn.exe and then use the GUI.

I haven't figured how to compile the main openvpn to create openvpn.exe The instructions on openvpn are not that helpful for this part.

Can anyone outline the steps or point to mails in the forum that discuss it. I did a search for them without any useful results.

Thanks,
KS

Kill ALL snoopers

------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Openvpn-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/openvpn-devel

#2 lore raw
In reply to Kill AllSnoopers

Hi,

Quoted 1 line · Kill AllSnoopers

I am trying to compile openvpn for windows using mingw32 and have openssl lzo, etc compiled. I am trying to compile to create the openvpn.exe and then use the GUI.

Are you trying to compile natively, or cross-compile?

Quoted 6 lines

I haven't figured how to compile the main openvpn to create openvpn.exe

The instructions on openvpn are not that helpful for this part.

Can anyone outline the steps or point to mails in the forum that discuss it. I did a search for them without any useful results.

To cross-compile, use Alon's "Build" script, http://opensc-project.org/build
on top of a Linux system of your choice. To download the script itself, go to "http://www.opensc-project.org/build/browkser/trunk/build" and then click on "download in other formats: plain text" at the end.

If you want to compile natively on windows, install mingw + msys, and then follow the instructions in "domake-win" in the OpenVPN source tree (it's the script to run, and it has lots of documentation inside how to get the required components).

Building for Windows is not something for the faint of heart, or for unexperienced package builders. Expect build failures, and expect to read other people's scripts and figure out what is failing and what you need to add to your build environment to make it work.

If you ask this list, better include a full description of what you did, on which platform, and what error message resulted - otherwise we're not able to give useful advice.

(Out of personal curiousity: why are you trying to build-your-own? The precompiled packages work perfectly well...)

gert

Signature · 4 lines
USENET is *not* the non-clickable part of WWW!
                                                           //www.muc.de/~gert/
Gert Doering - Munich, Germany                             [email protected]...
fax: +49-89-35655025                        [email protected]...