Problem while compiling openvpn
Quoted 10 lines · PremKumar Jayaram
Hello Everybody,
I need to compile the opnevpn code on windows 2000. Using Win DDK I was able to compile the driver code, but I am not able to compile the
openvpn.cand other files. I tired to compile using VC++ 6.0 but there where few header files under openvpn's "sys" folder which was not defined in VC++.In build.w32 file header I saw some instructions of compiling the code using MingW compiler. Is the code supposed to be compiled only with MingW or can I do with VC++ compiler also ?
OpenVPN needs the MinGW compiler to build openvpn.exe on Windows. There would probably be some porting work involved to get it to build under VC++. I've heard reports that VC++ doesn't like GNU or ISO C99 vararg-style macros, which OpenVPN depends on heavily.
James
Quoted 4 lines · James Yonan
OpenVPN needs the MinGW compiler to build openvpn.exe on Windows. There would probably be some porting work involved to get it to build under VC++. I've heard reports that VC++ doesn't like GNU or ISO C99 vararg-style macros, which OpenVPN depends on heavily.
For at least some of these macros, replacement functions were available at some point in time. This means it might work, at a performance loss depending on global optimizer options and quality (read: how good VC++ has become after I'd last used 4.0 years ago, which was a rather unpleasant experience).
Signature · 3 lines
Matthias Andree Encrypt your mail: my GnuPG key ID is 0x052E7D95