PremKumar Jayaram <premkumarjaya...@hotmail.com> said: > 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.c and > 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