Hello Samuli,

I was out, reducing my backlog.

2012/4/13 Samuli Seppänen <sam...@openvpn.net>
>
> Hi all,
>
> I did a number of MSVC build tests using Visual Studio 2010 Express. I
> tried both Git "master"[1] and Alon's openvpn-build repo[2].
>
> I encountered a number of issues with [1]. First, unlike in [2],
> dependency fetching is not automatic - not sure if that's intentional,

Sure, this is intentional.
The openvpn repository builds openvpn using autotools or vc, there is
no difference between the two, both do  not build dependencies.

> but it is/was a really nice feature. Due to this, "master"[1] did not
> build at all[3] without copying the build dependencies to a directory
> manually, and adding a "msvc-build-env-local.bat" to point the build to
> those:

Master can be built using correct environment... use first the
openvpn-build/msvc to build dependencies only using set DO_ONLY_DEPS=1

> set OPENVPN_DEPROOT=c:\Users\Samuli\openvpn-build\build-deps-alon

This should be sufficient... the default location of the dependencies would be:
c:\Users\Samuli\openvpn-build\image

> This allowed the build to proceed, but then I got tons of errors. Those
> seem to be caused by Visual Studio 2010 peculiarities; see [4] for a
> partial log. The full error log is 1396k in size - If you need it just
> let me know.

I don't quite understand who you tried to build this... manually or
using the openvpn-build/msvc.
If you try to build manually, please send me the exact commands you used.

>
> Samuli
>
> [1]  <git://openvpn.git.sourceforge.net/gitroot/openvpn/openvpn.git>
> [2] <https://github.com/alonbl/openvpn-build.git>
> [3] <http://pastie.org/3780063>
> [4] <http://pastie.org/3780024>

Thanks!
Alon.

Reply via email to